Interface JwkValidator
- All Known Implementing Classes:
DefaultJwkValidator
public interface JwkValidator
Validates a JWT signature with a JSON Web Key (JWK).
- Since:
- 1.1.0
- Author:
- Sergio del Amo
-
Method Summary
Modifier and TypeMethodDescriptionboolean
validate
(com.nimbusds.jwt.SignedJWT jwt, com.nimbusds.jose.jwk.JWK jwk)
-
Method Details
-
validate
boolean validate(com.nimbusds.jwt.SignedJWT jwt, com.nimbusds.jose.jwk.JWK jwk) - Parameters:
jwt
- Signed JWTjwk
- JSON Web Key- Returns:
- true if signature is verified
-