Class

IdentityPassDriversLicenseService

IdentityPassDriversLicenseService()

IdentityPass Driver's License Verification Service

Constructor

# new IdentityPassDriversLicenseService()

View Source identitypass/services/drivers-license-verification.service.ts, line 6

Methods

# mapDriversLicenseData()

Map Drivers License API response to DriversLicenseVerificationData Handles various response field formats from Prembly API

View Source identitypass/services/drivers-license-verification.service.ts, line 57

# 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
See:

View Source identitypass/services/drivers-license-verification.service.ts, line 124

Promise.<VerificationResponse.<DriversLicenseVerificationData>>

# async verifyDriversLicenseWithFace(data) → {Promise.<VerificationResponse.<DriversLicenseVerificationData>>}

Verify Driver's License with Face Validation

Parameters:
Name Type Description
data DriversLicenseWithFaceVerificationRequest
See:

View Source identitypass/services/drivers-license-verification.service.ts, line 115

Promise.<VerificationResponse.<DriversLicenseVerificationData>>