# new IdentityPassDriversLicenseService()
Methods
# mapDriversLicenseData()
Map Drivers License API response to DriversLicenseVerificationData Handles various response field formats from Prembly API
# async verifyDriversLicense(data) → {Promise.<VerificationResponse.<DriversLicenseVerificationData>>}
Verify Driver's License - Basic (deprecated - use V2)
Parameters:
| Name | Type | Description |
|---|---|---|
data |
DriversLicenseVerificationRequest
|
- Deprecated:
- Use verifyDriversLicenseV2 instead
View Source identitypass/services/drivers-license-verification.service.ts, line 133
Promise.<VerificationResponse.<DriversLicenseVerificationData>>
# async verifyDriversLicenseAdvance(data) → {Promise.<VerificationResponse.<DriversLicenseVerificationData>>}
Verify Driver's License - Advance (deprecated - use V2)
Parameters:
| Name | Type | Description |
|---|---|---|
data |
DriversLicenseAdvanceVerificationRequest
|
- Deprecated:
- Use verifyDriversLicenseV2 instead
View Source identitypass/services/drivers-license-verification.service.ts, line 142
Promise.<VerificationResponse.<DriversLicenseVerificationData>>
# async verifyDriversLicenseImage(data) → {Promise.<VerificationResponse.<DriversLicenseVerificationData>>}
Verify Driver's License Image (not documented in new API)
Parameters:
| Name | Type | Description |
|---|---|---|
data |
DriversLicenseImageVerificationRequest
|
- Deprecated:
- Endpoint may not be available
View Source identitypass/services/drivers-license-verification.service.ts, line 151
Promise.<VerificationResponse.<DriversLicenseVerificationData>>
# async verifyDriversLicenseV2(data) → {Promise.<VerificationResponse.<DriversLicenseVerificationData>>}
Verify Driver's License V2 (Advance)
Parameters:
| Name | Type | Description |
|---|---|---|
data |
DriversLicenseVerificationRequest
|
Promise.<VerificationResponse.<DriversLicenseVerificationData>>
# async verifyDriversLicenseWithFace(data) → {Promise.<VerificationResponse.<DriversLicenseVerificationData>>}
Verify Driver's License with Face Validation
Parameters:
| Name | Type | Description |
|---|---|---|
data |
DriversLicenseWithFaceVerificationRequest
|
Promise.<VerificationResponse.<DriversLicenseVerificationData>>