Class: Rack::OAuth2::Server::Authorize::Code::Response

Inherits:
Response show all
Defined in:
lib/rack/oauth2/server/authorize/code.rb

Instance Method Summary collapse

Methods inherited from Response

#approve!, #approved?, #finish, #initialize, #redirect_uri_with_credentials

Methods inherited from Rack::OAuth2::Server::Abstract::Response

#initialize

Constructor Details

This class inherits a constructor from Rack::OAuth2::Server::Authorize::Response

Instance Method Details

#protocol_paramsObject



29
30
31
# File 'lib/rack/oauth2/server/authorize/code.rb', line 29

def protocol_params
  super.merge(code: code)
end

#protocol_params_locationObject



33
34
35
# File 'lib/rack/oauth2/server/authorize/code.rb', line 33

def protocol_params_location
  :query
end