Class: Scimitar::AuthenticationScheme
- Inherits:
-
Object
- Object
- Scimitar::AuthenticationScheme
- Includes:
- ActiveModel::Model
- Defined in:
- app/models/scimitar/authentication_scheme.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
4 5 6 |
# File 'app/models/scimitar/authentication_scheme.rb', line 4 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'app/models/scimitar/authentication_scheme.rb', line 4 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'app/models/scimitar/authentication_scheme.rb', line 4 def type @type end |
Class Method Details
.basic ⇒ Object
6 7 8 9 10 |
# File 'app/models/scimitar/authentication_scheme.rb', line 6 def self.basic new type: 'httpbasic', name: 'HTTP Basic', description: 'Authentication scheme using the HTTP Basic Standard' end |
.bearer ⇒ Object
12 13 14 15 16 |
# File 'app/models/scimitar/authentication_scheme.rb', line 12 def self.bearer new type: 'oauthbearertoken', name: 'OAuth Bearer Token', description: 'Authentication scheme using the OAuth Bearer Token Standard' end |