Record Class MockAccessSessionOptions
java.lang.Object
java.lang.Record
io.leandev.appfuse.security.auth.mock.MockAccessSessionOptions
-
Constructor Summary
ConstructorsConstructorDescriptionMockAccessSessionOptions(String cookieName, Duration maxAccessTtl, Duration maxSessionTtl, Duration issuanceReplayWindow) Creates an instance of aMockAccessSessionOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecookieNamerecord component.static MockAccessSessionOptionsdefaults()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theissuanceReplayWindowrecord component.Returns the value of themaxAccessTtlrecord component.Returns the value of themaxSessionTtlrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MockAccessSessionOptions
public MockAccessSessionOptions(String cookieName, Duration maxAccessTtl, Duration maxSessionTtl, Duration issuanceReplayWindow) Creates an instance of aMockAccessSessionOptionsrecord class.- Parameters:
cookieName- the value for thecookieNamerecord componentmaxAccessTtl- the value for themaxAccessTtlrecord componentmaxSessionTtl- the value for themaxSessionTtlrecord componentissuanceReplayWindow- the value for theissuanceReplayWindowrecord component
-
-
Method Details
-
defaults
-
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). -
cookieName
Returns the value of thecookieNamerecord component.- Returns:
- the value of the
cookieNamerecord component
-
maxAccessTtl
Returns the value of themaxAccessTtlrecord component.- Returns:
- the value of the
maxAccessTtlrecord component
-
maxSessionTtl
Returns the value of themaxSessionTtlrecord component.- Returns:
- the value of the
maxSessionTtlrecord component
-
issuanceReplayWindow
Returns the value of theissuanceReplayWindowrecord component.- Returns:
- the value of the
issuanceReplayWindowrecord component
-