gitlab-org--gitlab-foss/lib/gitlab/auth/omniauth_identity_linker_ba...

22 lines
380 B
Ruby
Raw Normal View History

module Gitlab
module Auth
class OmniauthIdentityLinkerBase
attr_reader :current_user, :oauth
def initialize(current_user, oauth)
@current_user = current_user
@oauth = oauth
@created = false
end
def created?
@created
end
def create_or_update
raise NotImplementedError
end
end
end
end