@sphereon/pex
Version:
A Typescript implementation of the v1 and v2 DIF Presentation Exchange specification
12 lines (11 loc) • 514 B
TypeScript
import { WrappedVerifiableCredential } from '@sphereon/ssi-types';
import { IInternalPresentationDefinition } from '../../types/Internal.types';
import { EvaluationClient } from '../evaluationClient';
export interface EvaluationHandler {
client: EvaluationClient;
setNext(handler: EvaluationHandler): EvaluationHandler;
getNext(): EvaluationHandler | undefined;
hasNext(): boolean;
getName(): string;
handle(pd: IInternalPresentationDefinition, wvc: WrappedVerifiableCredential[]): void;
}