Class: OmniAuth::Strategies::GitLab

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

Instance Method Summary collapse

Instance Method Details

#callback_urlObject



30
31
32
# File 'lib/omniauth/strategies/gitlab.rb', line 30

def callback_url
  options.redirect_url || (full_host + callback_path)
end

#raw_infoObject



26
27
28
# File 'lib/omniauth/strategies/gitlab.rb', line 26

def raw_info
  @raw_info ||= access_token.get('api/v4/user').parsed
end