@animo-id/pex
Version:
A Typescript implementation of the v1 and v2 DIF Presentation Exchange specification
12 lines (11 loc) • 526 B
TypeScript
import { IInternalPresentationDefinition } from '../../types/Internal.types';
import { WrappedVerifiableCredential } from '../../types/PexCredentialMapper';
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;
}