class OmniAuth::Strategies::Office365

Public Instance Methods

authorize_params() click to toggle source
Calls superclass method
# File lib/omniauth/strategies/ms_office365.rb, line 14
def authorize_params
  options.authorize_params[:scope] = 'offline_access openid User.Read Contacts.Read'
  super
end
raw_info() click to toggle source
# File lib/omniauth/strategies/ms_office365.rb, line 35
def raw_info
  @raw_info ||= access_token.get('https://graph.microsoft.com/v1.0/me').parsed
end