Module: Rack::OAuth2::Server::Extension::ResponseMode::AuthorizationRequest

Included in:
Authorize::Request
Defined in:
lib/rack/oauth2/server/extension/response_mode.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



7
8
9
# File 'lib/rack/oauth2/server/extension/response_mode.rb', line 7

def self.included(klass)
  klass.send :attr_optional, :response_mode
end

Instance Method Details

#initialize(env) ⇒ Object



11
12
13
14
# File 'lib/rack/oauth2/server/extension/response_mode.rb', line 11

def initialize(env)
  super
  @response_mode = params['response_mode']
end