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:
__init__(provider, config)[source]#
Parameters:

Methods

__init__(provider, config)

authenticate()

Authenticate

decode_jwt_token(token)

Decode JWT token.

validate_config_credentials()

Validate configured credentials

Attributes

plugins

jwks_client

access_token

access_token_expiration

refresh_token

refresh_token_expiration

token_endpoint

authorization_endpoint