Oauth authentication plugins.
Warning
This module requires installation of an extra package (oauthlib) not installed by default. Without the extra package an import error will occur. The extra package can be installed using:
$ pip install keystoneauth['oauth1']
keystoneauth1.extras.oauth1.v3.
OAuth1Method
(**kwargs)¶Bases: keystoneauth1.identity.v3.base.AuthMethod
OAuth based authentication method.
Parameters: |
|
---|
get_auth_data
(session, auth, headers, **kwargs)¶Return the authentication section of an auth plugin.
Parameters: |
|
---|---|
Returns: | The identifier of this plugin and a dict of authentication data for the auth type. |
Return type: |
get_cache_id_elements
()¶Get the elements for this auth method that make it unique.
These elements will be used as part of the
keystoneauth1.plugin.BaseIdentityPlugin.get_cache_id()
to
allow caching of the auth plugin.
Plugins should override this if they want to allow caching of their state.
To avoid collision or overrides the keys of the returned dictionary should be prefixed with the plugin identifier. For example the password plugin returns its username value as ‘password_username’.
keystoneauth1.extras.oauth1.v3.
OAuth1
(*args, **kwargs)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.