Sha256: a9792457745231bfacb5afdd7c57150b7e828d6c46d17b91e8dfabc3d24ceb3a
Contents?: true
Size: 1.47 KB
Versions: 22
Compression:
Stored size: 1.47 KB
Contents
module Scimitar # Represents the service provider info. Used by the /ServiceProviderConfig # endpoint to provide specification compliance, authentication schemes and # data models. Renders to JSON as a SCIM ServiceProviderConfig type. # # See config/initializers/scimitar.rb for more information. # class ServiceProviderConfiguration include ActiveModel::Model attr_accessor( :uses_defaults, :patch, :bulk, :filter, :changePassword, :sort, :etag, :authenticationSchemes, :schemas, :meta, ) def initialize(attributes = {}) @uses_defaults = attributes.empty? defaults = { bulk: Supportable.unsupported, changePassword: Supportable.unsupported, sort: Supportable.unsupported, etag: Supportable.unsupported, patch: Supportable.supported, filter: Scimitar::Filter.new( supported: true, maxResults: Scimitar::Filter::MAX_RESULTS_DEFAULT ), 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, AuthenticationScheme.bearer ] } super(defaults.merge(attributes)) end end end
Version data entries
22 entries across 22 versions & 2 rubygems