Base
The Implicit Strategy
@see tools.ietf.org/html/draft-ietf-oauth-v2-26#section-4.2
The required query parameters for the authorize URL
@param [Hash] params additional query parameters
# File lib/oauth2/strategy/implicit.rb, line 10 def authorize_params(params={}) params.merge('response_type' => 'token', 'client_id' => @client.id) end
The authorization URL endpoint of the provider
@param [Hash] params additional query parameters for the URL
# File lib/oauth2/strategy/implicit.rb, line 17 def authorize_url(params={}) @client.authorize_url(authorize_params.merge(params)) end
Not used for this strategy
@raise [NotImplementedError]
# File lib/oauth2/strategy/implicit.rb, line 24 def get_token(*) raise NotImplementedError, "The token is accessed differently in this strategy" end
[Validate]
Generated with the Darkfish Rdoc Generator 2.