Record Class RelyingPartySession
java.lang.Object
java.lang.Record
io.fluxzero.idp.bff.session.api.model.RelyingPartySession
@Model(searchable=false,
name="BffRelyingPartySession",
persistence=DOCUMENT,
eventPublication=NEVER,
cached=false,
conflictPolicy=FAIL,
automaticHandling=DISABLED)
public record RelyingPartySession(RelyingPartySessionId relyingPartySessionId, boolean revoked)
extends Record
A hashed issuer/client/sid binding, including a terminal logout fence; never an identity session.
-
Constructor Summary
ConstructorsConstructorDescriptionRelyingPartySession(RelyingPartySessionId relyingPartySessionId, boolean revoked) Creates an instance of aRelyingPartySessionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of therelyingPartySessionIdrecord component.booleanrevoked()Returns the value of therevokedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RelyingPartySession
Creates an instance of aRelyingPartySessionrecord class.- Parameters:
relyingPartySessionId- the value for therelyingPartySessionIdrecord componentrevoked- the value for therevokedrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
relyingPartySessionId
Returns the value of therelyingPartySessionIdrecord component.- Returns:
- the value of the
relyingPartySessionIdrecord component
-
revoked
public boolean revoked()Returns the value of therevokedrecord component.- Returns:
- the value of the
revokedrecord component
-