Record Class StrongAuthGuards.Enrolled
java.lang.Object
java.lang.Record
com.iizix.server.user.mfa.StrongAuthGuards.Enrolled
- Record Components:
userName- The user name.factors- The strong factors the user has enrolled:passkeywhen at least one passkey is registered,totpwhen an authenticator app is set up.
- Enclosing class:
StrongAuthGuards
Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.factors()Returns the value of thefactorsrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.userName()Returns the value of theuserNamerecord component.
Constructor Details
Enrolled
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. All components in this record class are compared withObjects::equals(Object,Object).userName
factors