antimatter.session_mixins.serializers.identity_details
#
Module Contents#
Functions#
Serialize an identity provider info dictionary |
|
Serialize an identity principal details dictionary |
|
Deserialize an identity principal details json string into a PrincipalInfo object |
- antimatter.session_mixins.serializers.identity_details.serialize_identity_provider_info_dict(model: Dict[str, Any] | None) Dict[str, Any] | None #
Serialize an identity provider info dictionary
- Parameters:
model – The identity provider info dictionary
- Returns:
The serialized dictionary
- antimatter.session_mixins.serializers.identity_details.serialize_identity_principal_details_dict(model: Dict[str, Any] | None) Dict[str, Any] | None #
Serialize an identity principal details dictionary
- Parameters:
model – The identity principal details dictionary
- Returns:
The serialized dictionary
- antimatter.session_mixins.serializers.identity_details.deserialize_identity_principal_details_json_str(model: str | None) antimatter_api.PrincipalInfo #
Deserialize an identity principal details json string into a PrincipalInfo object
- Parameters:
model – The identity principal details JSON string
- Returns:
The PrincipalInfo object