Record Class InitialRefreshTokenContext
java.lang.Object
java.lang.Record
org.keycloak.protocol.oidc.refresh.InitialRefreshTokenContext
public record InitialRefreshTokenContext(org.keycloak.models.ClientSessionContext clientSessionCtx, TokenManager.AccessTokenResponseBuilder responseBuilder, org.keycloak.events.EventBuilder event, boolean offlineTokenRequested, org.keycloak.representations.AccessToken.Confirmation confirmation)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionInitialRefreshTokenContext(org.keycloak.models.ClientSessionContext clientSessionCtx, TokenManager.AccessTokenResponseBuilder responseBuilder, org.keycloak.events.EventBuilder event, boolean offlineTokenRequested, org.keycloak.representations.AccessToken.Confirmation confirmation) Creates an instance of aInitialRefreshTokenContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.keycloak.models.ClientSessionContextReturns the value of theclientSessionCtxrecord component.org.keycloak.representations.AccessToken.ConfirmationReturns the value of theconfirmationrecord component.final booleanIndicates whether some other object is "equal to" this one.org.keycloak.events.EventBuilderevent()Returns the value of theeventrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theofflineTokenRequestedrecord component.Returns the value of theresponseBuilderrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InitialRefreshTokenContext
public InitialRefreshTokenContext(org.keycloak.models.ClientSessionContext clientSessionCtx, TokenManager.AccessTokenResponseBuilder responseBuilder, org.keycloak.events.EventBuilder event, boolean offlineTokenRequested, org.keycloak.representations.AccessToken.Confirmation confirmation) Creates an instance of aInitialRefreshTokenContextrecord class.- Parameters:
clientSessionCtx- the value for theclientSessionCtxrecord componentresponseBuilder- the value for theresponseBuilderrecord componentevent- the value for theeventrecord componentofflineTokenRequested- the value for theofflineTokenRequestedrecord componentconfirmation- the value for theconfirmationrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
clientSessionCtx
public org.keycloak.models.ClientSessionContext clientSessionCtx()Returns the value of theclientSessionCtxrecord component.- Returns:
- the value of the
clientSessionCtxrecord component
-
responseBuilder
Returns the value of theresponseBuilderrecord component.- Returns:
- the value of the
responseBuilderrecord component
-
event
public org.keycloak.events.EventBuilder event()Returns the value of theeventrecord component.- Returns:
- the value of the
eventrecord component
-
offlineTokenRequested
public boolean offlineTokenRequested()Returns the value of theofflineTokenRequestedrecord component.- Returns:
- the value of the
offlineTokenRequestedrecord component
-
confirmation
public org.keycloak.representations.AccessToken.Confirmation confirmation()Returns the value of theconfirmationrecord component.- Returns:
- the value of the
confirmationrecord component
-