lib/saml/user_attributes/ssoe.rb
def loa_current
        assurance =
          if csid == 'logingov'
            safe_attr('va_eauth_ial')&.to_i
          else
            safe_attr('va_eauth_credentialassurancelevel')&.to_i
          end
        @loa_current ||= assurance.present? && assurance > 1 ? 3 : 1
      rescue NoMethodError, KeyError => e
        @warnings << "loa_current error: #{e.message}"
        @loa_current = 1
      end
# va_eauth_credentialassurancelevel is supposed to roll up the
# federated assurance level from credential provider and broker.
# It is currently returning a value of "2" for DSLogon level 2
# so we are interpreting any value greater than 1 as "LOA 3".
va_eauth_credentialassurancelevel is supposed to roll up the
federated assurance level from credential provider and broker.
It is currently returning a value of "2" for DSLogon level 2
so we are interpreting any value greater than 1 as "LOA 3".
va_eauth_credentialassurancelevel is supposed to roll up the federated assurance level from credential provider and broker . It is currently returning a value of " 2 " for DSLogon level 2 so we are interpreting any value greater than 1 as " LOA 3 " .
def loa_current
        assurance =
          if csid == 'logingov'
            safe_attr('va_eauth_ial')&.to_i
          else
            safe_attr('va_eauth_credentialassurancelevel')&.to_i
          end
        @loa_current ||= assurance.present? && assurance > 1 ? 3 : 1
      rescue NoMethodError, KeyError => e
        @warnings << "loa_current error: #{e.message}"
        @loa_current = 1
      end
def loa_current assurance = if csid == 'logingov' safe_attr ( 'va_eauth_ial' ) &. to_i else safe_attr ( 'va_eauth_credentialassurancelevel' ) &. to_i end @loa_current ||= assurance . present? && assurance > 1 ? 3 : 1 rescue NoMethodError , KeyError => e @warnings << "loa_current error: #{e.message}" @loa_current = 1 end
va_eauth_credentialassurancelevel is supposed to roll up the
federated assurance level from credential provider and broker.
va_eauth_credentialassurancelevel is supposed to roll up the federated assurance level from credential provider and broker .