keystonemiddleware.fixture.
AuthTokenFixture
¶Bases: fixtures.fixture.Fixture
Overrides what keystonemiddleware will return to the app behind it.
add_token
(token_data, token_id=None)¶Add an existing token to the middleware.
Parameters: |
|
---|---|
Returns: | The token_id that the token was added as. |
Return type: | str |
add_token_data
(token_id=None, expires=None, user_id=None, user_name=None, user_domain_id=None, user_domain_name=None, project_id=None, project_name=None, project_domain_id=None, project_domain_name=None, role_list=None, is_v2=False)¶Add token data to the auth_token fixture.
fetch_token
(token, **kwargs)¶Low level replacement of fetch_token for AuthProtocol.
setUp
()¶tokens
¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.