OIDCRefreshTokenBase#
- class eodag.plugins.authentication.openid_connect.OIDCRefreshTokenBase(provider, config)[source]#
OIDC refresh token base class, to be used through specific OIDC flows plugins; Common mechanism to handle refresh token from all OIDC auth plugins;
Plugins inheriting from this base class must implement the methods
_request_new_token()and_get_token_with_refresh_token(). Depending on the implementation of these methods they can have different configuration parameters.- Parameters:
provider (
str)config (
PluginConfig)
- __init__(provider, config)[source]#
- Parameters:
provider (
str)config (
PluginConfig)
Methods
__init__(provider, config)authenticate()Authenticate
authenticate_objects(bucket_names_and_prefixes)Authenticates with s3 and retrieves the available objects
decode_jwt_token(token)Decode JWT token.
validate_config_credentials()Validate configured credentials
Attributes
pluginsjwks_clientaccess_tokenaccess_token_expirationrefresh_tokenrefresh_token_expirationtoken_endpointauthorization_endpoint