Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/uaa/token_issuer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ def client_credentials_grant(scope = nil)
# Uses the instance client credentials and the given +refresh_token+ to get
# a new access token. See http://tools.ietf.org/html/rfc6749#section-6
# @return [TokenInfo] which may include a new refresh token as well as an access token.
def refresh_token_grant(refresh_token, scope = nil)
request_token(:grant_type => 'refresh_token', :refresh_token => refresh_token, :scope => scope)
def refresh_token_grant(refresh_token, scope = nil, additional_args = {})
request_token({:grant_type => 'refresh_token', :refresh_token => refresh_token, :scope => scope}.merge(additional_args))
end

end
Expand Down