Record Class SessionMutations.OpenSession
java.lang.Object
java.lang.Record
io.fluxzero.idp.bff.session.api.SessionMutations.OpenSession
- Enclosing class:
SessionMutations
public static record SessionMutations.OpenSession(ApplicationSessionId applicationSessionId, RelyingPartySessionId relyingPartySessionId, Instant expiresAt, SessionProtection.SealedValue value, PlaintextValue plaintextValue)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionOpenSession(ApplicationSessionId id, RelyingPartySessionId parent, Instant expiresAt, SessionProtection.SealedValue value) OpenSession(ApplicationSessionId applicationSessionId, RelyingPartySessionId relyingPartySessionId, Instant expiresAt, SessionProtection.SealedValue value, PlaintextValue plaintextValue) Creates an instance of aOpenSessionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplicationSessionIdrecord 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.Returns the value of theplaintextValuerecord component.Returns the value of therelyingPartySessionIdrecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
OpenSession
public OpenSession(ApplicationSessionId id, RelyingPartySessionId parent, Instant expiresAt, SessionProtection.SealedValue value) -
OpenSession
public OpenSession(ApplicationSessionId applicationSessionId, RelyingPartySessionId relyingPartySessionId, Instant expiresAt, SessionProtection.SealedValue value, PlaintextValue plaintextValue) Creates an instance of aOpenSessionrecord class.- Parameters:
applicationSessionId- the value for theapplicationSessionIdrecord componentrelyingPartySessionId- the value for therelyingPartySessionIdrecord componentexpiresAt- the value for theexpiresAtrecord 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
-
relyingPartySessionId
Returns the value of therelyingPartySessionIdrecord component.- Returns:
- the value of the
relyingPartySessionIdrecord component
-
expiresAt
Returns the value of theexpiresAtrecord component.- Returns:
- the value of the
expiresAtrecord 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
-