antimatter.auth.config.tokens#
Module Contents#
Classes#
The token factory for converting config file keywords or CLI keywords into |
|
The enumerated supported OIDC token types. |
|
The base OIDC token. |
|
A static oauth token format. |
|
The Google OIDC token format. |
- class antimatter.auth.config.tokens.OidcTokenFactory#
The token factory for converting config file keywords or CLI keywords into specific token formats.
- class antimatter.auth.config.tokens.OidcTokenType#
Bases:
str,enum.EnumThe enumerated supported OIDC token types.
- Google = 'GoogleToken'#
- Static = 'StaticToken'#
- class antimatter.auth.config.tokens.OidcToken(*args, **kwargs)#
The base OIDC token.
- type: OidcTokenType#
- observers: List[Callable] = []#
- abstract to_dict() Dict[str, Any]#
- add_observer(observer: Callable)#
- notify_observers()#
- class antimatter.auth.config.tokens.StaticToken(*args, **kwargs)#
Bases:
OidcTokenA static oauth token format.
- token: str#
- type: OidcTokenType#
- to_dict() Dict[str, Any]#
- static from_dict(json: Dict[str, Any]) StaticToken#
- class antimatter.auth.config.tokens.GoogleOidcToken(*args, **kwargs)#
Bases:
OidcTokenThe Google OIDC token format.
- access_token: str#
- id_token: str#
- refresh_token: str#
- expires_at: int#
- type: OidcTokenType#
- to_dict() Dict[str, Any]#
- static from_dict(json: Dict[str, Any]) GoogleOidcToken#
- static init() GoogleOidcToken#