Record Class UserMFA.Confirmed
java.lang.Object
java.lang.Record
com.iizix.server.user.mfa.UserMFA.Confirmed
- Record Components:
recoveryCodes- The recovery codes, in clear, this once.completesSignIn- Whether a sign-in of the session waited for this enrolment: the caller signs the user in now.
- Enclosing class:
UserMFA
Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thecompletesSignInrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.String[]Returns the value of therecoveryCodesrecord component.final StringtoString()Returns a string representation of this record class.
Constructor Details
Confirmed
Creates an instance of aConfirmedrecord class.- Parameters:
recoveryCodes- the value for therecoveryCodesrecord componentcompletesSignIn- the value for thecompletesSignInrecord component
Method Details
toString
hashCode
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes.recoveryCodes
Returns the value of therecoveryCodesrecord component.- Returns:
- the value of the
recoveryCodesrecord component
completesSignIn
public boolean completesSignIn()Returns the value of thecompletesSignInrecord component.- Returns:
- the value of the
completesSignInrecord component