Class: Rack::OAuth2::Server::Token::Extension::Example::Request

Inherits:
Request show all
Defined in:
lib/rack/oauth2/server/token/extension/example.rb

Instance Method Summary collapse

Methods inherited from Abstract::Request

#attr_missing!

Constructor Details

#initialize(env) ⇒ Request

Returns a new instance of Request.



25
26
27
28
29
30
# File 'lib/rack/oauth2/server/token/extension/example.rb', line 25

def initialize(env)
  super
  @grant_type = GRANT_TYPE_URN
  @assertion = params['assertion']
  attr_missing!
end