Class: Authorio::Configuration
- Inherits:
-
Object
- Object
- Authorio::Configuration
- Defined in:
- lib/authorio/configuration.rb
Instance Attribute Summary collapse
-
#authorization_endpoint ⇒ Object
Returns the value of attribute authorization_endpoint.
-
#local_session_lifetime ⇒ Object
Returns the value of attribute local_session_lifetime.
-
#mount_point ⇒ Object
Returns the value of attribute mount_point.
-
#multiuser ⇒ Object
Returns the value of attribute multiuser.
-
#token_endpoint ⇒ Object
Returns the value of attribute token_endpoint.
-
#token_expiration ⇒ Object
Returns the value of attribute token_expiration.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 12 13 14 15 |
# File 'lib/authorio/configuration.rb', line 8 def initialize @authorization_endpoint = 'auth' @token_endpoint = 'token' @mount_point = 'authorio' @token_expiration = 4.weeks @local_session_lifetime = nil @multiuser = false end |
Instance Attribute Details
#authorization_endpoint ⇒ Object
Returns the value of attribute authorization_endpoint.
5 6 7 |
# File 'lib/authorio/configuration.rb', line 5 def @authorization_endpoint end |
#local_session_lifetime ⇒ Object
Returns the value of attribute local_session_lifetime.
5 6 7 |
# File 'lib/authorio/configuration.rb', line 5 def local_session_lifetime @local_session_lifetime end |
#mount_point ⇒ Object
Returns the value of attribute mount_point.
5 6 7 |
# File 'lib/authorio/configuration.rb', line 5 def mount_point @mount_point end |
#multiuser ⇒ Object
Returns the value of attribute multiuser.
5 6 7 |
# File 'lib/authorio/configuration.rb', line 5 def multiuser @multiuser end |
#token_endpoint ⇒ Object
Returns the value of attribute token_endpoint.
5 6 7 |
# File 'lib/authorio/configuration.rb', line 5 def token_endpoint @token_endpoint end |
#token_expiration ⇒ Object
Returns the value of attribute token_expiration.
5 6 7 |
# File 'lib/authorio/configuration.rb', line 5 def token_expiration @token_expiration end |