Class: Types::Namespaces::NamespaceSettingsType

Inherits:
BaseObject
  • Object
show all
Defined in:
app/graphql/types/namespaces/namespace_settings_type.rb

Instance Method Summary collapse

Methods inherited from BaseObject

accepts, assignable?, authorization, authorization_scopes, authorize, authorized?, #current_user, #id

Methods included from Gitlab::Graphql::Present

#present, #unpresented

Instance Method Details

#step_up_auth_required_oauth_providerObject



16
17
18
19
20
# File 'app/graphql/types/namespaces/namespace_settings_type.rb', line 16

def step_up_auth_required_oauth_provider
  return unless Feature.enabled?(:omniauth_step_up_auth_for_namespace, object.namespace)

  object.step_up_auth_required_oauth_provider
end