Class: Rack::OAuth2::Server::Token::AuthorizationCode::Request
- Inherits:
-
Request
- Object
- Request
- Abstract::Request
- Request
- Rack::OAuth2::Server::Token::AuthorizationCode::Request
- Includes:
- Extension::PKCE::TokenRequest
- Defined in:
- lib/rack/oauth2/server/token/authorization_code.rb
Instance Method Summary collapse
-
#initialize(env) ⇒ Request
constructor
A new instance of Request.
Methods included from Extension::PKCE::TokenRequest
included, #verify_code_verifier!
Methods inherited from Abstract::Request
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 |