Record Class BffLoginCoordinator.LoginRedirect
java.lang.Object
java.lang.Record
io.fluxzero.idp.bff.session.BffLoginCoordinator.LoginRedirect
- Enclosing class:
BffLoginCoordinator
public static record BffLoginCoordinator.LoginRedirect(BrowserHandle cookie, Instant expiresAt, String authorizationUrl)
extends Record
Explicit access belongs only to the protected cookie/redirect adapter, never ordinary serialization.
-
Constructor Summary
ConstructorsConstructorDescriptionLoginRedirect(BrowserHandle cookie, Instant expiresAt, String authorizationUrl) Creates an instance of aLoginRedirectrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthorizationUrlrecord component.cookie()Returns the value of thecookierecord 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.toString()Returns a string representation of this record class.
-
Constructor Details
-
LoginRedirect
Creates an instance of aLoginRedirectrecord class.- Parameters:
cookie- the value for thecookierecord componentexpiresAt- the value for theexpiresAtrecord componentauthorizationUrl- the value for theauthorizationUrlrecord 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). -
cookie
Returns the value of thecookierecord component.- Returns:
- the value of the
cookierecord component
-
expiresAt
Returns the value of theexpiresAtrecord component.- Returns:
- the value of the
expiresAtrecord component
-
authorizationUrl
Returns the value of theauthorizationUrlrecord component.- Returns:
- the value of the
authorizationUrlrecord component
-