Class JWTClientValidator

java.lang.Object
org.keycloak.authentication.authenticators.client.JWTClientValidator

public class JWTClientValidator extends Object
Common validation for JWT client authentication with private_key_jwt or with client_secret
Author:
Marek Posolda
  • Constructor Details

  • Method Details

    • clientAssertionParametersValidation

      public boolean clientAssertionParametersValidation()
    • readJws

      public void readJws() throws JWSInputException
      Throws:
      JWSInputException
    • validateClient

      public boolean validateClient()
    • validateSignatureAlgorithm

      public boolean validateSignatureAlgorithm()
    • validateToken

      public void validateToken()
    • validateTokenReuse

      public void validateTokenReuse()
    • getContext

      public ClientAuthenticationFlowContext getContext()
    • getRealm

      public RealmModel getRealm()
    • getParams

      public jakarta.ws.rs.core.MultivaluedMap<String,String> getParams()
    • getClientAssertion

      public String getClientAssertion()
    • getJws

      public JWSInput getJws()
    • getToken

      public JsonWebToken getToken()
    • getClient

      public ClientModel getClient()