Welcome to mirror list, hosted at ThFree Co, Russian Federation.

config.rb « saml « auth « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2760b1a3247d00071793a8efd72095732eec53d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module Gitlab
  module Auth
    module Saml
      class Config
        class << self
          def options
            Gitlab::Auth::OAuth::Provider.config_for('saml')
          end

          def groups
            options[:groups_attribute]
          end

          def external_groups
            options[:external_groups]
          end
        end
      end
    end
  end
end