Record Class LogoutTokenClaims
java.lang.Object
java.lang.Record
io.fluxzero.idp.client.LogoutTokenClaims
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaudiencesrecord 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.issuedAt()Returns the value of theissuedAtrecord component.issuer()Returns the value of theissuerrecord component.jwtId()Returns the value of thejwtIdrecord component.Returns the value of thesessionIdrecord component.subject()Returns the value of thesubjectrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
LogoutTokenClaims
public LogoutTokenClaims(String issuer, List<String> audiences, Instant issuedAt, Instant expiresAt, String jwtId, String sessionId, String subject) Creates an instance of aLogoutTokenClaimsrecord class.- Parameters:
issuer- the value for theissuerrecord componentaudiences- the value for theaudiencesrecord componentissuedAt- the value for theissuedAtrecord componentexpiresAt- the value for theexpiresAtrecord componentjwtId- the value for thejwtIdrecord componentsessionId- the value for thesessionIdrecord componentsubject- the value for thesubjectrecord 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). -
issuer
Returns the value of theissuerrecord component.- Returns:
- the value of the
issuerrecord component
-
audiences
-
issuedAt
Returns the value of theissuedAtrecord component.- Returns:
- the value of the
issuedAtrecord component
-
expiresAt
Returns the value of theexpiresAtrecord component.- Returns:
- the value of the
expiresAtrecord component
-
jwtId
Returns the value of thejwtIdrecord component.- Returns:
- the value of the
jwtIdrecord component
-
sessionId
Returns the value of thesessionIdrecord component.- Returns:
- the value of the
sessionIdrecord component
-
subject
Returns the value of thesubjectrecord component.- Returns:
- the value of the
subjectrecord component
-