Class: Gitlab::Auth::Saml::IdentityLinker

Inherits:
OmniauthIdentityLinkerBase show all
Extended by:
Utils::Override
Defined in:
lib/gitlab/auth/saml/identity_linker.rb

Constant Summary collapse

UnverifiedRequest =
Class.new(StandardError)

Instance Attribute Summary

Attributes inherited from OmniauthIdentityLinkerBase

#current_user, #oauth, #session

Instance Method Summary collapse

Methods included from Utils::Override

extended, extensions, included, method_added, override, prepended, queue_verification, verify!

Methods inherited from OmniauthIdentityLinkerBase

#authorization_required?, #changed?, #error_message, #failed?, #initialize, #provider, #uid

Constructor Details

This class inherits a constructor from Gitlab::Auth::OmniauthIdentityLinkerBase

Instance Method Details



12
13
14
15
16
# File 'lib/gitlab/auth/saml/identity_linker.rb', line 12

def link
  raise_unless_request_is_gitlab_initiated! if unlinked?

  super
end