iqm.iqm_client.authentication.ExternalToken#
- class iqm.iqm_client.authentication.ExternalToken(token: str)#
Bases:
TokenProviderInterfaceHolds an external token
Methods
- Parameters:
token (str) –
- get_token() str#
Returns a valid access token.
- Raises:
ClientAuthenticationError – acquiring the token failed
- Return type:
- close() None#
Closes authentication session.
- Raises:
ClientAuthenticationError – closing the session failed
- Return type:
None