Class: ScimEngine::ServiceProviderConfiguration
- Inherits:
-
Object
- Object
- ScimEngine::ServiceProviderConfiguration
- Includes:
- ActiveModel::Model
- Defined in:
- app/models/scim_engine/service_provider_configuration.rb
Overview
Represnts the service provider info. Used by the /ServiceProviderConfig endpoint to privide specification compliance, authentication schemes, data models.
Instance Attribute Summary collapse
-
#authenticationSchemes ⇒ Object
Returns the value of attribute authenticationSchemes.
-
#bulk ⇒ Object
Returns the value of attribute bulk.
-
#changePassword ⇒ Object
Returns the value of attribute changePassword.
-
#etag ⇒ Object
Returns the value of attribute etag.
-
#filter ⇒ Object
Returns the value of attribute filter.
-
#meta ⇒ Object
Returns the value of attribute meta.
-
#patch ⇒ Object
Returns the value of attribute patch.
-
#schemas ⇒ Object
Returns the value of attribute schemas.
-
#sort ⇒ Object
Returns the value of attribute sort.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ ServiceProviderConfiguration
constructor
A new instance of ServiceProviderConfiguration.
Constructor Details
#initialize(attributes = {}) ⇒ ServiceProviderConfiguration
Returns a new instance of ServiceProviderConfiguration.
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'app/models/scim_engine/service_provider_configuration.rb', line 10 def initialize(attributes = {}) defaults = { bulk: Supportable.unsupported, patch: Supportable.unsupported, filter: Supportable.unsupported, changePassword: Supportable.unsupported, sort: Supportable.unsupported, etag: Supportable.unsupported, schemas: ["urn:ietf:params:scim:schemas:core:2.0:ServiceProviderConfig"], meta: Meta.new( resourceType: 'ServiceProviderConfig', created: Time.now, lastModified: Time.now, version: '1' ), authenticationSchemes: [AuthenticationScheme.basic] } super(defaults.merge(attributes)) end |
Instance Attribute Details
#authenticationSchemes ⇒ Object
Returns the value of attribute authenticationSchemes
6 7 8 |
# File 'app/models/scim_engine/service_provider_configuration.rb', line 6 def authenticationSchemes @authenticationSchemes end |
#bulk ⇒ Object
Returns the value of attribute bulk
6 7 8 |
# File 'app/models/scim_engine/service_provider_configuration.rb', line 6 def bulk @bulk end |
#changePassword ⇒ Object
Returns the value of attribute changePassword
6 7 8 |
# File 'app/models/scim_engine/service_provider_configuration.rb', line 6 def changePassword @changePassword end |
#etag ⇒ Object
Returns the value of attribute etag
6 7 8 |
# File 'app/models/scim_engine/service_provider_configuration.rb', line 6 def etag @etag end |
#filter ⇒ Object
Returns the value of attribute filter
6 7 8 |
# File 'app/models/scim_engine/service_provider_configuration.rb', line 6 def filter @filter end |
#meta ⇒ Object
Returns the value of attribute meta
6 7 8 |
# File 'app/models/scim_engine/service_provider_configuration.rb', line 6 def @meta end |
#patch ⇒ Object
Returns the value of attribute patch
6 7 8 |
# File 'app/models/scim_engine/service_provider_configuration.rb', line 6 def patch @patch end |
#schemas ⇒ Object
Returns the value of attribute schemas
6 7 8 |
# File 'app/models/scim_engine/service_provider_configuration.rb', line 6 def schemas @schemas end |
#sort ⇒ Object
Returns the value of attribute sort
6 7 8 |
# File 'app/models/scim_engine/service_provider_configuration.rb', line 6 def sort @sort end |