Class JWTClientValidator
java.lang.Object
org.keycloak.authentication.authenticators.client.JWTClientValidator
Common validation for JWT client authentication with private_key_jwt or with client_secret
- Author:
 - Marek Posolda
 
- 
Constructor Summary
ConstructorsConstructorDescriptionJWTClientValidator(ClientAuthenticationFlowContext context, String clientAuthenticatorProviderId)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleangetJws()getRealm()getToken()voidreadJws()booleanbooleanvoidvoidvalidateTokenAudience(ClientAuthenticationFlowContext context, RealmModel realm, JsonWebToken token) void 
- 
Constructor Details
- 
JWTClientValidator
public JWTClientValidator(ClientAuthenticationFlowContext context, String clientAuthenticatorProviderId)  
 - 
 - 
Method Details
- 
clientAssertionParametersValidation
public boolean clientAssertionParametersValidation() - 
readJws
- Throws:
 JWSInputException
 - 
validateClient
public boolean validateClient() - 
validateSignatureAlgorithm
public boolean validateSignatureAlgorithm() - 
validateToken
public void validateToken() - 
validateTokenReuse
public void validateTokenReuse() - 
validateTokenAudience
public void validateTokenAudience(ClientAuthenticationFlowContext context, RealmModel realm, JsonWebToken token)  - 
getContext
 - 
getRealm
 - 
getParams
 - 
getClientAssertion
 - 
getJws
 - 
getToken
 - 
getClient
 
 -