Introspection for the AshScim.User and AshScim.Group extensions.
Use these helpers when you need to inspect a resource's SCIM mapping at runtime (e.g. in routers, plugs, or custom rendering code).
Summary
Functions
scim DSL entities
The Ash create action used by SCIM POST requests. Defaults to the resource's primary create action.
The Ash create action used by SCIM POST requests. Defaults to the resource's primary create action.
The Ash destroy action used by SCIM DELETE requests. Defaults to the resource's primary destroy action.
The Ash destroy action used by SCIM DELETE requests. Defaults to the resource's primary destroy action.
Returns the declared SCIM schema-extension URNs for resource.
Returns all SCIM mapping entities (maps, complex, multivalued) declared on the resource, preserving declaration order.
Emit the standard SCIM meta object (created, lastModified, location, resourceType).
scim DSL options
URL path under which this resource is mounted (relative to the SCIM root).
URL path under which this resource is mounted (relative to the SCIM root).
The Ash read action used by SCIM GET requests. Defaults to the resource's primary read action.
The Ash read action used by SCIM GET requests. Defaults to the resource's primary read action.
Returns true if resource carries either the AshScim.User or
AshScim.Group extension.
The SCIM schemas URN advertised for this resource.
The SCIM schemas URN advertised for this resource.
Returns the SCIM resource type for resource — :user, :group, or nil.
The Ash update action used by SCIM PUT/PATCH requests. Defaults to the resource's primary update action.
The Ash update action used by SCIM PUT/PATCH requests. Defaults to the resource's primary update action.
Functions
scim DSL entities
The Ash create action used by SCIM POST requests. Defaults to the resource's primary create action.
The Ash create action used by SCIM POST requests. Defaults to the resource's primary create action.
The Ash destroy action used by SCIM DELETE requests. Defaults to the resource's primary destroy action.
The Ash destroy action used by SCIM DELETE requests. Defaults to the resource's primary destroy action.
Returns the declared SCIM schema-extension URNs for resource.
@spec scim_mappings(module()) :: [ AshScim.Dsl.Map.t() | AshScim.Dsl.Complex.t() | AshScim.Dsl.Multivalued.t() | AshScim.Dsl.Extension.t() ]
Returns all SCIM mapping entities (maps, complex, multivalued) declared on the resource, preserving declaration order.
Emit the standard SCIM meta object (created, lastModified, location, resourceType).
scim DSL options
Returns a map containing the and any configured or default values.
URL path under which this resource is mounted (relative to the SCIM root).
URL path under which this resource is mounted (relative to the SCIM root).
The Ash read action used by SCIM GET requests. Defaults to the resource's primary read action.
The Ash read action used by SCIM GET requests. Defaults to the resource's primary read action.
Returns true if resource carries either the AshScim.User or
AshScim.Group extension.
The SCIM schemas URN advertised for this resource.
The SCIM schemas URN advertised for this resource.
@spec scim_type(module()) :: :user | :group | nil
Returns the SCIM resource type for resource — :user, :group, or nil.
The Ash update action used by SCIM PUT/PATCH requests. Defaults to the resource's primary update action.
The Ash update action used by SCIM PUT/PATCH requests. Defaults to the resource's primary update action.