Bases: keystoneauth1.identity.generic.base.BaseGenericPlugin
A common user/password authentication plugin.
username (string) – Username for authentication.
user_id (string) – User ID for authentication.
password (string) – Password for authentication.
user_domain_id (string) – User’s domain ID for authentication.
user_domain_name (string) – User’s domain name for authentication.
Create a plugin from the given parameters.
This function will be called multiple times with the version and url of a potential endpoint. If a plugin can be constructed that fits the params then it should return it. If not return None and then another call will be made with other available URLs.
session (keystoneauth1.session.Session) – A session object.
version (tuple) – A tuple of the API version at the URL.
url (str) – The base URL for this version.
raw_status (str) – The status that was in the discovery field.
A plugin that can match the parameters or None if nothing.
Get the elements for this auth plugin that make it unique.
As part of the get_cache_id requirement we need to determine what aspects of this plugin and its values that make up the unique elements.
This should be overridden by plugins that wish to allow caching.
The unique attributes and values of this plugin.
A flat dict with a str key and str or None value. This is required as we feed these values into a hash. Pairs where the value is None are ignored in the hashed id.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.