Module: OmniAuth::SAML::MultiProvider
- Defined in:
- lib/omniauth-multi-provider-saml.rb,
lib/omniauth/saml/multi_provider/handler.rb,
lib/omniauth/saml/multi_provider/version.rb
Defined Under Namespace
Classes: Handler
Constant Summary collapse
- VERSION =
'0.1.0'
Class Method Summary collapse
Class Method Details
.register(builder, path_prefix: OmniAuth.config.path_prefix, identity_provider_id_regex: /\w+/, **options, &dynamic_options_generator) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/omniauth-multi-provider-saml.rb', line 7 def self.register(builder, path_prefix: OmniAuth.config.path_prefix, identity_provider_id_regex: /\w+/, **, &) handler = OmniAuth::SAML::MultiProvider::Handler.new(path_prefix: path_prefix, identity_provider_id_regex: identity_provider_id_regex, &) = .merge(path_prefix: path_prefix) builder.provider(:saml, .merge(handler.)) end |