Class TrustedDeviceFactor
java.lang.Object
com.irurueta.authserver.authorization.api.web.mfa.TrustedDeviceFactor
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeclares the trusted-device factor.
-
Field Details
-
ID
Identifier of the factor.- See Also:
-
AMR_VALUE
Value the factor would have inamr. RFC 8176 has none for a remembered device, and the factor is never reported, so it is only a label.- See Also:
-
AUTHORITY
Authority granted byTrustedDeviceFilterwhen the browser presents a valid trusted-device cookie.- See Also:
-
-
Constructor Details
-
TrustedDeviceFactor
public TrustedDeviceFactor()
-
-
Method Details
-
trustedDeviceAuthenticationFactor
Declares the trusted-device factor.- Returns:
- the factor.
-