Record Class TokenVerifierProvider.TokenVerifierProviderContext
java.lang.Object
java.lang.Record
org.keycloak.protocol.oidc.verifier.TokenVerifierProvider.TokenVerifierProviderContext
- Enclosing interface:
- TokenVerifierProvider
public static record TokenVerifierProvider.TokenVerifierProviderContext(TokenVerifier<AccessToken> accessTokenVerifier, KeycloakSession session, RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTokenVerifierProviderContext(TokenVerifier<AccessToken> accessTokenVerifier, KeycloakSession session, RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo) Creates an instance of aTokenVerifierProviderContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccessTokenVerifierrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.realm()Returns the value of therealmrecord component.session()Returns the value of thesessionrecord component.final StringtoString()Returns a string representation of this record class.jakarta.ws.rs.core.UriInfouriInfo()Returns the value of theuriInforecord component.
-
Constructor Details
-
TokenVerifierProviderContext
public TokenVerifierProviderContext(TokenVerifier<AccessToken> accessTokenVerifier, KeycloakSession session, RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo) Creates an instance of aTokenVerifierProviderContextrecord class.- Parameters:
accessTokenVerifier- the value for theaccessTokenVerifierrecord componentsession- the value for thesessionrecord componentrealm- the value for therealmrecord componenturiInfo- the value for theuriInforecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
accessTokenVerifier
Returns the value of theaccessTokenVerifierrecord component.- Returns:
- the value of the
accessTokenVerifierrecord component
-
session
Returns the value of thesessionrecord component.- Returns:
- the value of the
sessionrecord component
-
realm
Returns the value of therealmrecord component.- Returns:
- the value of the
realmrecord component
-
uriInfo
public jakarta.ws.rs.core.UriInfo uriInfo()Returns the value of theuriInforecord component.- Returns:
- the value of the
uriInforecord component
-