Oauth2
Module dedicated to OAuth2 device flow.
DeviceGrant
¶
Bases: GrantMethodBase
Device grant method.
Source code in teledetection/sdk/oauth2.py
get_first_token()
¶
Get the first JWT token.
Source code in teledetection/sdk/oauth2.py
ExpiredAuthLinkError
¶
GrantMethodBase
¶
Base class for grant methods.
Source code in teledetection/sdk/oauth2.py
data_base
property
¶
Base payload.
get_first_token()
abstractmethod
¶
get_token_endpoint()
¶
refresh_token(old_jwt)
¶
Refresh the token.
Source code in teledetection/sdk/oauth2.py
OAuth2Session
¶
Class to start an OAuth2 session.
Source code in teledetection/sdk/oauth2.py
RefreshTokenError
¶
retrieve_token_endpoint()
¶
Retrieve the token endpoint from the s3 signing endpoint.