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)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBeginLogin(LoginTransactionId loginTransactionId, String stateDigest, Instant expiresAt, SessionProtection.SealedValue value) 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 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 loginTransactionId, String stateDigest, Instant expiresAt, SessionProtection.SealedValue value) 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 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
-