Record Class EmailVerificationLink.Claim
java.lang.Object
java.lang.Record
com.iizix.server.security.EmailVerificationLink.Claim
- Record Components:
email- The address to verify.userID- The user ID the address belongs to.expiresAt- The expiry time, milliseconds since the epoch.
- Enclosing class:
EmailVerificationLink
Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionemail()Returns the value of theemailrecord component.final booleanIndicates whether some other object is "equal to" this one.longReturns the value of theexpiresAtrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.longuserID()Returns the value of theuserIDrecord component.
Constructor Details
Claim
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.email
userID
expiresAt