iqm.iqm_client.authentication.TokenClient#
- class iqm.iqm_client.authentication.TokenClient(auth_server_url: str, realm: str, username: str, password: str)#
 Bases:
TokenProviderInterfaceRequests new token from an authentication server
Attributes
PASSWORD_GRANT_TYPEREFRESH_TOKEN_GRANT_TYPEMethods
_get_access_token_from_server(grant_type)Get new access token from the server and update refresh token.
close()Close authentication session
Get new access token and refresh token from the server