Converts between domain group structs and SCIM JSON representations.
Delegates to the configured mapper adapter. Falls back to
ExScim.Groups.Mapper.DefaultMapper when no adapter is configured.
Configuration
config :ex_scim, group_resource_mapper: MyApp.GroupMapper
Summary
Functions
Returns the configured group mapper adapter module.
Converts a SCIM JSON map into a domain group struct.
Converts a domain group struct into a SCIM JSON map.
Functions
Returns the configured group mapper adapter module.
Converts a SCIM JSON map into a domain group struct.
The scope provides tenant/caller context for the conversion.
@spec to_scim(struct() | map(), ExScim.Scope.t(), keyword()) :: {:ok, map()} | {:error, atom() | term()}
Converts a domain group struct into a SCIM JSON map.
The scope provides tenant/caller context. opts are passed through
to the adapter (e.g. for controlling which fields to include).