keystoneauth1.identity.v3.multi_factor module¶
- class keystoneauth1.identity.v3.multi_factor.Any(*args, **kwargs)
Bases:
objectSpecial type indicating an unconstrained type.
Any is assignable to every type.
Any assumed to have all methods and attributes.
All values are assignable to Any.
Note that all the above statements are true from the point of view of static type checkers. At runtime, Any cannot be used with instance checks.
- __annotations_cache__ = {}
- __dict__ = mappingproxy({'__module__': 'typing', '__firstlineno__': 588, '__doc__': 'Special type indicating an unconstrained type.\n\n- Any is assignable to every type.\n- Any assumed to have all methods and attributes.\n- All values are assignable to Any.\n\nNote that all the above statements are true from the point of view of\nstatic type checkers. At runtime, Any cannot be used with instance\nchecks.\n', '__new__': <staticmethod(<function Any.__new__>)>, '__static_attributes__': (), '__dict__': <attribute '__dict__' of 'Any' objects>, '__weakref__': <attribute '__weakref__' of 'Any' objects>, '__annotations_cache__': {}})
- __doc__ = 'Special type indicating an unconstrained type.\n\n- Any is assignable to every type.\n- Any assumed to have all methods and attributes.\n- All values are assignable to Any.\n\nNote that all the above statements are true from the point of view of\nstatic type checkers. At runtime, Any cannot be used with instance\nchecks.\n'
- __firstlineno__ = 588
- __module__ = 'typing'
- static __new__(cls, *args, **kwargs)
- __static_attributes__ = ()
- __weakref__
list of weak references to the object
- class keystoneauth1.identity.v3.multi_factor.MultiFactor(auth_url: str, auth_methods: list[str], *, unscoped: bool = False, trust_id: str | None = None, system_scope: str | None = None, domain_id: str | None = None, domain_name: str | None = None, project_id: str | None = None, project_name: str | None = None, project_domain_id: str | None = None, project_domain_name: str | None = None, reauthenticate: bool = True, include_catalog: bool = True, **kwargs: Any)
Bases:
AuthA plugin for authenticating with multiple auth methods.
- Parameters:
auth_url – Identity service endpoint for authentication.
auth_methods – names of the methods to authenticate with.
trust_id – Trust ID for trust scoping.
system_scope – System information to scope to.
domain_id – Domain ID for domain scoping.
domain_name – Domain name for domain scoping.
project_id – Project ID for project scoping.
project_name – Project name for project scoping.
project_domain_id – Project’s domain ID for project.
project_domain_name – Project’s domain name for project.
reauthenticate – Allow fetching a new token if the current one is going to expire. (optional) default True
Also accepts various keyword args based on which methods are specified.
- __abstractmethods__ = frozenset({})
- __annotations_cache__ = {'MIN_TOKEN_LIFE_SECONDS': 'int', '_discovery_cache': 'dict[str, discover.Discover]', 'auth_ref': 'access.AccessInfo | None', 'auth_url': 'str', 'interactive_unscoped_auth': 'ClassVar[bool]', 'reauthenticate': 'bool'}
- __doc__ = "A plugin for authenticating with multiple auth methods.\n\n:param auth_url: Identity service endpoint for authentication.\n:param auth_methods: names of the methods to authenticate with.\n:param trust_id: Trust ID for trust scoping.\n:param system_scope: System information to scope to.\n:param domain_id: Domain ID for domain scoping.\n:param domain_name: Domain name for domain scoping.\n:param project_id: Project ID for project scoping.\n:param project_name: Project name for project scoping.\n:param project_domain_id: Project's domain ID for project.\n:param project_domain_name: Project's domain name for project.\n:param reauthenticate: Allow fetching a new token if the current one is\n going to expire. (optional) default True\n\nAlso accepts various keyword args based on which methods are specified.\n"
- __firstlineno__ = 23
- __init__(auth_url: str, auth_methods: list[str], *, unscoped: bool = False, trust_id: str | None = None, system_scope: str | None = None, domain_id: str | None = None, domain_name: str | None = None, project_id: str | None = None, project_name: str | None = None, project_domain_id: str | None = None, project_domain_name: str | None = None, reauthenticate: bool = True, include_catalog: bool = True, **kwargs: Any)
- __module__ = 'keystoneauth1.identity.v3.multi_factor'
- __static_attributes__ = ()
- _abc_impl = <_abc._abc_data object>
- _discovery_cache: dict[str, discover.Discover]
- auth_ref: access.AccessInfo | None
- auth_url: str
- reauthenticate: bool