glance.common.trust_auth module

glance.common.trust_auth module

class glance.common.trust_auth.TokenRefresher(user_plugin, user_project, user_roles)[source]

Bases: object

Class that responsible for token refreshing with trusts

refresh_token()[source]

Receive new token if user need to update old token

Returns:new token that can be used for authentication
release_resources()[source]

Release keystone resources required for refreshing

Creative Commons Attribution 3.0 License

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