lib/saml/url_service.rb
# Builds the urls to trigger various SSO policies: mhv, dslogon, idme, mfa, or verify flows.
# link_authn_context is the new proposed authn_context
Builds the urls to trigger various SSO policies: mhv, dslogon, idme, mfa, or verify flows.
Builds the urls to trigger various SSO policies : mhv dslogon idme mfa or verify flows .
def build_sso_url(link_authn_context, authn_con_compare = AuthnContext::EXACT)
      @query_params[:RelayState] = relay_state_params
      new_url_settings = url_settings
      new_url_settings.authn_context = link_authn_context
      new_url_settings.authn_context_comparison = authn_con_compare
      saml_auth_request = OneLogin::RubySaml::Authrequest.new
      save_saml_request_tracker(saml_auth_request.uuid, link_authn_context)
      saml_auth_request.create(new_url_settings, query_params)
    end
def build_sso_url ( link_authn_context , authn_con_compare = AuthnContext :: EXACT ) @query_params [ :RelayState ] = relay_state_params new_url_settings = url_settings new_url_settings . authn_context = link_authn_context new_url_settings . authn_context_comparison = authn_con_compare saml_auth_request = OneLogin :: RubySaml :: Authrequest . new save_saml_request_tracker ( saml_auth_request . uuid , link_authn_context ) saml_auth_request . create ( new_url_settings , query_params ) end
Builds the urls to trigger various SSO policies: mhv, dslogon, idme, mfa, or verify flows.
Builds the urls to trigger various SSO policies : mhv dslogon idme mfa or verify flows .
link_authn_context
authn_con_compare