antimatter.authn.apikey
#
Module Contents#
Classes#
This is an agent which uses an API key for authentication. |
- class antimatter.authn.apikey.ApiKeyAuthentication(domain_id: str = None, api_key: str = None, admin_email: str | None = None, enable_retries: bool = True)#
Bases:
antimatter.authn.Authentication
This is an agent which uses an API key for authentication.
- needs_refresh()#
- authenticate(token_lifetime: int | None = None)#
- get_token()#
- get_token_scope()#
- get_session()#
- get_domain_id()#
- get_email()#
- has_client_retry_policy() bool #