Class: SCIMMY.Schemas.User
SCIM User Schema
Description
Summary:
- Ensures a User instance conforms to the User schema set out in RFC7643ยง4.1.
Usage
Instantiates a new user that conforms to the SCIM User schema definition
new SCIMMY.Schemas.User(resource, directionopt, basepathopt, filtersopt)
- Extends:
- SCIMMY.Types.Schema
- Source:
- src/lib/schemas/user.js, line 9
Parameters:
Name | Type | Default | Description |
---|---|---|---|
resource
|
Object |
the source data to feed through the schema definition |
|
directionopt
|
String | "both" |
whether the resource is inbound from a request or outbound for a response |
basepathopt
|
String |
the base path for resolution of a resource's location |
|
filtersopt
|
SCIMMY.Types.Filter |
attribute filters to apply to the coerced value |
Members
(static) definition: SCIMMY.Types.SchemaDefinition
Retrieves a schema's definition instance
- Type:
- {SCIMMY.Types.SchemaDefinition}
- Implements:
- SCIMMY.Types.Schema.definition
- Source:
- src/lib/schemas/user.js, line 11