TokenProviderInterface#
Module: iqm.station_control.client.authentication
- class TokenProviderInterface#
Bases:
ABCInterface to token provider
Methods
- abstractmethod get_token()#
Return a valid access token.
- Raises:
ClientAuthenticationError – acquiring the token failed
- Return type:
- abstractmethod close()#
Close the authentication session.
- Raises:
ClientAuthenticationError – closing the session failed
- Return type:
None
Inheritance
