troveclient.compat.auth
Module¶troveclient.compat.auth.
Auth1_1
(client, type, url, username, password, tenant, region=None, service_type=None, service_name=None, service_url=None)¶Bases: troveclient.compat.auth.Authenticator
authenticate
()¶Authenticate against a v2.0 auth service.
troveclient.compat.auth.
Authenticator
(client, type, url, username, password, tenant, region=None, service_type=None, service_name=None, service_url=None)¶Bases: object
Helper class to perform Keystone or other miscellaneous authentication.
The “authenticate” method returns a ServiceCatalog, which can be used to obtain a token.
URL_REQUIRED
= True¶authenticate
()¶troveclient.compat.auth.
FakeAuth
(client, type, url, username, password, tenant, region=None, service_type=None, service_name=None, service_url=None)¶Bases: troveclient.compat.auth.Authenticator
Useful for faking auth.
authenticate
()¶troveclient.compat.auth.
KeyStoneV2Authenticator
(client, type, url, username, password, tenant, region=None, service_type=None, service_name=None, service_url=None)¶Bases: troveclient.compat.auth.Authenticator
authenticate
()¶troveclient.compat.auth.
KeyStoneV3Authenticator
(client, type, url, username, password, tenant, region=None, service_type=None, service_name=None, service_url=None)¶Bases: troveclient.compat.auth.Authenticator
authenticate
()¶troveclient.compat.auth.
ServiceCatalog
(resource_dict, region=None, service_type=None, service_name=None, service_url=None, root_key='access')¶Bases: object
Represents a Keystone Service Catalog which describes a service.
This class has methods to obtain a valid token as well as a public service url and a management url.
get_management_url
()¶get_public_url
()¶get_token
()¶troveclient.compat.auth.
ServiceCatalog3
(resource_dict, region=None, service_type=None, service_name=None, service_url=None, token=None)¶Bases: object
Represents a Keystone Service Catalog which describes a service.
This class has methods to obtain a valid token as well as a public service url and a management url.
get_management_url
()¶get_public_url
()¶get_token
()¶troveclient.compat.auth.
get_authenticator_cls
(cls_or_name)¶Factory method to retrieve Authenticator class.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.