Record Class BffSessionCoordinator.SessionIdentity
java.lang.Object
java.lang.Record
io.fluxzero.idp.bff.session.BffSessionCoordinator.SessionIdentity
- Enclosing class:
BffSessionCoordinator
public static record BffSessionCoordinator.SessionIdentity(String issuer, String client, String subject, BrowserHandle csrf, com.fasterxml.jackson.databind.JsonNode claims)
extends Record
Identity and browser mutation proof only; no ID, access or refresh token is exposed.
-
Constructor Summary
ConstructorsConstructorDescriptionSessionIdentity(String issuer, String client, String subject, BrowserHandle csrf, com.fasterxml.jackson.databind.JsonNode claims) Creates an instance of aSessionIdentityrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodeclaims()Returns the value of theclaimsrecord component.client()Returns the value of theclientrecord component.csrf()Returns the value of thecsrfrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.issuer()Returns the value of theissuerrecord component.subject()Returns the value of thesubjectrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
SessionIdentity
public SessionIdentity(String issuer, String client, String subject, BrowserHandle csrf, com.fasterxml.jackson.databind.JsonNode claims) Creates an instance of aSessionIdentityrecord class.- Parameters:
issuer- the value for theissuerrecord componentclient- the value for theclientrecord componentsubject- the value for thesubjectrecord componentcsrf- the value for thecsrfrecord componentclaims- the value for theclaimsrecord component
-
-
Method Details
-
claims
public com.fasterxml.jackson.databind.JsonNode claims()Returns the value of theclaimsrecord component.- Returns:
- the value of the
claimsrecord component
-
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). -
issuer
Returns the value of theissuerrecord component.- Returns:
- the value of the
issuerrecord component
-
client
Returns the value of theclientrecord component.- Returns:
- the value of the
clientrecord component
-
subject
Returns the value of thesubjectrecord component.- Returns:
- the value of the
subjectrecord component
-
csrf
Returns the value of thecsrfrecord component.- Returns:
- the value of the
csrfrecord component
-