Interface ProofValidator
- All Superinterfaces:
org.keycloak.provider.Provider
- All Known Implementing Classes:
AbstractProofValidator,AttestationProofValidator,JwtProofValidator
public interface ProofValidator
extends org.keycloak.provider.Provider
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidclose()List<org.keycloak.jose.jwk.JWK>validateProof(VCIssuanceContext vcIssuanceContext) Validates client-provided key binding proofs.
-
Method Details
-
close
default void close()- Specified by:
closein interfaceorg.keycloak.provider.Provider
-
getProofType
String getProofType() -
validateProof
List<org.keycloak.jose.jwk.JWK> validateProof(VCIssuanceContext vcIssuanceContext) throws VCIssuerException Validates client-provided key binding proofs.- Parameters:
vcIssuanceContext- the issuance context with credential request and config- Returns:
- the list of JWKs to bind to credentials (one JWK per credential)
- Throws:
VCIssuerException
-