Class: Rack::OAuth2::Server::Authorize::Token::Response

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

Direct Known Subclasses

Extension::CodeAndToken::Response

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



27
28
29
30
31
32
33
# File 'lib/rack/oauth2/server/authorize/token.rb', line 27

def protocol_params
  super.merge(
    access_token.token_response.delete_if do |k, v|
      k == :refresh_token
    end
  )
end

#protocol_params_locationObject



35
36
37
# File 'lib/rack/oauth2/server/authorize/token.rb', line 35

def protocol_params_location
  :fragment
end