Record Class SignInMethods.TotpEntry
java.lang.Object
java.lang.Record
com.iizix.user.SignInMethods.TotpEntry
- Record Components:
issuer- The issuer, e.g. the server's name.account- The account, the user name at the enrolment.stored- true when both come from the enrolment, false when the issuer is the server's of today and the account the user name of today.
- Enclosing class:
SignInMethods
public static record SignInMethods.TotpEntry(String issuer, String account, boolean stored) extends Record
The entry of a user's authenticator app, as the app shows it: the issuer and the account of the
otpauth:// URI the enrolment's QR code carried (CC-FIX-SIGNIN-RECOVERY). An enrolment made before the names were stored has none: the server's issuer of today stands in, and stored says so, so that the page can say the entry may carry an earlier name.- Author:
- Christopher Mindus
Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionaccount()Returns the value of theaccountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.issuer()Returns the value of theissuerrecord component.booleanstored()Returns the value of thestoredrecord component.final StringtoString()Returns a string representation of this record class.
Constructor Details
TotpEntry
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.issuer
account
stored