keystoneauth1.fixture.v3 module

class keystoneauth1.fixture.v3.Token(expires: datetime | str | None = None, issued: datetime | str | None = None, user_id: str | None = None, user_name: str | None = None, user_domain_id: str | None = None, user_domain_name: str | None = None, methods: list[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, domain_id: str | None = None, domain_name: str | None = None, trust_id: str | None = None, trust_impersonation: bool | None = None, trustee_user_id: str | None = None, trustor_user_id: str | None = None, application_credential_id: str | None = None, application_credential_access_rules: list[dict[str, Any]] | None = None, oauth_access_token_id: str | None = None, oauth_consumer_id: str | None = None, audit_id: str | None = None, audit_chain_id: str | None = None, is_admin_project: bool | None = None, project_is_domain: bool | None = None, oauth2_thumbprint: str | None = None)

Bases: dict[str, Any]

A V3 Keystone token that can be used for testing.

This object is designed to allow clients to generate a correct V3 token for use in there test code. It should prevent clients from having to know the correct token format and allow them to test the portions of token handling that matter to them and not copy and paste sample.

__annotations__ = {}
__dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__doc__': 'A V3 Keystone token that can be used for testing.\n\n    This object is designed to allow clients to generate a correct V3 token for\n    use in there test code. It should prevent clients from having to know the\n    correct token format and allow them to test the portions of token handling\n    that matter to them and not copy and paste sample.\n    ', '__init__': <function Token.__init__>, 'root': <property object>, 'expires_str': <property object>, 'expires': <property object>, 'issued_str': <property object>, 'issued': <property object>, '_user': <property object>, 'user_id': <property object>, 'user_name': <property object>, '_user_domain': <property object>, 'user_domain_id': <property object>, 'user_domain_name': <property object>, 'methods': <property object>, 'project_id': <property object>, 'project_is_domain': <property object>, 'project_name': <property object>, 'project_domain_id': <property object>, 'project_domain_name': <property object>, 'domain_id': <property object>, 'domain_name': <property object>, 'system': <property object>, 'trust_id': <property object>, 'trust_impersonation': <property object>, 'trustee_user_id': <property object>, 'trustor_user_id': <property object>, 'application_credential_id': <property object>, 'application_credential_access_rules': <property object>, 'oauth_access_token_id': <property object>, 'oauth_consumer_id': <property object>, 'audit_id': <property object>, 'audit_chain_id': <property object>, 'role_ids': <property object>, 'role_names': <property object>, 'is_admin_project': <property object>, 'oauth2_thumbprint': <property object>, 'oauth2_credential': <property object>, 'validate': <function Token.validate>, 'add_role': <function Token.add_role>, 'add_service': <function Token.add_service>, 'remove_service': <function Token.remove_service>, 'set_project_scope': <function Token.set_project_scope>, 'set_domain_scope': <function Token.set_domain_scope>, 'set_system_scope': <function Token.set_system_scope>, 'set_trust_scope': <function Token.set_trust_scope>, 'set_oauth': <function Token.set_oauth>, 'set_application_credential': <function Token.set_application_credential>, 'service_providers': <property object>, 'add_service_provider': <function Token.add_service_provider>, 'set_bind': <function Token.set_bind>, '__orig_bases__': (dict[str, typing.Any],), '__dict__': <attribute '__dict__' of 'Token' objects>, '__weakref__': <attribute '__weakref__' of 'Token' objects>, '__annotations__': {}})
__doc__ = 'A V3 Keystone token that can be used for testing.\n\n    This object is designed to allow clients to generate a correct V3 token for\n    use in there test code. It should prevent clients from having to know the\n    correct token format and allow them to test the portions of token handling\n    that matter to them and not copy and paste sample.\n    '
__init__(expires: datetime | str | None = None, issued: datetime | str | None = None, user_id: str | None = None, user_name: str | None = None, user_domain_id: str | None = None, user_domain_name: str | None = None, methods: list[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, domain_id: str | None = None, domain_name: str | None = None, trust_id: str | None = None, trust_impersonation: bool | None = None, trustee_user_id: str | None = None, trustor_user_id: str | None = None, application_credential_id: str | None = None, application_credential_access_rules: list[dict[str, Any]] | None = None, oauth_access_token_id: str | None = None, oauth_consumer_id: str | None = None, audit_id: str | None = None, audit_chain_id: str | None = None, is_admin_project: bool | None = None, project_is_domain: bool | None = None, oauth2_thumbprint: str | None = None) None
__module__ = 'keystoneauth1.fixture.v3'
__orig_bases__ = (dict[str, typing.Any],)
__weakref__

list of weak references to the object

property _user: dict[str, Any]
property _user_domain: dict[str, Any]
add_role(name: str | None = None, id: str | None = None) dict[str, str]
add_service(type: str, name: str | None = None, id: str | None = None) _Service
add_service_provider(sp_id: str, sp_auth_url: str, sp_url: str) dict[str, str]
property application_credential_access_rules: list[dict[str, Any]] | None
property application_credential_id: str | None
property audit_chain_id: str | None
property audit_id: str | None
property domain_id: str | None
property domain_name: str | None
property expires: datetime
property expires_str: str | None
property is_admin_project: bool | None
property issued: datetime
property issued_str: str | None
property methods: list[str]
property oauth2_credential: dict[str, Any] | None
property oauth2_thumbprint: str | None
property oauth_access_token_id: str | None
property oauth_consumer_id: str | None
property project_domain_id: str | None
property project_domain_name: str | None
property project_id: str | None
property project_is_domain: bool | None
property project_name: str | None
remove_service(type: str) None
property role_ids: list[str]
property role_names: list[str]
property root: dict[str, Any]
property service_providers: list[dict[str, str]] | None
set_application_credential(application_credential_id: str, access_rules: list[dict[str, Any]] | None = None) None
set_bind(name: str, data: Any) None
set_domain_scope(id: str | None = None, name: str | None = None) None
set_oauth(access_token_id: str | None = None, consumer_id: str | None = None) None
set_project_scope(id: str | None = None, name: str | None = None, domain_id: str | None = None, domain_name: str | None = None, is_domain: bool | None = None) None
set_system_scope() None
set_trust_scope(id: str | None = None, impersonation: bool = False, trustee_user_id: str | None = None, trustor_user_id: str | None = None) None
property system: dict[str, Any]
property trust_id: str | None
property trust_impersonation: bool | None
property trustee_user_id: str | None
property trustor_user_id: str | None
property user_domain_id: str | None
property user_domain_name: str | None
property user_id: str | None
property user_name: str | None
validate() None
class keystoneauth1.fixture.v3.V3ApplicationCredential

Bases: TypedDict

__annotations__ = {'access_rules': list[dict[str, typing.Any]], 'id': <class 'str'>}
__dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__annotations__': {'id': <class 'str'>, 'access_rules': list[dict[str, typing.Any]]}, '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3ApplicationCredential' objects>, '__weakref__': <attribute '__weakref__' of 'V3ApplicationCredential' objects>, '__doc__': None, '__required_keys__': frozenset(), '__optional_keys__': frozenset({'id', 'access_rules'}), '__total__': False})
__doc__ = None
__module__ = 'keystoneauth1.fixture.v3'
__optional_keys__ = frozenset({'access_rules', 'id'})
__orig_bases__ = (<function TypedDict>,)
__required_keys__ = frozenset({})
__total__ = False
__weakref__

list of weak references to the object

access_rules: list[dict[str, Any]]
id: str
class keystoneauth1.fixture.v3.V3Domain

Bases: TypedDict

__annotations__ = {'id': <class 'str'>, 'name': <class 'str'>}
__dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__annotations__': {'id': <class 'str'>, 'name': <class 'str'>}, '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3Domain' objects>, '__weakref__': <attribute '__weakref__' of 'V3Domain' objects>, '__doc__': None, '__required_keys__': frozenset(), '__optional_keys__': frozenset({'id', 'name'}), '__total__': False})
__doc__ = None
__module__ = 'keystoneauth1.fixture.v3'
__optional_keys__ = frozenset({'id', 'name'})
__orig_bases__ = (<function TypedDict>,)
__required_keys__ = frozenset({})
__total__ = False
__weakref__

list of weak references to the object

id: str
name: str
class keystoneauth1.fixture.v3.V3Endpoint

Bases: TypedDict

__annotations__ = {'id': <class 'str'>, 'interface': <class 'str'>, 'region': str | None, 'region_id': str | None, 'url': <class 'str'>}
__dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__annotations__': {'id': <class 'str'>, 'interface': <class 'str'>, 'url': <class 'str'>, 'region': str | None, 'region_id': str | None}, '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3Endpoint' objects>, '__weakref__': <attribute '__weakref__' of 'V3Endpoint' objects>, '__doc__': None, '__required_keys__': frozenset({'interface', 'region_id', 'id', 'url', 'region'}), '__optional_keys__': frozenset(), '__total__': True})
__doc__ = None
__module__ = 'keystoneauth1.fixture.v3'
__optional_keys__ = frozenset({})
__orig_bases__ = (<function TypedDict>,)
__required_keys__ = frozenset({'id', 'interface', 'region', 'region_id', 'url'})
__total__ = True
__weakref__

list of weak references to the object

id: str
interface: str
region: str | None
region_id: str | None
url: str
class keystoneauth1.fixture.v3.V3FederationToken(methods: list[str] | None = None, identity_provider: str | None = None, protocol: str | None = None, groups: list[str] | None = None)

Bases: Token

A V3 Keystone Federation token that can be used for testing.

Similar to V3Token, this object is designed to allow clients to generate a correct V3 federation token for use in test code.

FEDERATED_DOMAIN_ID = 'Federated'
__annotations__ = {}
__doc__ = 'A V3 Keystone Federation token that can be used for testing.\n\n    Similar to V3Token, this object is designed to allow clients to generate\n    a correct V3 federation token for use in test code.\n    '
__init__(methods: list[str] | None = None, identity_provider: str | None = None, protocol: str | None = None, groups: list[str] | None = None) None
__module__ = 'keystoneauth1.fixture.v3'
add_federation_info_to_user(identity_provider: str | None = None, protocol: str | None = None, groups: list[str] | None = None) None
class keystoneauth1.fixture.v3.V3OAuth

Bases: TypedDict

__annotations__ = {'access_token_id': <class 'str'>, 'consumer_id': <class 'str'>}
__dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__annotations__': {'access_token_id': <class 'str'>, 'consumer_id': <class 'str'>}, '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3OAuth' objects>, '__weakref__': <attribute '__weakref__' of 'V3OAuth' objects>, '__doc__': None, '__required_keys__': frozenset(), '__optional_keys__': frozenset({'consumer_id', 'access_token_id'}), '__total__': False})
__doc__ = None
__module__ = 'keystoneauth1.fixture.v3'
__optional_keys__ = frozenset({'access_token_id', 'consumer_id'})
__orig_bases__ = (<function TypedDict>,)
__required_keys__ = frozenset({})
__total__ = False
__weakref__

list of weak references to the object

access_token_id: str
consumer_id: str
class keystoneauth1.fixture.v3.V3Project

Bases: TypedDict

__annotations__ = {'domain': <class 'keystoneauth1.fixture.v3.V3Domain'>, 'id': <class 'str'>, 'is_domain': <class 'bool'>, 'name': <class 'str'>}
__dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__annotations__': {'id': <class 'str'>, 'name': <class 'str'>, 'domain': <class 'keystoneauth1.fixture.v3.V3Domain'>, 'is_domain': <class 'bool'>}, '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3Project' objects>, '__weakref__': <attribute '__weakref__' of 'V3Project' objects>, '__doc__': None, '__required_keys__': frozenset(), '__optional_keys__': frozenset({'id', 'domain', 'is_domain', 'name'}), '__total__': False})
__doc__ = None
__module__ = 'keystoneauth1.fixture.v3'
__optional_keys__ = frozenset({'domain', 'id', 'is_domain', 'name'})
__orig_bases__ = (<function TypedDict>,)
__required_keys__ = frozenset({})
__total__ = False
__weakref__

list of weak references to the object

domain: V3Domain
id: str
is_domain: bool
name: str
class keystoneauth1.fixture.v3.V3Role

Bases: TypedDict

__annotations__ = {'id': <class 'str'>, 'name': <class 'str'>}
__dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__annotations__': {'id': <class 'str'>, 'name': <class 'str'>}, '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3Role' objects>, '__weakref__': <attribute '__weakref__' of 'V3Role' objects>, '__doc__': None, '__required_keys__': frozenset({'id', 'name'}), '__optional_keys__': frozenset(), '__total__': True})
__doc__ = None
__module__ = 'keystoneauth1.fixture.v3'
__optional_keys__ = frozenset({})
__orig_bases__ = (<function TypedDict>,)
__required_keys__ = frozenset({'id', 'name'})
__total__ = True
__weakref__

list of weak references to the object

id: str
name: str
class keystoneauth1.fixture.v3.V3Service

Bases: TypedDict

__annotations__ = {'endpoints': typing.NotRequired[list[keystoneauth1.fixture.v3.V3Endpoint]], 'id': <class 'str'>, 'name': typing.NotRequired[str], 'type': <class 'str'>}
__dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__annotations__': {'id': <class 'str'>, 'type': <class 'str'>, 'name': typing.NotRequired[str], 'endpoints': typing.NotRequired[list[keystoneauth1.fixture.v3.V3Endpoint]]}, '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3Service' objects>, '__weakref__': <attribute '__weakref__' of 'V3Service' objects>, '__doc__': None, '__required_keys__': frozenset({'id', 'type'}), '__optional_keys__': frozenset({'endpoints', 'name'}), '__total__': True})
__doc__ = None
__module__ = 'keystoneauth1.fixture.v3'
__optional_keys__ = frozenset({'endpoints', 'name'})
__orig_bases__ = (<function TypedDict>,)
__required_keys__ = frozenset({'id', 'type'})
__total__ = True
__weakref__

list of weak references to the object

endpoints: NotRequired[list[V3Endpoint]]
id: str
name: NotRequired[str]
type: str
class keystoneauth1.fixture.v3.V3ServiceProvider

Bases: TypedDict

__annotations__ = {'auth_url': <class 'str'>, 'id': <class 'str'>, 'sp_url': <class 'str'>}
__dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__annotations__': {'id': <class 'str'>, 'auth_url': <class 'str'>, 'sp_url': <class 'str'>}, '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3ServiceProvider' objects>, '__weakref__': <attribute '__weakref__' of 'V3ServiceProvider' objects>, '__doc__': None, '__required_keys__': frozenset({'id', 'sp_url', 'auth_url'}), '__optional_keys__': frozenset(), '__total__': True})
__doc__ = None
__module__ = 'keystoneauth1.fixture.v3'
__optional_keys__ = frozenset({})
__orig_bases__ = (<function TypedDict>,)
__required_keys__ = frozenset({'auth_url', 'id', 'sp_url'})
__total__ = True
__weakref__

list of weak references to the object

auth_url: str
id: str
sp_url: str
class keystoneauth1.fixture.v3.V3System

Bases: TypedDict

__annotations__ = {'all': <class 'bool'>}
__dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__annotations__': {'all': <class 'bool'>}, '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3System' objects>, '__weakref__': <attribute '__weakref__' of 'V3System' objects>, '__doc__': None, '__required_keys__': frozenset({'all'}), '__optional_keys__': frozenset(), '__total__': True})
__doc__ = None
__module__ = 'keystoneauth1.fixture.v3'
__optional_keys__ = frozenset({})
__orig_bases__ = (<function TypedDict>,)
__required_keys__ = frozenset({'all'})
__total__ = True
__weakref__

list of weak references to the object

all: bool
class keystoneauth1.fixture.v3.V3TokenData

Bases: TypedDict

__annotations__ = {'application_credential': dict[str, typing.Any], 'audit_ids': list[str], 'bind': dict[str, typing.Any], 'catalog': list[keystoneauth1.fixture.v3.V3Service], 'domain': <class 'keystoneauth1.fixture.v3.V3Domain'>, 'expires_at': <class 'str'>, 'is_admin_project': <class 'bool'>, 'is_domain': <class 'bool'>, 'issued_at': <class 'str'>, 'methods': list[str], 'oauth2_credential': dict[str, typing.Any], 'oauth2_thumbprint': <class 'str'>, 'project': <class 'keystoneauth1.fixture.v3.V3Project'>, 'roles': list[keystoneauth1.fixture.v3.V3Role], 'service_providers': list[keystoneauth1.fixture.v3.V3ServiceProvider], 'system': <class 'keystoneauth1.fixture.v3.V3System'>, 'user': <class 'keystoneauth1.fixture.v3.V3User'>}
__dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__annotations__': {'expires_at': <class 'str'>, 'issued_at': <class 'str'>, 'methods': list[str], 'user': <class 'keystoneauth1.fixture.v3.V3User'>, 'project': <class 'keystoneauth1.fixture.v3.V3Project'>, 'domain': <class 'keystoneauth1.fixture.v3.V3Domain'>, 'system': <class 'keystoneauth1.fixture.v3.V3System'>, 'roles': list[keystoneauth1.fixture.v3.V3Role], 'catalog': list[keystoneauth1.fixture.v3.V3Service], 'bind': dict[str, typing.Any], 'audit_ids': list[str], 'service_providers': list[keystoneauth1.fixture.v3.V3ServiceProvider], 'is_admin_project': <class 'bool'>, 'is_domain': <class 'bool'>, 'oauth2_thumbprint': <class 'str'>, 'oauth2_credential': dict[str, typing.Any], 'application_credential': dict[str, typing.Any]}, '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3TokenData' objects>, '__weakref__': <attribute '__weakref__' of 'V3TokenData' objects>, '__doc__': None, '__required_keys__': frozenset(), '__optional_keys__': frozenset({'project', 'is_admin_project', 'catalog', 'expires_at', 'domain', 'system', 'oauth2_credential', 'audit_ids', 'roles', 'methods', 'issued_at', 'oauth2_thumbprint', 'user', 'bind', 'service_providers', 'is_domain', 'application_credential'}), '__total__': False})
__doc__ = None
__module__ = 'keystoneauth1.fixture.v3'
__optional_keys__ = frozenset({'application_credential', 'audit_ids', 'bind', 'catalog', 'domain', 'expires_at', 'is_admin_project', 'is_domain', 'issued_at', 'methods', 'oauth2_credential', 'oauth2_thumbprint', 'project', 'roles', 'service_providers', 'system', 'user'})
__orig_bases__ = (<function TypedDict>,)
__required_keys__ = frozenset({})
__total__ = False
__weakref__

list of weak references to the object

application_credential: dict[str, Any]
audit_ids: list[str]
bind: dict[str, Any]
catalog: list[V3Service]
domain: V3Domain
expires_at: str
is_admin_project: bool
is_domain: bool
issued_at: str
methods: list[str]
oauth2_credential: dict[str, Any]
oauth2_thumbprint: str
project: V3Project
roles: list[V3Role]
service_providers: list[V3ServiceProvider]
system: V3System
user: V3User
class keystoneauth1.fixture.v3.V3TokenDataWithNamespaces

Bases: V3TokenData

__annotations__ = {'application_credential': dict[str, typing.Any], 'audit_ids': list[str], 'bind': dict[str, typing.Any], 'catalog': list[keystoneauth1.fixture.v3.V3Service], 'domain': <class 'keystoneauth1.fixture.v3.V3Domain'>, 'expires_at': <class 'str'>, 'is_admin_project': <class 'bool'>, 'is_domain': <class 'bool'>, 'issued_at': <class 'str'>, 'methods': list[str], 'oauth2_credential': dict[str, typing.Any], 'oauth2_thumbprint': <class 'str'>, 'project': <class 'keystoneauth1.fixture.v3.V3Project'>, 'roles': list[keystoneauth1.fixture.v3.V3Role], 'service_providers': list[keystoneauth1.fixture.v3.V3ServiceProvider], 'system': <class 'keystoneauth1.fixture.v3.V3System'>, 'user': <class 'keystoneauth1.fixture.v3.V3User'>}
__dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__dict__': <attribute '__dict__' of 'V3TokenDataWithNamespaces' objects>, '__weakref__': <attribute '__weakref__' of 'V3TokenDataWithNamespaces' objects>, '__doc__': None, '__orig_bases__': (<class 'keystoneauth1.fixture.v3.V3TokenData'>,), '__annotations__': {'expires_at': <class 'str'>, 'issued_at': <class 'str'>, 'methods': list[str], 'user': <class 'keystoneauth1.fixture.v3.V3User'>, 'project': <class 'keystoneauth1.fixture.v3.V3Project'>, 'domain': <class 'keystoneauth1.fixture.v3.V3Domain'>, 'system': <class 'keystoneauth1.fixture.v3.V3System'>, 'roles': list[keystoneauth1.fixture.v3.V3Role], 'catalog': list[keystoneauth1.fixture.v3.V3Service], 'bind': dict[str, typing.Any], 'audit_ids': list[str], 'service_providers': list[keystoneauth1.fixture.v3.V3ServiceProvider], 'is_admin_project': <class 'bool'>, 'is_domain': <class 'bool'>, 'oauth2_thumbprint': <class 'str'>, 'oauth2_credential': dict[str, typing.Any], 'application_credential': dict[str, typing.Any]}, '__required_keys__': frozenset(), '__optional_keys__': frozenset({'project', 'is_admin_project', 'catalog', 'expires_at', 'domain', 'system', 'oauth2_credential', 'audit_ids', 'roles', 'methods', 'issued_at', 'oauth2_thumbprint', 'user', 'bind', 'service_providers', 'is_domain', 'application_credential'}), '__total__': False})
__doc__ = None
__module__ = 'keystoneauth1.fixture.v3'
__optional_keys__ = frozenset({'application_credential', 'audit_ids', 'bind', 'catalog', 'domain', 'expires_at', 'is_admin_project', 'is_domain', 'issued_at', 'methods', 'oauth2_credential', 'oauth2_thumbprint', 'project', 'roles', 'service_providers', 'system', 'user'})
__orig_bases__ = (<class 'keystoneauth1.fixture.v3.V3TokenData'>,)
__required_keys__ = frozenset({})
__total__ = False
__weakref__

list of weak references to the object

application_credential: dict[str, Any]
audit_ids: list[str]
bind: dict[str, Any]
catalog: list[V3Service]
domain: V3Domain
expires_at: str
is_admin_project: bool
is_domain: bool
issued_at: str
methods: list[str]
oauth2_credential: dict[str, Any]
oauth2_thumbprint: str
project: V3Project
roles: list[V3Role]
service_providers: list[V3ServiceProvider]
system: V3System
user: V3User
class keystoneauth1.fixture.v3.V3TokenRoot

Bases: TypedDict

__annotations__ = {'token': <class 'keystoneauth1.fixture.v3.V3TokenData'>}
__dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__annotations__': {'token': <class 'keystoneauth1.fixture.v3.V3TokenData'>}, '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3TokenRoot' objects>, '__weakref__': <attribute '__weakref__' of 'V3TokenRoot' objects>, '__doc__': None, '__required_keys__': frozenset({'token'}), '__optional_keys__': frozenset(), '__total__': True})
__doc__ = None
__module__ = 'keystoneauth1.fixture.v3'
__optional_keys__ = frozenset({})
__orig_bases__ = (<function TypedDict>,)
__required_keys__ = frozenset({'token'})
__total__ = True
__weakref__

list of weak references to the object

token: V3TokenData
class keystoneauth1.fixture.v3.V3Trust

Bases: TypedDict

__annotations__ = {'id': <class 'str'>, 'impersonation': <class 'bool'>, 'trustee_user_id': <class 'str'>, 'trustor_user_id': <class 'str'>}
__dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__annotations__': {'id': <class 'str'>, 'impersonation': <class 'bool'>, 'trustee_user_id': <class 'str'>, 'trustor_user_id': <class 'str'>}, '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3Trust' objects>, '__weakref__': <attribute '__weakref__' of 'V3Trust' objects>, '__doc__': None, '__required_keys__': frozenset(), '__optional_keys__': frozenset({'impersonation', 'id', 'trustor_user_id', 'trustee_user_id'}), '__total__': False})
__doc__ = None
__module__ = 'keystoneauth1.fixture.v3'
__optional_keys__ = frozenset({'id', 'impersonation', 'trustee_user_id', 'trustor_user_id'})
__orig_bases__ = (<function TypedDict>,)
__required_keys__ = frozenset({})
__total__ = False
__weakref__

list of weak references to the object

id: str
impersonation: bool
trustee_user_id: str
trustor_user_id: str
class keystoneauth1.fixture.v3.V3User

Bases: TypedDict

__annotations__ = {'domain': <class 'keystoneauth1.fixture.v3.V3Domain'>, 'id': <class 'str'>, 'name': <class 'str'>}
__dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__annotations__': {'id': <class 'str'>, 'name': <class 'str'>, 'domain': <class 'keystoneauth1.fixture.v3.V3Domain'>}, '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3User' objects>, '__weakref__': <attribute '__weakref__' of 'V3User' objects>, '__doc__': None, '__required_keys__': frozenset({'id', 'domain', 'name'}), '__optional_keys__': frozenset(), '__total__': True})
__doc__ = None
__module__ = 'keystoneauth1.fixture.v3'
__optional_keys__ = frozenset({})
__orig_bases__ = (<function TypedDict>,)
__required_keys__ = frozenset({'domain', 'id', 'name'})
__total__ = True
__weakref__

list of weak references to the object

domain: V3Domain
id: str
name: str
class keystoneauth1.fixture.v3._Service

Bases: dict[str, Any]

One of the services that exist in the catalog.

You use this by adding a service to a token which returns an instance of this object and then you can add_endpoints to the service.

__dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__doc__': 'One of the services that exist in the catalog.\n\n    You use this by adding a service to a token which returns an instance of\n    this object and then you can add_endpoints to the service.\n    ', 'add_endpoint': <function _Service.add_endpoint>, 'add_standard_endpoints': <function _Service.add_standard_endpoints>, '__orig_bases__': (dict[str, typing.Any],), '__dict__': <attribute '__dict__' of '_Service' objects>, '__weakref__': <attribute '__weakref__' of '_Service' objects>, '__annotations__': {}})
__doc__ = 'One of the services that exist in the catalog.\n\n    You use this by adding a service to a token which returns an instance of\n    this object and then you can add_endpoints to the service.\n    '
__module__ = 'keystoneauth1.fixture.v3'
__orig_bases__ = (dict[str, typing.Any],)
__weakref__

list of weak references to the object

add_endpoint(interface: str, url: str, region: str | None = None, id: str | None = None) V3Endpoint
add_standard_endpoints(public: str | None = None, admin: str | None = None, internal: str | None = None, region: str | None = None) list[V3Endpoint]