Class: OmniAuth::Strategies::GPlus

Inherits:
OAuth2
  • Object
show all
Defined in:
lib/omniauth/strategies/gplus.rb

Defined Under Namespace

Classes: NoAuthorizationCodeError, UnknownSignatureAlgorithmError

Instance Method Summary collapse

Instance Method Details

#authorize_paramsObject


48
49
50
51
52
53
54
55
# File 'lib/omniauth/strategies/gplus.rb', line 48

def authorize_params
  super.tap do |params|
    params['scope'] = format_scopes(params['scope'])
    params['request_visible_actions'] = format_actions(params['request_visible_actions']) if params['request_visible_actions']
    custom_parameters(params)
    add_openid_realm_if_present(params)
  end
end