lib/omnicontacts/authorization/oauth2.rb in omnicontacts-0.1.7 vs lib/omnicontacts/authorization/oauth2.rb in omnicontacts-0.2.0
- old
+ new
@@ -25,16 +25,16 @@
private
def authorize_url_params
to_query_string({
- :client_id => client_id,
- :scope => encode(scope),
- :response_type => "code",
- :access_type => "offline",
- :approval_prompt => "force",
- :redirect_uri => encode(redirect_uri)
- })
+ :client_id => client_id,
+ :scope => encode(scope),
+ :response_type => "code",
+ :access_type => "offline",
+ :approval_prompt => "force",
+ :redirect_uri => encode(redirect_uri)
+ })
end
public
# Fetches the access token from the authorization server using the given authorization code.