ApiCoreFunctions
Function: encodePairingTicket()
function encodePairingTicket(ticket): string;Defined in: packages/core/src/identity/pairing.ts:55
Packs a ticket for a URL fragment.
A fragment, because browsers never put one in a request, so the secret reaches the phone without passing through the server hosting the page.
Parameters
| Parameter | Type |
|---|---|
ticket | PairingTicket |
Returns
string