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

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