Record Class SessionMutations.BeginLogin
java.lang.Object
java.lang.Record
io.fluxzero.idp.bff.session.api.SessionMutations.BeginLogin
- Enclosing class:
SessionMutations
public static record SessionMutations.BeginLogin(LoginTransactionId loginTransactionId, String stateDigest, Instant expiresAt, SessionProtection.SealedValue value, PlaintextValue plaintextValue)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBeginLogin(LoginTransactionId id, String stateDigest, Instant expiresAt, SessionProtection.SealedValue value) BeginLogin(LoginTransactionId loginTransactionId, String stateDigest, Instant expiresAt, SessionProtection.SealedValue value, PlaintextValue plaintextValue) Creates an instance of aBeginLoginrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal 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 theloginTransactionIdrecord component.Returns the value of theplaintextValuerecord component.Returns the value of thestateDigestrecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
BeginLogin
public BeginLogin(LoginTransactionId id, String stateDigest, Instant expiresAt, SessionProtection.SealedValue value) -
BeginLogin
public BeginLogin(LoginTransactionId loginTransactionId, String stateDigest, Instant expiresAt, SessionProtection.SealedValue value, PlaintextValue plaintextValue) Creates an instance of aBeginLoginrecord class.- Parameters:
loginTransactionId- the value for theloginTransactionIdrecord componentstateDigest- the value for thestateDigestrecord 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). -
loginTransactionId
Returns the value of theloginTransactionIdrecord component.- Returns:
- the value of the
loginTransactionIdrecord component
-
stateDigest
Returns the value of thestateDigestrecord component.- Returns:
- the value of the
stateDigestrecord 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
-