---
title: PKIdentityPhotoIDDescriptor
framework: passkit
role: symbol
role_heading: Class
path: passkit/pkidentityphotoiddescriptor
---

# PKIdentityPhotoIDDescriptor

An object you use to request information from a user’s photo ID or equivalent document.

## Declaration

```swift
class PKIdentityPhotoIDDescriptor
```

## Mentioned in

Requesting identity data from a Wallet pass

## Discussion

Discussion Use this class to help create a digital ID in Wallet, which is an Apple issued ID credential based on government-issued ICAO compliant passport. This ID is available to use in person, within apps, and on the web. For the elements you request, the response contains the corresponding elements present in the user’s identity document. The following table shows the mapping from PKIdentityElement to elements in the PKIdentityPhotoIDDescriptor. If the PKIdentityElement corresponds to more than one of the mobile doc elements, all of the elements are returned.  |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |   |  |

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [PKIdentityDocumentDescriptor](passkit/pkidentitydocumentdescriptor.md)

## See Also

### Identity passes and authorization

- [Requesting identity data from a Wallet pass](passkit/requesting-identity-data-from-a-wallet-pass.md)
- [Configuring your environment for the Verify with Wallet API](passkit/configuring-your-environment-for-the-verify-with-wallet-api.md)
- [Verifying Wallet identity requests](passkit/verifying-wallet-identity-requests.md)
- [PKIdentityAnyOfDescriptor](passkit/pkidentityanyofdescriptor.md)
- [PKIdentityDriversLicenseDescriptor](passkit/pkidentitydriverslicensedescriptor.md)
- [PKAddIdentityDocumentMetadata](passkit/pkaddidentitydocumentmetadata.md)
- [PKAddIdentityDocumentConfiguration](passkit/pkaddidentitydocumentconfiguration.md)
- [PKAddIdentityDocumentType](passkit/pkaddidentitydocumenttype.md)
- [JPKIPassContents](passkit/jpkipasscontents.md)
- [PKAddIdentityDocumentConfiguration](passkit/pkaddidentitydocumentconfiguration.md)
- [PKAddPassMetadataPreview](passkit/pkaddpassmetadatapreview.md)
- [PKIdentityDocumentMetadata](passkit/pkidentitydocumentmetadata.md)
- [PKIdentityNationalIDCardDescriptor](passkit/pkidentitynationalidcarddescriptor.md)
- [PKJapanIndividualNumberCardMetadata](passkit/pkjapanindividualnumbercardmetadata.md)
