interface MobileCredentialPresentationVerifySuccessEventSanitised {
    category: "mobile-credential";
    data: {
        credentialErrors: undefined;
        credentials: undefined;
        isUsingEcosystemTrustedIssuers: undefined | boolean;
        numberOfCredentials: number;
    };
    id: string;
    requestId: string;
    tenantId: string;
    timestamp: number;
    type: string;
    version: "1";
}

Properties

category: "mobile-credential"
data: {
    credentialErrors: undefined | {
        docType: string;
        errorCode: "notReturned";
    }[];
    credentials: undefined | {
        branding: undefined | {
            backgroundColor: undefined | string;
            description: undefined | string;
            issuerIcon: undefined | {
                data: string;
                format: "svg" | "png";
            };
            issuerLogo: undefined | {
                data: string;
                format: "svg" | "png";
            };
            name: undefined | string;
            watermarkImage: undefined | {
                data: string;
                format: "svg" | "png";
            };
        };
        claimErrors: undefined | {
            [key: string]: {
                [key: string]: "notReturned";
            };
        };
        docType: string;
        issuerInfo: {
            commonName: string;
            trustedIssuerId: string;
        };
        validityInfo: {
            expectedUpdate: undefined | string;
            signed: string;
            validFrom: string;
            validUntil: string;
        };
        verificationResult: {
            verified: true;
        } | {
            reason: {
                message: string;
                type: "expired" | "inactive" | "invalid" | "suspended" | "unknown";
            };
            verified: false;
        };
    }[];
    isUsingEcosystemTrustedIssuers: undefined | boolean;
    numberOfCredentials: number;
}

Type declaration

  • Sanitisation Level PII credentialErrors: undefined | {
        docType: string;
        errorCode: "notReturned";
    }[]
  • Sanitisation Level PII credentials: undefined | {
        branding: undefined | {
            backgroundColor: undefined | string;
            description: undefined | string;
            issuerIcon: undefined | {
                data: string;
                format: "svg" | "png";
            };
            issuerLogo: undefined | {
                data: string;
                format: "svg" | "png";
            };
            name: undefined | string;
            watermarkImage: undefined | {
                data: string;
                format: "svg" | "png";
            };
        };
        claimErrors: undefined | {
            [key: string]: {
                [key: string]: "notReturned";
            };
        };
        docType: string;
        issuerInfo: {
            commonName: string;
            trustedIssuerId: string;
        };
        validityInfo: {
            expectedUpdate: undefined | string;
            signed: string;
            validFrom: string;
            validUntil: string;
        };
        verificationResult: {
            verified: true;
        } | {
            reason: {
                message: string;
                type: "expired" | "inactive" | "invalid" | "suspended" | "unknown";
            };
            verified: false;
        };
    }[]
  • isUsingEcosystemTrustedIssuers: undefined | boolean
  • numberOfCredentials: number
id: string
requestId: string
tenantId: string
timestamp: number
type: string
version: "1"