Record Class ModelBffSessionStore.RefreshClaim
java.lang.Object
java.lang.Record
io.fluxzero.idp.bff.session.ModelBffSessionStore.RefreshClaim
- Enclosing class:
ModelBffSessionStore
public static record ModelBffSessionStore.RefreshClaim(BrowserHandle cookie, String claim, Instant expiresAt, Instant deadline)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionRefreshClaim(BrowserHandle cookie, String claim, Instant expiresAt, Instant deadline) Creates an instance of aRefreshClaimrecord class. -
Method Summary
Modifier and TypeMethodDescriptionclaim()Returns the value of theclaimrecord component.cookie()Returns the value of thecookierecord component.deadline()Returns the value of thedeadlinerecord 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.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RefreshClaim
Creates an instance of aRefreshClaimrecord class.- Parameters:
cookie- the value for thecookierecord componentclaim- the value for theclaimrecord componentexpiresAt- the value for theexpiresAtrecord componentdeadline- the value for thedeadlinerecord 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). -
cookie
Returns the value of thecookierecord component.- Returns:
- the value of the
cookierecord component
-
claim
Returns the value of theclaimrecord component.- Returns:
- the value of the
claimrecord component
-
expiresAt
Returns the value of theexpiresAtrecord component.- Returns:
- the value of the
expiresAtrecord component
-
deadline
Returns the value of thedeadlinerecord component.- Returns:
- the value of the
deadlinerecord component
-