ExternalToken#

class ExternalToken(token)#

Bases: TokenProviderInterface

Holds an external token

Module: iqm.station_control.client.authentication

Methods

close

Close the authentication session.

get_token

Return a valid access token.

Parameters:

token (str)

get_token()#

Return a valid access token.

Raises:

ClientAuthenticationError – acquiring the token failed

Return type:

str

close()#

Close the authentication session.

Raises:

ClientAuthenticationError – closing the session failed

Return type:

None