Class: Idsimple::Rack::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/idsimple/rack/configuration.rb

Constant Summary collapse

"idsimple.access_token"

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_pathObject

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_pathObject

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_urlObject

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_keyObject

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_idObject

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_pathObject

Returns the value of attribute authenticate_path.



9
10
11
# File 'lib/idsimple/rack/configuration.rb', line 9

def authenticate_path
  @authenticate_path
end

#enabledObject

Returns the value of attribute enabled.



9
10
11
# File 'lib/idsimple/rack/configuration.rb', line 9

def enabled
  @enabled
end

#get_access_tokenObject

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

#issuerObject

Returns the value of attribute issuer.



9
10
11
# File 'lib/idsimple/rack/configuration.rb', line 9

def issuer
  @issuer
end

#loggerObject

Returns the value of attribute logger.



9
10
11
# File 'lib/idsimple/rack/configuration.rb', line 9

def logger
  @logger
end

#redirect_to_authenticateObject

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_tokenObject

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_tokenObject

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_secretObject

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_onObject

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_responseObject

Returns the value of attribute unauthorized_response.



9
10
11
# File 'lib/idsimple/rack/configuration.rb', line 9

def unauthorized_response
  @unauthorized_response
end

Instance Method Details

#enabled?Boolean

Returns:

  • (Boolean)


18
19
20
# File 'lib/idsimple/rack/configuration.rb', line 18

def enabled?
  enabled
end