keystoneauth1.extras.oauth1 package

Submodules

keystoneauth1.extras.oauth1.v3 module

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']
class keystoneauth1.extras.oauth1.v3.OAuth1Method(**kwargs)

Bases: keystoneauth1.identity.v3.base.AuthMethod

OAuth based authentication method.

Parameters:
  • consumer_key (string) – Consumer key.
  • consumer_secret (string) – Consumer secret.
  • access_key (string) – Access token key.
  • access_secret (string) – Access token secret.
get_auth_data(session, auth, headers, **kwargs)
get_cache_id_elements()
class keystoneauth1.extras.oauth1.v3.OAuth1(*args, **kwargs)

Bases: keystoneauth1.identity.v3.base.AuthConstructor

Module contents

keystoneauth1.extras.oauth1.V3OAuth1Method

alias of OAuth1Method