tacker.common.ext_oauth2_auth module

Auth for External Server OAuth2.0 authentication

class tacker.common.ext_oauth2_auth.ExtOAuth2Auth

Bases: object

Construct an Auth to fetch an access token for HTTP access.

create_session(**kwargs)

Create session for HTTP access.

get_connection_params(session, **kwargs)

Get connection params for HTTP access.

get_headers(session, **kwargs)

Get an access token and add to request header for HTTP access.

invalidate()

Invalidate the current authentication data.

tacker.common.ext_oauth2_auth.config_opts()