Class: Rack::OAuth2::Server::Token::AuthorizationCode::Request

Inherits:
Request show all
Includes:
Extension::PKCE::TokenRequest
Defined in:
lib/rack/oauth2/server/token/authorization_code.rb

Instance Method Summary collapse

Methods included from Extension::PKCE::TokenRequest

included, #verify_code_verifier!

Methods inherited from Abstract::Request

#attr_missing!

Constructor Details

#initialize(env) ⇒ Request

Returns a new instance of Request.



18
19
20
21
22
23
24
# File 'lib/rack/oauth2/server/token/authorization_code.rb', line 18

def initialize(env)
  super
  @grant_type   = :authorization_code
  @code         = params['code']
  @redirect_uri = params['redirect_uri']
  attr_missing!
end