Class TrustedDeviceFactor

java.lang.Object
com.irurueta.authserver.authorization.api.web.mfa.TrustedDeviceFactor

@Configuration(proxyBeanMethods=false) public class TrustedDeviceFactor extends Object
Registers the trusted device as an authentication factor of strength FactorStrength.REMEMBERED: together with the password it satisfies the sign-in policy, so a trusted browser is not asked for the code again, but it is never reported in amr, acr or auth_time and never satisfies a step-up request (acr_values asking for the multi-factor class, max_age), which still needs a real second factor.
  • Field Details

  • Constructor Details

    • TrustedDeviceFactor

      public TrustedDeviceFactor()
  • Method Details

    • trustedDeviceAuthenticationFactor

      @Bean public AuthenticationFactor trustedDeviceAuthenticationFactor()
      Declares the trusted-device factor.
      Returns:
      the factor.