gitlab-org--gitlab-foss/lib/gitlab/saml/auth_hash.rb
2016-04-04 19:09:12 -05:00

17 lines
254 B
Ruby

module Gitlab
module Saml
class AuthHash < Gitlab::OAuth::AuthHash
def groups
get_raw(Gitlab::Saml::Config.groups)
end
private
def get_raw(key)
auth_hash.extra[:raw_info][key]
end
end
end
end