blob: f1e825812352dac5683249ac69de2fb092f5709a [file] [log] [blame]
Ash Wilson8ba82242014-08-28 15:38:55 -04001package openstack
2
3import (
4 "github.com/rackspace/gophercloud"
5 identity3 "github.com/rackspace/gophercloud/openstack/identity/v3"
6)
7
8// Client provides access to service clients for this OpenStack cloud.
Ash Wilson6425a412014-08-29 12:30:35 -04009type Client gophercloud.ProviderClient
Ash Wilson8ba82242014-08-28 15:38:55 -040010
11// NewClient authenticates to an OpenStack cloud with the provided credentials.
12// It first queries the root identity endpoint to determine which versions of the identity service are supported, then chooses
13// the most recent identity service available to proceed.
14func NewClient(authOptions gophercloud.AuthOptions) (*Client, error) {
15 return nil, nil
16}
17
18// IdentityV3 explicitly accesses the v3 identity service.
19func (client *Client) IdentityV3() (*identity3.Client, error) {
20 return nil, nil
21}