Class: Idsimple::Rack::Configuration
- Inherits:
-
Object
- Object
- Idsimple::Rack::Configuration
- Defined in:
- lib/idsimple/rack/configuration.rb
Constant Summary collapse
- DEFAULT_COOKIE_NAME =
"idsimple.access_token"
Instance Attribute Summary collapse
-
#after_authenticated_path ⇒ Object
Returns the value of attribute after_authenticated_path.
-
#api_base_path ⇒ Object
Returns the value of attribute api_base_path.
-
#api_base_url ⇒ Object
Returns the value of attribute api_base_url.
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#app_id ⇒ Object
Returns the value of attribute app_id.
-
#authenticate_path ⇒ Object
Returns the value of attribute authenticate_path.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#get_access_token ⇒ Object
Returns the value of attribute get_access_token.
-
#issuer ⇒ Object
Returns the value of attribute issuer.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#redirect_to_authenticate ⇒ Object
Returns the value of attribute redirect_to_authenticate.
-
#remove_access_token ⇒ Object
Returns the value of attribute remove_access_token.
-
#set_access_token ⇒ Object
Returns the value of attribute set_access_token.
-
#signing_secret ⇒ Object
Returns the value of attribute signing_secret.
-
#skip_on ⇒ Object
Returns the value of attribute skip_on.
-
#unauthorized_response ⇒ Object
Returns the value of attribute unauthorized_response.
Instance Method Summary collapse
- #enabled? ⇒ Boolean
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
14 15 16 |
# File 'lib/idsimple/rack/configuration.rb', line 14 def initialize set_defaults end |
Instance Attribute Details
#after_authenticated_path ⇒ Object
Returns the value of attribute after_authenticated_path.
9 10 11 |
# File 'lib/idsimple/rack/configuration.rb', line 9 def after_authenticated_path @after_authenticated_path end |
#api_base_path ⇒ Object
Returns the value of attribute api_base_path.
9 10 11 |
# File 'lib/idsimple/rack/configuration.rb', line 9 def api_base_path @api_base_path end |
#api_base_url ⇒ Object
Returns the value of attribute api_base_url.
9 10 11 |
# File 'lib/idsimple/rack/configuration.rb', line 9 def api_base_url @api_base_url end |
#api_key ⇒ Object
Returns the value of attribute api_key.
9 10 11 |
# File 'lib/idsimple/rack/configuration.rb', line 9 def api_key @api_key end |
#app_id ⇒ Object
Returns the value of attribute app_id.
9 10 11 |
# File 'lib/idsimple/rack/configuration.rb', line 9 def app_id @app_id end |
#authenticate_path ⇒ Object
Returns the value of attribute authenticate_path.
9 10 11 |
# File 'lib/idsimple/rack/configuration.rb', line 9 def authenticate_path @authenticate_path end |
#enabled ⇒ Object
Returns the value of attribute enabled.
9 10 11 |
# File 'lib/idsimple/rack/configuration.rb', line 9 def enabled @enabled end |
#get_access_token ⇒ Object
Returns the value of attribute get_access_token.
9 10 11 |
# File 'lib/idsimple/rack/configuration.rb', line 9 def get_access_token @get_access_token end |
#issuer ⇒ Object
Returns the value of attribute issuer.
9 10 11 |
# File 'lib/idsimple/rack/configuration.rb', line 9 def issuer @issuer end |
#logger ⇒ Object
Returns the value of attribute logger.
9 10 11 |
# File 'lib/idsimple/rack/configuration.rb', line 9 def logger @logger end |
#redirect_to_authenticate ⇒ Object
Returns the value of attribute redirect_to_authenticate.
9 10 11 |
# File 'lib/idsimple/rack/configuration.rb', line 9 def redirect_to_authenticate @redirect_to_authenticate end |
#remove_access_token ⇒ Object
Returns the value of attribute remove_access_token.
9 10 11 |
# File 'lib/idsimple/rack/configuration.rb', line 9 def remove_access_token @remove_access_token end |
#set_access_token ⇒ Object
Returns the value of attribute set_access_token.
9 10 11 |
# File 'lib/idsimple/rack/configuration.rb', line 9 def set_access_token @set_access_token end |
#signing_secret ⇒ Object
Returns the value of attribute signing_secret.
9 10 11 |
# File 'lib/idsimple/rack/configuration.rb', line 9 def signing_secret @signing_secret end |
#skip_on ⇒ Object
Returns the value of attribute skip_on.
9 10 11 |
# File 'lib/idsimple/rack/configuration.rb', line 9 def skip_on @skip_on end |
#unauthorized_response ⇒ Object
Returns the value of attribute unauthorized_response.
9 10 11 |
# File 'lib/idsimple/rack/configuration.rb', line 9 def @unauthorized_response end |
Instance Method Details
#enabled? ⇒ Boolean
18 19 20 |
# File 'lib/idsimple/rack/configuration.rb', line 18 def enabled? enabled end |