Package de.xima.fc.auth
Class MfaVerificationResultDto
- java.lang.Object
-
- de.xima.fc.auth.MfaVerificationResultDto
-
- All Implemented Interfaces:
Serializable
public final class MfaVerificationResultDto extends Object implements Serializable
Model representing the result of a multi-factor authentication (MFA) verification.- Since:
- 8.4.0
- Author:
- Norman Lorenz
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MfaVerificationResultDto(boolean success, org.pac4j.core.profile.UserProfile pac4jProfile)Creates a newMfaVerificationResultDtoinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)org.pac4j.core.profile.UserProfilegetPac4jProfile()Optionally the Pac4j user profile if the verification was successful.inthashCode()booleanisSuccess()Indicates whether the MFA verification was successful.StringtoString()
-
-
-
Constructor Detail
-
MfaVerificationResultDto
public MfaVerificationResultDto(boolean success, org.pac4j.core.profile.UserProfile pac4jProfile)Creates a newMfaVerificationResultDtoinstance.- Parameters:
success- Indicates whether the MFA verification was successful.pac4jProfile- Optionally the Pac4j user profile if the verification was successful. This is null for external login services
-
-