Repository navigation
Device Pairing
Pair a device to browse and download from a library that requires sign-in. The server issues a revocable, read-only device token. Your app saves it for the next time you open the catalog.
- In iFly, open Add Games → Emulation Server. In iCube, select the server from Nearby Libraries. In Provenance, open Nearby Libraries → Add Content Server.
- Choose or enter the server address and select Request Access.
- On the web or desktop interface for that same server, sign in as the owner. Open Settings → Devices and approve the matching device under Device access requests.
- On the requesting device, choose Scan QR Code and tap the highlighted code in the camera view, or enter the six-digit PIN and choose Connect.
- To remove access later, revoke the device token in Settings → Devices.
Requests expire after five minutes. If the request expires, start a new one in the app. If an older app shows a PIN on the device, use Review device in Settings → Devices to approve that PIN.
Use HTTPS on remote connections. For a trusted local server using HTTP, enable the app's local HTTP pairing option before requesting access.
Request-first clients start with POST /api/v1/device-pairing/requests. Keep the returned secret on the requesting device. The owner can list requests and approve or dismiss individual requests. The app polls /api/v1/device-pairing/requests/status and posts the request ID, secret, and PIN to /api/v1/device-pairing/requests/complete. On success the server returns the read-only token once. Client integration and compatibility · API reference