debian-mirror-gitlab/lib/gitlab/auth/saml/config.rb

22 lines
380 B
Ruby
Raw Normal View History

2018-03-27 19:54:05 +05:30
module Gitlab
module Auth
module Saml
class Config
class << self
def options
2018-05-09 12:01:36 +05:30
Gitlab::Auth::OAuth::Provider.config_for('saml')
2018-03-27 19:54:05 +05:30
end
def groups
options[:groups_attribute]
end
def external_groups
options[:external_groups]
end
end
end
end
end
end