QR code JWT Authentication
The API is designed to allow devices to securely authenticate with a server by scanning a QR code. The QR code contains a unique identifier for the device, which is used to generate a token that is then returned to the device. This token can be used to authenticate future requests to the server.
QR code JWT Authentication endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST |
Device registration details /api/register-device |
This endpoint is used to self-register a new device with the server. |
| POST |
Scan QR code to generate API key /api/scan-qr |
This endpoint is used to scan a QR code and generate an API key. |
| POST |
Refresh JWT token /api/refresh-token |
This endpoint will regenerate a fresh JWT authentication token key for the deivice after a certain period for security reasons. |
QR code JWT Authentication pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | $10 / month | 10 / hour |
|