TokensFileReader#
Module: iqm.station_control.client.authentication
- class TokensFileReader(tokens_file)#
Bases:
TokenProviderInterfaceReads token from a file
Methods
- Parameters:
tokens_file (str)
- get_token()#
Return a valid access token.
- Raises:
ClientAuthenticationError – acquiring the token failed
- Return type:
- close()#
Close the authentication session.
- Raises:
ClientAuthenticationError – closing the session failed
- Return type:
None
Inheritance
