antimatter.authn.static_oauth
#
Module Contents#
Classes#
A static authentication agent uses a static oauth token. |
- class antimatter.authn.static_oauth.StaticOAuthAuthentication(token: str, enable_retries: bool = True)#
Bases:
antimatter.authn.OAuthAuthentication
A static authentication agent uses a static oauth token. This implementation does not know about the token’s expiration or its validity. It’s up to the upstream service to handle the token’s expiration and validity.
- authenticate(**kwargs)#
- get_token()#
- needs_refresh()#
- get_token_scope()#
- get_session()#
- get_domain_id()#
- get_email()#
- get_config_token() antimatter.auth.config.tokens.OidcToken #
Get the token from the configuration
- has_client_retry_policy() bool #