import ClaimBag from "../verifiable_credential/ClaimBag"; import { IValidationResponse } from "./IValidationResponse"; export interface ISiopValidationResponse extends IValidationResponse { /** * The contract */ contract?: string; /** * Claim in the request and rule file */ claimBag?: ClaimBag; } /** * Interface for input validation */ export interface ISiopValidation { /** * Validate the input for a correct format * @param siop Authentication of requestor * @param audience to validate * @returns true if validation passes */ validate(siop: any, audience: string): Promise; }