Class: Rack::OAuth2::Server::Token::RefreshToken::Request

Inherits:
Rack::OAuth2::Server::Token::Request show all
Defined in:
lib/rack/oauth2/server/token/refresh_token.rb

Instance Method Summary collapse

Methods inherited from Abstract::Request

#attr_missing!

Constructor Details

#initialize(env) ⇒ Request

Returns a new instance of Request.



15
16
17
18
19
20
# File 'lib/rack/oauth2/server/token/refresh_token.rb', line 15

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