Module: Idsimple::Rack

Defined in:
lib/idsimple/rack.rb,
lib/idsimple/rack/api.rb,
lib/idsimple/rack/helper.rb,
lib/idsimple/rack/railtie.rb,
lib/idsimple/rack/version.rb,
lib/idsimple/rack/configuration.rb,
lib/idsimple/rack/authenticator_app.rb,
lib/idsimple/rack/access_token_helper.rb,
lib/idsimple/rack/validator_middleware.rb,
lib/idsimple/rack/access_token_validator.rb,
lib/idsimple/rack/access_token_validation_result.rb

Defined Under Namespace

Modules: Helper Classes: AccessTokenHelper, AccessTokenValidationResult, AccessTokenValidator, Api, AuthenticatorApp, Configuration, Railtie, ValidatorMiddleware

Constant Summary collapse

VERSION =
"0.1.1"

Class Method Summary collapse

Class Method Details

.configurationObject



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

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



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

def self.configure
  yield(configuration)
end

.reset_configurationObject



13
14
15
# File 'lib/idsimple/rack.rb', line 13

def self.reset_configuration
  @configuration = Configuration.new
end