Module: Warden::OAuth2

Defined in:
lib/warden/oauth2.rb,
lib/warden/oauth2/version.rb,
lib/warden/oauth2/error_app.rb,
lib/warden/oauth2/failure_app.rb,
lib/warden/oauth2/strategies/base.rb,
lib/warden/oauth2/strategies/token.rb,
lib/warden/oauth2/strategies/bearer.rb,
lib/warden/oauth2/strategies/client.rb,
lib/warden/oauth2/strategies/public.rb

Defined Under Namespace

Modules: Strategies Classes: Configuration, ErrorApp, FailureApp

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.configObject


15
16
17
# File 'lib/warden/oauth2.rb', line 15

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

.configure {|config| ... } ⇒ Object

Yields:


19
20
21
# File 'lib/warden/oauth2.rb', line 19

def self.configure
  yield config
end