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