matrice.token_auth module
Module for custom authentication
-
class matrice.token_auth.AuthToken(access_key, secret_key, refresh_token)[source]
Bases: AuthBase
Implements a custom authentication scheme.
-
__init__(access_key, secret_key, refresh_token)[source]
-
set_bearer_token()[source]
Obtain an authentication bearer token using the provided refresh token.
-
class matrice.token_auth.RefreshToken(access_key, secret_key)[source]
Bases: AuthBase
Implements a custom authentication scheme.
-
__init__(access_key, secret_key)[source]
-
set_bearer_token()[source]
Obtain a bearer token using the provided access key and secret key.