The keystone.auth.controllers Module

class keystone.auth.controllers.Auth(*args, **kw)

Bases: keystone.common.controller.V3Controller

authenticate(context, auth_info, auth_context)

Authenticate user.

authenticate_for_token(context, authentication, scope=None)

Authenticate user and issue a token.

check_token(context, **kwargs)
revocation_list(context, **kwargs)
revoke_token(context, **kwargs)
validate_token(context, **kwargs)
class keystone.auth.controllers.AuthInfo(context, auth=None)

Bases: object

Encapsulation of “auth” request.

get_method_data(method)

Get the auth method payload.

Returns:auth method payload
get_method_names()

Returns the authentication method names.

Returns:list of auth method names
get_scope()

Get scope information.

Verify and return the scoping information.

Returns:(domain_id, project_id). If scope to a project, (None, project_id) will be returned. If scope to a domain, (domain_id, None) will be returned. If unscope, (None, None) will be returned.
lookup_user(user_info)
set_scope(domain_id=None, project_id=None)

Set scope information.

keystone.auth.controllers.get_auth_method(method_name)
keystone.auth.controllers.load_auth_method(method_name)

Previous topic

<no title>

Next topic

The keystone.auth.core Module

This Page