Type alias MobileCredentialPresentation

MobileCredentialPresentation: {
    branding?: MobileCredentialBranding;
    claimErrors?: MobileCredentialClaimErrors;
    claims?: MobileCredentialClaims;
    docType: DocType;
    issuerInfo?: IssuerInfo;
    validityInfo: ValidityInfo;
    verificationResult: VerificationResult;
}

ios: https://github.com/mattrinternal/ios-mobile-credential-sdks/blob/release/ga_preview_24102024/Sources/MobileCredentialCommon/DTOs/MobileCredentialResponse.swift android: https://github.com/mattrinternal/android-mobile-credential-sdks/blob/dev/SDK/src/common/java/global/mattr/mobilecredential/common/dto/MobileCredentialResponse.kt

Example response from iOS native SDK:

{
"credentials": [
{
"validityInfo": {
"validUntil": "2025-01-24T03:58:28Z",
"validFrom": "2024-10-24T03:58:29Z"
},
"docType": "org.iso.18013.5.1.mDL",
"claimErrors": null,
"verificationResult": {
"verified": false,
"reason": {
"type": "MobileCredentialInvalid",
"message": "Mobile credential is not valid"
}
},
"issuerInfo": null,
"statusInfo": {
"status": {
"type": "notChecked"
}
},
"claims": {
"org.iso.18013.5.1": {
"family_name": {
"type": "string",
"value": "huang"
},
"driving_privileges": {
"type": "array",
"value": [
{
"expiry_date": "2032-10-10",
"issue_date": "2022-10-10",
"vehicle_category_code": "A"
}
]
}
}
}
}
]
}

Type declaration

Generated using TypeDoc