Class: Gitlab::Auth::Saml::Config
- Inherits:
-
Object
- Object
- Gitlab::Auth::Saml::Config
- Defined in:
- lib/gitlab/auth/saml/config.rb
Class Method Summary collapse
- .admin_groups ⇒ Object
- .external_groups ⇒ Object
- .groups ⇒ Object
- .options ⇒ Object
- .upstream_two_factor_authn_contexts ⇒ Object
Class Method Details
.admin_groups ⇒ Object
24 25 26 |
# File 'lib/gitlab/auth/saml/config.rb', line 24 def admin_groups [:admin_groups] end |
.external_groups ⇒ Object
20 21 22 |
# File 'lib/gitlab/auth/saml/config.rb', line 20 def external_groups [:external_groups] end |
.groups ⇒ Object
16 17 18 |
# File 'lib/gitlab/auth/saml/config.rb', line 16 def groups [:groups_attribute] end |
.options ⇒ Object
8 9 10 |
# File 'lib/gitlab/auth/saml/config.rb', line 8 def Gitlab::Auth::OAuth::Provider.config_for('saml') end |
.upstream_two_factor_authn_contexts ⇒ Object
12 13 14 |
# File 'lib/gitlab/auth/saml/config.rb', line 12 def upstream_two_factor_authn_contexts .args[:upstream_two_factor_authn_contexts] end |