Package de.xima.fc.user.access
Class MfaCheckResult
- java.lang.Object
-
- de.xima.fc.user.access.MfaCheckResult
-
- All Implemented Interfaces:
Serializable
public final class MfaCheckResult extends Object implements Serializable
Result of aMfaCheckercheck.- Since:
- 8.5.6
- Author:
- Norman Lorenz
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMfaCheckResult.BuilderBuilder forMfaCheckResult.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MfaCheckResult.Builderbuilder()booleanequals(Object o)MfaMethodgetMethod()The method the user configured, ornullif the user has not configured any method.MfaRequirementSourcegetSource()Who requires multi-factor authentication, ornullif the status isMfaStatus.NOT_REQUIRED.MfaStatusgetStatus()The multi-factor authentication status of the user.inthashCode()booleanisRequired()Returns whether the user has to complete multi-factor authentication now.booleanisSetupPending()Whether the user configured a method whose setup is not yet completed.StringtoString()
-
-
-
Method Detail
-
isRequired
public boolean isRequired()
Returns whether the user has to complete multi-factor authentication now.- Returns:
trueif the status isMfaStatus.REQUIRED- Since:
- 8.5.6
-
builder
public static MfaCheckResult.Builder builder()
-
getStatus
public MfaStatus getStatus()
The multi-factor authentication status of the user.
-
getSource
public MfaRequirementSource getSource()
Who requires multi-factor authentication, ornullif the status isMfaStatus.NOT_REQUIRED.
-
getMethod
public MfaMethod getMethod()
The method the user configured, ornullif the user has not configured any method.
-
isSetupPending
public boolean isSetupPending()
Whether the user configured a method whose setup is not yet completed.
-
-