TypeScript mDL SDK
Verify Mobile Driver's Licenses in your Node.js, browser, or React Native applications with full ISO 18013-5 compliance.
Overview
The @owl-eyes/mdl-verifier SDK enables Mobile Driver's License (mDL) verification in JavaScript and TypeScript applications. It supports both in-person verification (QR code, NFC, BLE) and online verification (OpenID4VP).
The SDK acts as a verifier in the ISO 18013-5 mDL ecosystem, allowing your application to:
- Create Verification Sessions - In-person (QR) or online (OpenID4VP)
- Generate QR Codes - For device engagement
- Process Responses - From holder wallets
- Validate Credentials - Trust chain, signatures, holder binding
- Extract Claims - With verification status
Features
In-Person QR Verification
Generate QR codes for device engagement
Online OpenID4VP
Standard-compliant online verification
ISO 18013-5 Compliant
Full standard compliance
AAMVA VICAL Support
US/CA trust anchor integration
EU Trust List Support
eIDAS 2.0 compatible
Selective Disclosure
Request only needed claims
Holder Binding
Cryptographic device authentication
Event System
Real-time session events
TypeScript Native
Full type definitions included
Installation
Quick Start
Here's a complete example of age verification using QR codes:
Next Steps
Configuration
Learn about all configuration options including environments, timeouts, and trust anchors.
In-Person Verification
Complete guide to QR code-based in-person verification.
Online Verification
Implement OpenID4VP-based online verification flows.
Claim Sets
Understand predefined and custom claim sets for mDL verification.