Pairing

Get a pairing token/QR to complete this request on a phone

Only for method:"nfc". Basic only - the integrator's server rotates the one-time token. Returns a high-entropy, short-lived, one-claim pairing token and a deep link / QR the phone scans. The phone then calls /pairing/claim, receives the request's clientToken, and drives the same /certificate + /complete endpoints.

get/auth/{requestId}/pairing

Request

  • Base URL: https://atk.tvarka.pro/v1
  • URL: https://atk.tvarka.pro/v1/auth/{requestId}/pairing
  • Auth: HTTP basic

Path parameters

requestIdstring uuid required

The requestId returned by POST /auth/requests.

Response

Pairing payload.

pairingUrlstring uri
deepLinkstring
qrPayloadstring
pairingTokenstring required

High-entropy, one-claim, short-lived.

expiresAtstring date-time required

Example response

{
  "pairingUrl": "https://sign.tvarka.pro/atk-login/#PAIRING_TOKEN",
  "deepLink": "tvarkasign://atk/pair/PAIRING_TOKEN",
  "qrPayload": "https://sign.tvarka.pro/atk-login/#PAIRING_TOKEN"
}

Changes

No recorded changes to this operation across all 1 revision of this API.