antimatter.auth.config.global_identity
#
Module Contents#
Classes#
Global identity structure, containing name and token. |
- class antimatter.auth.config.global_identity.GlobalIdentity#
Global identity structure, containing name and token.
- name: str#
- static from_dict(identity_dict: Dict[str, Any]) GlobalIdentity #
Parse a GlobalIdentity from the json. The json must contain a ‘token’ property, which itself must contain a ‘type’ property that has a value that can be parsed into a specific token type.
- Parameters:
identity_dict – The json to parse
- Returns:
The parsed GlobalIdentity
- to_dict() Dict[str, Any] #