Record Class SignInMethods.Method
java.lang.Object
java.lang.Record
com.iizix.user.SignInMethods.Method
- Record Components:
kind- The method, aMETHOD_name ofSignInPolicy, e.g.totporrecovery.enrolled- The time it was enrolled or made, milliseconds since the epoch.lastUsed- The time it was last used, milliseconds since the epoch, zero for never.count- For the recovery codes, the codes that are left; 1 for any other method.
- Enclosing class:
SignInMethods
Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionintcount()Returns the value of thecountrecord component.longenrolled()Returns the value of theenrolledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.kind()Returns the value of thekindrecord component.longlastUsed()Returns the value of thelastUsedrecord component.final StringtoString()Returns a string representation of this record class.
Constructor Details
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.kind
enrolled
lastUsed
count