Record Class SessionMutations.CompleteRefresh
java.lang.Object
java.lang.Record
io.fluxzero.idp.bff.session.api.SessionMutations.CompleteRefresh
- Enclosing class:
SessionMutations
public static record SessionMutations.CompleteRefresh(ApplicationSessionId applicationSessionId, String claim, Instant now, SessionProtection.SealedValue value, PlaintextValue plaintextValue)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCompleteRefresh(ApplicationSessionId id, String claim, Instant now, SessionProtection.SealedValue value) CompleteRefresh(ApplicationSessionId applicationSessionId, String claim, Instant now, SessionProtection.SealedValue value, PlaintextValue plaintextValue) Creates an instance of aCompleteRefreshrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplicationSessionIdrecord component.claim()Returns the value of theclaimrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.now()Returns the value of thenowrecord component.Returns the value of theplaintextValuerecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
CompleteRefresh
public CompleteRefresh(ApplicationSessionId id, String claim, Instant now, SessionProtection.SealedValue value) -
CompleteRefresh
public CompleteRefresh(ApplicationSessionId applicationSessionId, String claim, Instant now, SessionProtection.SealedValue value, PlaintextValue plaintextValue) Creates an instance of aCompleteRefreshrecord class.- Parameters:
applicationSessionId- the value for theapplicationSessionIdrecord componentclaim- the value for theclaimrecord componentnow- the value for thenowrecord componentvalue- the value for thevaluerecord componentplaintextValue- the value for theplaintextValuerecord 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). -
applicationSessionId
Returns the value of theapplicationSessionIdrecord component.- Returns:
- the value of the
applicationSessionIdrecord component
-
claim
Returns the value of theclaimrecord component.- Returns:
- the value of the
claimrecord component
-
now
Returns the value of thenowrecord component.- Returns:
- the value of the
nowrecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
plaintextValue
Returns the value of theplaintextValuerecord component.- Returns:
- the value of the
plaintextValuerecord component
-