Class: SCIMMY.Resources.ServiceProviderConfig
SCIM ServiceProviderConfig Resource
Description
Summary:
- Formats SCIM Service Provider Configuration set in
SCIMMY.Configfor transmission/consumption according to the Service Provider Configuration schema set out in RFC7643ยง5.
Usage
Instantiate a new SCIM ServiceProviderConfig resource and parse any supplied parameters
                    
                        new SCIMMY.Resources.ServiceProviderConfig(idopt, configopt)
                    
                
            - Extends:
- SCIMMY.Types.Resource
Parameters:
| Name | Type | Default | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 
                        idopt
                     | 
    String
 | 
                         | the ID of the requested resource | ||||||||||||||||||||||||
| 
                        configopt
                     | 
    Object
 | 
                         | the parameters of the resource instance request Properties
 | 
Properties:
| Name | Type | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 
                        idopt
                     | 
    String
 | ID of the resource instance being targeted | |||||||||||||||
| 
                        filteropt
                     | 
    SCIMMY.Types.Filter
 | filter parsed from the supplied config | |||||||||||||||
| 
                        attributesopt
                     | 
    SCIMMY.Types.Filter
 | attributes or excluded attributes parsed from the supplied config | |||||||||||||||
| 
                        constraintsopt
                     | 
    ~ListConstraints
 | sort and pagination properties parsed from the supplied config Properties
 | 
Members
(static) endpoint: String
Retrieves a resource's endpoint relative to the service provider's base URL
- Type:
- {String}
- Implements:
- SCIMMY.Types.Resource.endpoint
Methods
(static) basepath(pathopt) → {SCIMMY.Resources.ServiceProviderConfig|String}
Sets or retrieves the base path for resolution of a resource's location
- Implements:
- SCIMMY.Types.Resource.basepath
Parameters:
| Name | Type | Description | 
|---|---|---|
| 
                        pathopt
                     | 
    String
 | the path to use as the base of a resource's location | 
Returns:
this resource type class for chaining if path is a string, or the resource's basepath
(static) extend() » TypeError
- Overrides:
- SCIMMY.Types.Resource.extend
- Throws:
- {TypeError} SCIM 'ServiceProviderConfig' resource does not support extension 
(async) read(ctxopt) → {SCIMMY.Messages.ListResponse|SCIMMY.Schemas.ServiceProviderConfig}
Calls resource's egress method for data retrieval. Wraps the results in valid SCIM list response or single resource syntax.
- Implements:
- SCIMMY.Types.Resource#read
Parameters:
| Name | Type | Description | 
|---|---|---|
| 
                        ctxopt
                     | 
    *
 | any additional context information to pass to the egress handler | 
Returns:
the specifically requested resource instance, if an ID was supplied to resource constructor, or collection of resources matching instance's configured filter.
