Class: Lyrebird::Defaults
- Inherits:
-
Object
- Object
- Lyrebird::Defaults
- Defined in:
- lib/lyrebird/defaults.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#audience ⇒ Object
Returns the value of attribute audience.
-
#authn_context ⇒ Object
Returns the value of attribute authn_context.
-
#in_response_to ⇒ Object
Returns the value of attribute in_response_to.
-
#issuer ⇒ Object
Returns the value of attribute issuer.
-
#name_id ⇒ Object
Returns the value of attribute name_id.
-
#name_id_format ⇒ Object
Returns the value of attribute name_id_format.
-
#recipient ⇒ Object
Returns the value of attribute recipient.
-
#valid_for ⇒ Object
Returns the value of attribute valid_for.
Instance Method Summary collapse
-
#initialize ⇒ Defaults
constructor
A new instance of Defaults.
Constructor Details
#initialize ⇒ Defaults
Returns a new instance of Defaults.
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/lyrebird/defaults.rb', line 20 def initialize @issuer = "https://idp.example.com" @name_id = "user@example.com" @name_id_format = NAMEID_EMAIL @recipient = "https://sp.example.com/acs" @in_response_to = "_request_id" @valid_for = 300 # 5 minutes @audience = "https://sp.example.com" @authn_context = "urn:oasis:names:tc:SAML:2.0:ac:classes:" \ "PasswordProtectedTransport" @attributes = { first_name: "Test", last_name: "User", }.freeze end |
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
18 19 20 |
# File 'lib/lyrebird/defaults.rb', line 18 def attributes @attributes end |
#audience ⇒ Object
Returns the value of attribute audience.
16 17 18 |
# File 'lib/lyrebird/defaults.rb', line 16 def audience @audience end |
#authn_context ⇒ Object
Returns the value of attribute authn_context.
17 18 19 |
# File 'lib/lyrebird/defaults.rb', line 17 def authn_context @authn_context end |
#in_response_to ⇒ Object
Returns the value of attribute in_response_to.
14 15 16 |
# File 'lib/lyrebird/defaults.rb', line 14 def in_response_to @in_response_to end |
#issuer ⇒ Object
Returns the value of attribute issuer.
10 11 12 |
# File 'lib/lyrebird/defaults.rb', line 10 def issuer @issuer end |
#name_id ⇒ Object
Returns the value of attribute name_id.
11 12 13 |
# File 'lib/lyrebird/defaults.rb', line 11 def name_id @name_id end |
#name_id_format ⇒ Object
Returns the value of attribute name_id_format.
12 13 14 |
# File 'lib/lyrebird/defaults.rb', line 12 def name_id_format @name_id_format end |
#recipient ⇒ Object
Returns the value of attribute recipient.
13 14 15 |
# File 'lib/lyrebird/defaults.rb', line 13 def recipient @recipient end |
#valid_for ⇒ Object
Returns the value of attribute valid_for.
15 16 17 |
# File 'lib/lyrebird/defaults.rb', line 15 def valid_for @valid_for end |