Type alias MobileCredentialPresentation

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

ios: https://api-reference-sdk.mattr.global/mobile-credential-holder-ios/latest/documentation/mobilecredentialholdersdk/mobilecredentialresponse android: https://api-reference-sdk.mattr.global/mobile-credential-holder-android/latest/m-docs%20-holder%20-s-d-k/global.mattr.mobilecredential.common.dto/-mobile-credential-response/index.html?query=data%20class%20MobileCredentialResponse(val%20credentials:%20List%3CMobileCredentialPresentation%3E?,%20val%20credentialErrors:%20List%3CCredentialError%3E?)

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,
"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