Classes and methods related to user handling in Horizon.
Bases: object
The main user class which Horizon expects.
The id of the Keystone token associated with the current user/tenant.
The name of the current user.
The id of the Keystone tenant for the current user/token.
The name of the Keystone tenant for the current user/token.
The ServiceCatalog data returned by Keystone.
A list of dictionaries containing role names and ids as returned by Keystone.
Boolean value indicating whether or not this user has admin privileges. Internally mapped to horizon.users.User.is_admin().
Placeholder function for parity with django.contrib.auth.models.User.
Evaluates whether this user has admin privileges. Returns True or False.
Checks the current session and returns a User.
If the session contains user data the User will be treated as authenticated and the User will have all its attributes set.
If not, the User will have no attributes set.
If the session contains invalid data, NotAuthorized will be raised.