# 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.

  __annotate_func__ = None
  __annotations_cache__ = {}
  __dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__firstlineno__': 163, '__doc__': 'A V3 Keystone token that can be used for testing.\n\nThis object is designed to allow clients to generate a correct V3 token for\nuse in there test code. It should prevent clients from having to know the\ncorrect token format and allow them to test the portions of token handling\nthat 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>, '__static_attributes__': ('application_credential_access_rules', 'application_credential_id', 'audit_chain_id', 'audit_id', 'domain_id', 'domain_name', 'expires', 'expires_str', 'is_admin_project', 'issued', 'issued_str', 'oauth2_thumbprint', 'oauth_access_token_id', 'oauth_consumer_id', 'project_domain_id', 'project_domain_name', 'project_id', 'project_is_domain', 'project_name', 'system', 'trust_id', 'trust_impersonation', 'trustee_user_id', 'trustor_user_id', 'user_domain_id', 'user_domain_name', 'user_id', 'user_name'), '__orig_bases__': (dict[str, typing.Any],), '__dict__': <attribute '__dict__' of 'Token' objects>, '__weakref__': <attribute '__weakref__' of 'Token' objects>, '__annotate_func__': None, '__annotations_cache__': {}})
  __doc__ = 'A V3 Keystone token that can be used for testing.\n\nThis object is designed to allow clients to generate a correct V3 token for\nuse in there test code. It should prevent clients from having to know the\ncorrect token format and allow them to test the portions of token handling\nthat matter to them and not copy and paste sample.\n'
  __firstlineno__ = 163
  __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],)
  __static_attributes__ = ('application_credential_access_rules', 'application_credential_id', 'audit_chain_id', 'audit_id', 'domain_id', 'domain_name', 'expires', 'expires_str', 'is_admin_project', 'issued', 'issued_str', 'oauth2_thumbprint', 'oauth_access_token_id', 'oauth_consumer_id', 'project_domain_id', 'project_domain_name', 'project_id', 'project_is_domain', 'project_name', 'system', 'trust_id', 'trust_impersonation', 'trustee_user_id', 'trustor_user_id', 'user_domain_id', 'user_domain_name', 'user_id', 'user_name')
  __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_cache__ = {'access_rules': list[dict[str, typing.Any]], 'id': <class 'str'>}
  __dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__firstlineno__': 72, '__static_attributes__': (), '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3ApplicationCredential' objects>, '__weakref__': <attribute '__weakref__' of 'V3ApplicationCredential' objects>, '__doc__': None, '__required_keys__': frozenset(), '__optional_keys__': frozenset({'access_rules', 'id'}), '__readonly_keys__': frozenset(), '__mutable_keys__': frozenset({'access_rules', 'id'}), '__total__': False, '__annotations_cache__': {'id': <class 'str'>, 'access_rules': list[dict[str, typing.Any]]}})
  __doc__ = None
  __firstlineno__ = 72
  __module__ = 'keystoneauth1.fixture.v3'
  __mutable_keys__ = frozenset({'access_rules', 'id'})
  __optional_keys__ = frozenset({'access_rules', 'id'})
  __orig_bases__ = (<function TypedDict>,)
  __readonly_keys__ = frozenset({})
  __required_keys__ = frozenset({})
  __static_attributes__ = ()
  __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_cache__ = {'id': <class 'str'>, 'name': <class 'str'>}
  __dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__firstlineno__': 23, '__static_attributes__': (), '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3Domain' objects>, '__weakref__': <attribute '__weakref__' of 'V3Domain' objects>, '__doc__': None, '__required_keys__': frozenset(), '__optional_keys__': frozenset({'name', 'id'}), '__readonly_keys__': frozenset(), '__mutable_keys__': frozenset({'name', 'id'}), '__total__': False, '__annotations_cache__': {'id': <class 'str'>, 'name': <class 'str'>}})
  __doc__ = None
  __firstlineno__ = 23
  __module__ = 'keystoneauth1.fixture.v3'
  __mutable_keys__ = frozenset({'id', 'name'})
  __optional_keys__ = frozenset({'id', 'name'})
  __orig_bases__ = (<function TypedDict>,)
  __readonly_keys__ = frozenset({})
  __required_keys__ = frozenset({})
  __static_attributes__ = ()
  __total__ = False
  __weakref__

    list of weak references to the object

  id: str
  name: str

class keystoneauth1.fixture.v3.V3Endpoint

  Bases: `TypedDict`

  __annotations_cache__ = {'id': <class 'str'>, 'interface': <class 'str'>, 'region': str | None, 'region_id': str | None, 'url': <class 'str'>}
  __dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__firstlineno__': 46, '__static_attributes__': (), '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3Endpoint' objects>, '__weakref__': <attribute '__weakref__' of 'V3Endpoint' objects>, '__doc__': None, '__required_keys__': frozenset({'region', 'id', 'url', 'interface', 'region_id'}), '__optional_keys__': frozenset(), '__readonly_keys__': frozenset(), '__mutable_keys__': frozenset({'region', 'id', 'url', 'interface', 'region_id'}), '__total__': True, '__annotations_cache__': {'id': <class 'str'>, 'interface': <class 'str'>, 'url': <class 'str'>, 'region': str | None, 'region_id': str | None}})
  __doc__ = None
  __firstlineno__ = 46
  __module__ = 'keystoneauth1.fixture.v3'
  __mutable_keys__ = frozenset({'id', 'interface', 'region', 'region_id', 'url'})
  __optional_keys__ = frozenset({})
  __orig_bases__ = (<function TypedDict>,)
  __readonly_keys__ = frozenset({})
  __required_keys__ = frozenset({'id', 'interface', 'region', 'region_id', 'url'})
  __static_attributes__ = ()
  __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'
  __annotate_func__ = None
  __annotations_cache__ = {}
  __doc__ = 'A V3 Keystone Federation token that can be used for testing.\n\nSimilar to V3Token, this object is designed to allow clients to generate\na correct V3 federation token for use in test code.\n'
  __firstlineno__ = 743
  __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'
  __static_attributes__ = ('_user_domain',)
  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_cache__ = {'access_token_id': <class 'str'>, 'consumer_id': <class 'str'>}
  __dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__firstlineno__': 77, '__static_attributes__': (), '__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'}), '__readonly_keys__': frozenset(), '__mutable_keys__': frozenset({'consumer_id', 'access_token_id'}), '__total__': False, '__annotations_cache__': {'access_token_id': <class 'str'>, 'consumer_id': <class 'str'>}})
  __doc__ = None
  __firstlineno__ = 77
  __module__ = 'keystoneauth1.fixture.v3'
  __mutable_keys__ = frozenset({'access_token_id', 'consumer_id'})
  __optional_keys__ = frozenset({'access_token_id', 'consumer_id'})
  __orig_bases__ = (<function TypedDict>,)
  __readonly_keys__ = frozenset({})
  __required_keys__ = frozenset({})
  __static_attributes__ = ()
  __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_cache__ = {'domain': <class 'keystoneauth1.fixture.v3.V3Domain'>, 'id': <class 'str'>, 'is_domain': <class 'bool'>, 'name': <class 'str'>}
  __dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__firstlineno__': 28, '__static_attributes__': (), '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3Project' objects>, '__weakref__': <attribute '__weakref__' of 'V3Project' objects>, '__doc__': None, '__required_keys__': frozenset(), '__optional_keys__': frozenset({'domain', 'name', 'is_domain', 'id'}), '__readonly_keys__': frozenset(), '__mutable_keys__': frozenset({'domain', 'name', 'is_domain', 'id'}), '__total__': False, '__annotations_cache__': {'id': <class 'str'>, 'name': <class 'str'>, 'domain': <class 'keystoneauth1.fixture.v3.V3Domain'>, 'is_domain': <class 'bool'>}})
  __doc__ = None
  __firstlineno__ = 28
  __module__ = 'keystoneauth1.fixture.v3'
  __mutable_keys__ = frozenset({'domain', 'id', 'is_domain', 'name'})
  __optional_keys__ = frozenset({'domain', 'id', 'is_domain', 'name'})
  __orig_bases__ = (<function TypedDict>,)
  __readonly_keys__ = frozenset({})
  __required_keys__ = frozenset({})
  __static_attributes__ = ()
  __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_cache__ = {'id': <class 'str'>, 'name': <class 'str'>}
  __dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__firstlineno__': 41, '__static_attributes__': (), '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3Role' objects>, '__weakref__': <attribute '__weakref__' of 'V3Role' objects>, '__doc__': None, '__required_keys__': frozenset({'name', 'id'}), '__optional_keys__': frozenset(), '__readonly_keys__': frozenset(), '__mutable_keys__': frozenset({'name', 'id'}), '__total__': True, '__annotations_cache__': {'id': <class 'str'>, 'name': <class 'str'>}})
  __doc__ = None
  __firstlineno__ = 41
  __module__ = 'keystoneauth1.fixture.v3'
  __mutable_keys__ = frozenset({'id', 'name'})
  __optional_keys__ = frozenset({})
  __orig_bases__ = (<function TypedDict>,)
  __readonly_keys__ = frozenset({})
  __required_keys__ = frozenset({'id', 'name'})
  __static_attributes__ = ()
  __total__ = True
  __weakref__

    list of weak references to the object

  id: str
  name: str

class keystoneauth1.fixture.v3.V3Service

  Bases: `TypedDict`

  __annotations_cache__ = {'endpoints': typing.NotRequired[list[keystoneauth1.fixture.v3.V3Endpoint]], 'id': <class 'str'>, 'name': typing.NotRequired[str], 'type': <class 'str'>}
  __dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__firstlineno__': 54, '__static_attributes__': (), '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3Service' objects>, '__weakref__': <attribute '__weakref__' of 'V3Service' objects>, '__doc__': None, '__required_keys__': frozenset({'type', 'id'}), '__optional_keys__': frozenset({'endpoints', 'name'}), '__readonly_keys__': frozenset(), '__mutable_keys__': frozenset({'endpoints', 'name', 'type', 'id'}), '__total__': True, '__annotations_cache__': {'id': <class 'str'>, 'type': <class 'str'>, 'name': typing.NotRequired[str], 'endpoints': typing.NotRequired[list[keystoneauth1.fixture.v3.V3Endpoint]]}})
  __doc__ = None
  __firstlineno__ = 54
  __module__ = 'keystoneauth1.fixture.v3'
  __mutable_keys__ = frozenset({'endpoints', 'id', 'name', 'type'})
  __optional_keys__ = frozenset({'endpoints', 'name'})
  __orig_bases__ = (<function TypedDict>,)
  __readonly_keys__ = frozenset({})
  __required_keys__ = frozenset({'id', 'type'})
  __static_attributes__ = ()
  __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_cache__ = {'auth_url': <class 'str'>, 'id': <class 'str'>, 'sp_url': <class 'str'>}
  __dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__firstlineno__': 82, '__static_attributes__': (), '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3ServiceProvider' objects>, '__weakref__': <attribute '__weakref__' of 'V3ServiceProvider' objects>, '__doc__': None, '__required_keys__': frozenset({'sp_url', 'auth_url', 'id'}), '__optional_keys__': frozenset(), '__readonly_keys__': frozenset(), '__mutable_keys__': frozenset({'sp_url', 'auth_url', 'id'}), '__total__': True, '__annotations_cache__': {'id': <class 'str'>, 'auth_url': <class 'str'>, 'sp_url': <class 'str'>}})
  __doc__ = None
  __firstlineno__ = 82
  __module__ = 'keystoneauth1.fixture.v3'
  __mutable_keys__ = frozenset({'auth_url', 'id', 'sp_url'})
  __optional_keys__ = frozenset({})
  __orig_bases__ = (<function TypedDict>,)
  __readonly_keys__ = frozenset({})
  __required_keys__ = frozenset({'auth_url', 'id', 'sp_url'})
  __static_attributes__ = ()
  __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_cache__ = {'all': <class 'bool'>}
  __dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__firstlineno__': 61, '__static_attributes__': (), '__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(), '__readonly_keys__': frozenset(), '__mutable_keys__': frozenset({'all'}), '__total__': True, '__annotations_cache__': {'all': <class 'bool'>}})
  __doc__ = None
  __firstlineno__ = 61
  __module__ = 'keystoneauth1.fixture.v3'
  __mutable_keys__ = frozenset({'all'})
  __optional_keys__ = frozenset({})
  __orig_bases__ = (<function TypedDict>,)
  __readonly_keys__ = frozenset({})
  __required_keys__ = frozenset({'all'})
  __static_attributes__ = ()
  __total__ = True
  __weakref__

    list of weak references to the object

  all: bool

class keystoneauth1.fixture.v3.V3TokenData

  Bases: `TypedDict`

  __annotations_cache__ = {'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', '__firstlineno__': 88, '__static_attributes__': (), '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3TokenData' objects>, '__weakref__': <attribute '__weakref__' of 'V3TokenData' objects>, '__doc__': None, '__required_keys__': frozenset(), '__optional_keys__': frozenset({'roles', 'system', 'user', 'catalog', 'project', 'is_admin_project', 'domain', 'bind', 'application_credential', 'issued_at', 'oauth2_credential', 'expires_at', 'is_domain', 'methods', 'oauth2_thumbprint', 'service_providers', 'audit_ids'}), '__readonly_keys__': frozenset(), '__mutable_keys__': frozenset({'roles', 'system', 'user', 'catalog', 'project', 'is_admin_project', 'domain', 'bind', 'application_credential', 'issued_at', 'oauth2_credential', 'expires_at', 'is_domain', 'methods', 'oauth2_thumbprint', 'service_providers', 'audit_ids'}), '__total__': False, '__annotations_cache__': {'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]}})
  __doc__ = None
  __firstlineno__ = 88
  __module__ = 'keystoneauth1.fixture.v3'
  __mutable_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'})
  __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>,)
  __readonly_keys__ = frozenset({})
  __required_keys__ = frozenset({})
  __static_attributes__ = ()
  __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`

  __annotate_func__()
  __dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__firstlineno__': 108, '__static_attributes__': (), '__dict__': <attribute '__dict__' of 'V3TokenDataWithNamespaces' objects>, '__weakref__': <attribute '__weakref__' of 'V3TokenDataWithNamespaces' objects>, '__doc__': None, '__orig_bases__': (<class 'keystoneauth1.fixture.v3.V3TokenData'>,), '__annotate_func__': <function _TypedDictMeta.__new__.<locals>.__annotate__>, '__required_keys__': frozenset(), '__optional_keys__': frozenset({'roles', 'system', 'user', 'catalog', 'project', 'is_admin_project', 'domain', 'bind', 'application_credential', 'issued_at', 'oauth2_credential', 'expires_at', 'is_domain', 'methods', 'oauth2_thumbprint', 'service_providers', 'audit_ids'}), '__readonly_keys__': frozenset(), '__mutable_keys__': frozenset({'roles', 'system', 'user', 'catalog', 'project', 'is_admin_project', 'domain', 'bind', 'application_credential', 'issued_at', 'oauth2_credential', 'expires_at', 'is_domain', 'methods', 'oauth2_thumbprint', 'service_providers', 'audit_ids'}), '__total__': False, '__annotations_cache__': {}})
  __doc__ = None
  __firstlineno__ = 108
  __module__ = 'keystoneauth1.fixture.v3'
  __mutable_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'})
  __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'>,)
  __readonly_keys__ = frozenset({})
  __required_keys__ = frozenset({})
  __static_attributes__ = ()
  __total__ = False
  __weakref__

    list of weak references to the object

class keystoneauth1.fixture.v3.V3TokenRoot

  Bases: `TypedDict`

  __annotations_cache__ = {'token': <class 'keystoneauth1.fixture.v3.V3TokenData'>}
  __dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__firstlineno__': 115, '__static_attributes__': (), '__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(), '__readonly_keys__': frozenset(), '__mutable_keys__': frozenset({'token'}), '__total__': True, '__annotations_cache__': {'token': <class 'keystoneauth1.fixture.v3.V3TokenData'>}})
  __doc__ = None
  __firstlineno__ = 115
  __module__ = 'keystoneauth1.fixture.v3'
  __mutable_keys__ = frozenset({'token'})
  __optional_keys__ = frozenset({})
  __orig_bases__ = (<function TypedDict>,)
  __readonly_keys__ = frozenset({})
  __required_keys__ = frozenset({'token'})
  __static_attributes__ = ()
  __total__ = True
  __weakref__

    list of weak references to the object

  token: V3TokenData

class keystoneauth1.fixture.v3.V3Trust

  Bases: `TypedDict`

  __annotations_cache__ = {'id': <class 'str'>, 'impersonation': <class 'bool'>, 'trustee_user_id': <class 'str'>, 'trustor_user_id': <class 'str'>}
  __dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__firstlineno__': 65, '__static_attributes__': (), '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3Trust' objects>, '__weakref__': <attribute '__weakref__' of 'V3Trust' objects>, '__doc__': None, '__required_keys__': frozenset(), '__optional_keys__': frozenset({'trustor_user_id', 'trustee_user_id', 'impersonation', 'id'}), '__readonly_keys__': frozenset(), '__mutable_keys__': frozenset({'trustor_user_id', 'trustee_user_id', 'impersonation', 'id'}), '__total__': False, '__annotations_cache__': {'id': <class 'str'>, 'impersonation': <class 'bool'>, 'trustee_user_id': <class 'str'>, 'trustor_user_id': <class 'str'>}})
  __doc__ = None
  __firstlineno__ = 65
  __module__ = 'keystoneauth1.fixture.v3'
  __mutable_keys__ = frozenset({'id', 'impersonation', 'trustee_user_id', 'trustor_user_id'})
  __optional_keys__ = frozenset({'id', 'impersonation', 'trustee_user_id', 'trustor_user_id'})
  __orig_bases__ = (<function TypedDict>,)
  __readonly_keys__ = frozenset({})
  __required_keys__ = frozenset({})
  __static_attributes__ = ()
  __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_cache__ = {'domain': <class 'keystoneauth1.fixture.v3.V3Domain'>, 'id': <class 'str'>, 'name': <class 'str'>}
  __dict__ = mappingproxy({'__module__': 'keystoneauth1.fixture.v3', '__firstlineno__': 35, '__static_attributes__': (), '__orig_bases__': (<function TypedDict>,), '__dict__': <attribute '__dict__' of 'V3User' objects>, '__weakref__': <attribute '__weakref__' of 'V3User' objects>, '__doc__': None, '__required_keys__': frozenset({'domain', 'name', 'id'}), '__optional_keys__': frozenset(), '__readonly_keys__': frozenset(), '__mutable_keys__': frozenset({'domain', 'name', 'id'}), '__total__': True, '__annotations_cache__': {'id': <class 'str'>, 'name': <class 'str'>, 'domain': <class 'keystoneauth1.fixture.v3.V3Domain'>}})
  __doc__ = None
  __firstlineno__ = 35
  __module__ = 'keystoneauth1.fixture.v3'
  __mutable_keys__ = frozenset({'domain', 'id', 'name'})
  __optional_keys__ = frozenset({})
  __orig_bases__ = (<function TypedDict>,)
  __readonly_keys__ = frozenset({})
  __required_keys__ = frozenset({'domain', 'id', 'name'})
  __static_attributes__ = ()
  __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', '__firstlineno__': 119, '__doc__': 'One of the services that exist in the catalog.\n\nYou use this by adding a service to a token which returns an instance of\nthis 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>, '__static_attributes__': (), '__orig_bases__': (dict[str, typing.Any],), '__dict__': <attribute '__dict__' of '_Service' objects>, '__weakref__': <attribute '__weakref__' of '_Service' objects>, '__annotate_func__': None, '__annotations_cache__': {}})
  __doc__ = 'One of the services that exist in the catalog.\n\nYou use this by adding a service to a token which returns an instance of\nthis object and then you can add_endpoints to the service.\n'
  __firstlineno__ = 119
  __module__ = 'keystoneauth1.fixture.v3'
  __orig_bases__ = (dict[str, typing.Any],)
  __static_attributes__ = ()
  __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]

this page last updated: 2026-07-14 15:48:40

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug