Record Class SessionProtection.Context
java.lang.Object
java.lang.Record
io.fluxzero.idp.bff.session.SessionProtection.Context
- Enclosing interface:
SessionProtection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplicationrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpiresAtrecord component.final inthashCode()Returns a hash code value for this object.purpose()Returns the value of thepurposerecord component.recordId()Returns the value of therecordIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Context
Creates an instance of aContextrecord class.- Parameters:
application- the value for theapplicationrecord componentpurpose- the value for thepurposerecord componentrecordId- the value for therecordIdrecord componentexpiresAt- the value for theexpiresAtrecord component
-
-
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). -
application
Returns the value of theapplicationrecord component.- Returns:
- the value of the
applicationrecord component
-
purpose
Returns the value of thepurposerecord component.- Returns:
- the value of the
purposerecord component
-
recordId
Returns the value of therecordIdrecord component.- Returns:
- the value of the
recordIdrecord component
-
expiresAt
Returns the value of theexpiresAtrecord component.- Returns:
- the value of the
expiresAtrecord component
-