Interface CredentialPresentationSessionResultExchangeSuccessEvent
interface CredentialPresentationSessionResultExchangeSuccessEvent { category: "credential-presentation"; data: { credentialErrors: undefined | { docType: string; errorCode: "notReturned"; }[]; credentialQuery: undefined | { docType: string; nameSpaces: { [
key:
string]
: { [
key:
string]
: { intentToRetain: undefined | boolean; }; }; }; profile: "mobile"; }[]; 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: undefined | { 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; }; }[]; error: undefined | { message: string; type: string; }; sessionId: string; }; id: string; requestId: string; tenantId: string; timestamp: number; type: string; version: "1"; } interface CredentialPresentationSessionResultExchangeSuccessEventSanitised { category: "credential-presentation"; data: { error: undefined | { message: string; type: string; }; sessionId: string; }; id: string; requestId: string; tenantId: string; timestamp: number; type: string; version: "1"; } Properties
category
category: "credential-presentation"
Sanitisation Level DATA
data
data: {
credentialErrors: undefined | {
docType: string;
errorCode: "notReturned";
}[];
credentialQuery: undefined | {
docType: string;
nameSpaces: {
[key: string]: {
[key: string]: {
intentToRetain: undefined | boolean;
};
};
};
profile: "mobile";
}[];
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: undefined | {
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;
};
}[];
error: undefined | {
message: string;
type: string;
};
sessionId: string;
}
Type declaration
credentialErrors: undefined | {
docType: string;
errorCode: "notReturned";
}[]
credentialQuery: undefined | {
docType: string;
nameSpaces: {
[key: string]: {
[key: string]: {
intentToRetain: undefined | boolean;
};
};
};
profile: "mobile";
}[]
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: undefined | {
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;
};
}[]
error: undefined | {
message: string;
type: string;
}
sessionId: string
requestId
requestId: string
timestamp
timestamp: number