Skip to content

Commit

Permalink
Address enough Yardstick items to meet threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
bjeanes committed Dec 26, 2016
1 parent 42339f2 commit 8c58534
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/oauth2/client.rb
Expand Up @@ -183,7 +183,7 @@ def assertion
@assertion ||= OAuth2::Strategy::Assertion.new(self)
end

# The redirect_uri parameters, if configured.
# The redirect_uri parameters, if configured
#
# The redirect_uri query parameter is OPTIONAL (though encouraged) when
# requesting authorization. If it is provided at authorization time it MUST
Expand All @@ -192,10 +192,13 @@ def assertion
# Providing the :redirect_uri to the OAuth2::Client instantiation will take
# care of managing this.
#
# @api semipublic
#
# @see https://tools.ietf.org/html/rfc6749#section-4.1
# @see https://tools.ietf.org/html/rfc6749#section-4.1.3
# @see https://tools.ietf.org/html/rfc6749#section-4.2.1
# @see https://tools.ietf.org/html/rfc6749#section-10.6
# @return [Hash] the params to add to a request or URL
def redirection_params
if options[:redirect_uri]
{'redirect_uri' => options[:redirect_uri]}
Expand Down

0 comments on commit 8c58534

Please sign in to comment.