The keystone.auth.token_factory Module

Token Factory

class keystone.auth.token_factory.TokenDataHelper(context)

Bases: object

Token data helper.

get_token_data(user_id, method_names, extras, domain_id=None, project_id=None, expires=None, trust=None, token=None)
keystone.auth.token_factory.create_token(context, auth_context, auth_info)
keystone.auth.token_factory.recreate_token_data(context, token_data=None, expires=None, user_ref=None, project_ref=None)

Recreate token from an existing token.

Repopulate the ephemeral data and return the new token data.

keystone.auth.token_factory.render_token_data_response(token_id, token_data, created=False)

Render token data HTTP response.

Stash token ID into the X-Auth-Token header.

Previous topic

The keystone.auth.routers Module

Next topic

The keystone.catalog.backends.kvs Module

This Page