Record Class SessionContextBinding
java.lang.Object
java.lang.Record
io.leandev.appfuse.security.auth.SessionContextBinding
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSessionContextBinding(String value, String app, Instant activationExpiresAt) Creates an instance of aSessionContextBindingrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theactivationExpiresAtrecord component.app()Returns the value of theapprecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanpending()final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Field Details
-
CLAIM
- See Also:
-
PENDING_CLAIM
- See Also:
-
-
Constructor Details
-
SessionContextBinding
Creates an instance of aSessionContextBindingrecord class.- Parameters:
value- the value for thevaluerecord componentapp- the value for theapprecord componentactivationExpiresAt- the value for theactivationExpiresAtrecord component
-
-
Method Details
-
pending
public boolean pending() -
activated
-
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). -
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
app
Returns the value of theapprecord component.- Returns:
- the value of the
apprecord component
-
activationExpiresAt
Returns the value of theactivationExpiresAtrecord component.- Returns:
- the value of the
activationExpiresAtrecord component
-