Module: DeviseSamlAuthenticatable::SamlConfig

Included in:
Devise::SamlSessionsController, Devise::Strategies::SamlAuthenticatable
Defined in:
lib/devise_saml_authenticatable/saml_config.rb

Instance Method Summary collapse

Instance Method Details

#saml_config(idp_entity_id = nil) ⇒ Object


4
5
6
7
8
9
# File 'lib/devise_saml_authenticatable/saml_config.rb', line 4

def saml_config(idp_entity_id = nil)
  return file_based_config if file_based_config
  return adapter_based_config(idp_entity_id) if Devise.idp_settings_adapter

  Devise.saml_config
end