keystoneauth1.fixture.v3.
Token
(expires=None, issued=None, user_id=None, user_name=None, user_domain_id=None, user_domain_name=None, methods=None, project_id=None, project_name=None, project_domain_id=None, project_domain_name=None, domain_id=None, domain_name=None, trust_id=None, trust_impersonation=None, trustee_user_id=None, trustor_user_id=None, application_credential_id=None, application_credential_access_rules=None, oauth_access_token_id=None, oauth_consumer_id=None, audit_id=None, audit_chain_id=None, is_admin_project=None, project_is_domain=None)¶Bases: dict
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.
add_role
(name=None, id=None)¶add_service
(type, name=None, id=None)¶add_service_provider
(sp_id, sp_auth_url, sp_url)¶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
¶methods
¶oauth_access_token_id
¶oauth_consumer_id
¶project_domain_id
¶project_domain_name
¶project_id
¶project_is_domain
¶project_name
¶remove_service
(type)¶role_ids
¶role_names
¶root
¶service_providers
¶set_application_credential
(application_credential_id, access_rules=None)¶set_bind
(name, data)¶set_domain_scope
(id=None, name=None)¶set_oauth
(access_token_id=None, consumer_id=None)¶set_project_scope
(id=None, name=None, domain_id=None, domain_name=None, is_domain=None)¶set_system_scope
()¶set_trust_scope
(id=None, impersonation=False, trustee_user_id=None, trustor_user_id=None)¶system
¶trust_id
¶trust_impersonation
¶trustee_user_id
¶trustor_user_id
¶user_domain_id
¶user_domain_name
¶user_id
¶user_name
¶validate
()¶keystoneauth1.fixture.v3.
V3FederationToken
(methods=None, identity_provider=None, protocol=None, groups=None)¶Bases: keystoneauth1.fixture.v3.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'¶add_federation_info_to_user
(identity_provider=None, protocol=None, groups=None)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.