Sha256: 6f7cb585876f01d4eb405fccf79e3477ff6c620bacce9a86ac3adc0c69ca29ee

Contents?: true

Size: 511 Bytes

Versions: 45

Compression:

Stored size: 511 Bytes

Contents

module Scimitar
  class AuthenticationScheme
    include ActiveModel::Model
    attr_accessor :type, :name, :description

    def self.basic
      new type:        'httpbasic',
          name:        'HTTP Basic',
          description: 'Authentication scheme using the HTTP Basic Standard'
    end

    def self.bearer
      new type:        'oauthbearertoken',
          name:        'OAuth Bearer Token',
          description: 'Authentication scheme using the OAuth Bearer Token Standard'
    end
  end
end

Version data entries

45 entries across 45 versions & 2 rubygems

Version Path
scimitar-1.11.0 app/models/scimitar/authentication_scheme.rb
scimitar-2.10.0 app/models/scimitar/authentication_scheme.rb
scimitar-1.10.0 app/models/scimitar/authentication_scheme.rb
scimitar-2.9.0 app/models/scimitar/authentication_scheme.rb
scimitar-2.8.0 app/models/scimitar/authentication_scheme.rb
scimitar-2.7.3 app/models/scimitar/authentication_scheme.rb
powerhome-scimitar-1.0.0 app/models/scimitar/authentication_scheme.rb
scimitar-2.7.2 app/models/scimitar/authentication_scheme.rb
scimitar-1.8.2 app/models/scimitar/authentication_scheme.rb
scimitar-1.8.1 app/models/scimitar/authentication_scheme.rb
scimitar-2.7.1 app/models/scimitar/authentication_scheme.rb
scimitar-1.8.0 app/models/scimitar/authentication_scheme.rb
scimitar-2.7.0 app/models/scimitar/authentication_scheme.rb
scimitar-1.7.1 app/models/scimitar/authentication_scheme.rb
scimitar-2.6.1 app/models/scimitar/authentication_scheme.rb
scimitar-1.7.0 app/models/scimitar/authentication_scheme.rb
scimitar-2.6.0 app/models/scimitar/authentication_scheme.rb
scimitar-1.6.0 app/models/scimitar/authentication_scheme.rb
scimitar-2.5.0 app/models/scimitar/authentication_scheme.rb
scimitar-2.4.3 app/models/scimitar/authentication_scheme.rb