Class MfaVerificationResultDto
java.lang.Object
de.xima.fc.auth.MfaVerificationResultDto
- All Implemented Interfaces:
Serializable
Model representing the result of a multi-factor authentication (MFA) verification.
- Since:
- 8.4.0
- Author:
- Norman Lorenz
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMfaVerificationResultDto(boolean success, org.pac4j.core.profile.UserProfile pac4jProfile) Creates a newMfaVerificationResultDtoinstance. -
Method Summary
-
Constructor Details
-
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
-
-
Method Details
-
isSuccess
public boolean isSuccess()Indicates whether the MFA verification was successful. -
getPac4jProfile
public org.pac4j.core.profile.UserProfile getPac4jProfile()Optionally the Pac4j user profile if the verification was successful. This is null for external login services -
equals
-
hashCode
-
toString
-