antimatter.session_mixins.serializers.identity_details#

Module Contents#

Functions#

serialize_identity_provider_info_dict(...)

Serialize an identity provider info dictionary

serialize_identity_principal_details_dict(...)

Serialize an identity principal details dictionary

deserialize_identity_principal_details_json_str(...)

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