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,
lib/warden/oauth2/strategies/refresh_token.rb,
lib/warden/oauth2/strategies/client_credentials.rb,
lib/warden/oauth2/strategies/issuing_access_token.rb,
lib/warden/oauth2/strategies/accessing_protected_resource.rb,
lib/warden/oauth2/strategies/resource_owner_password_credentials.rb

Defined Under Namespace

Modules: Strategies Classes: Configuration, ErrorApp, FailureApp

Constant Summary collapse

VERSION =
'0.1.2'

Class Method Summary collapse

Class Method Details

.configObject



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

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

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

Yields:



24
25
26
# File 'lib/warden/oauth2.rb', line 24

def self.configure
  yield config
end