Graphorin API reference v0.8.0
Graphorin API reference / @graphorin/channels / / PairingPolicyOptions
Interface: PairingPolicyOptions
Defined in: packages/channels/src/access.ts:43
Tuning for the 'pairing' policy.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
codeLength? | readonly | number | Code length. Default 8. | packages/channels/src/access.ts:49 |
maxPendingPerChannel? | readonly | number | Cap on simultaneously pending codes per channel. Default 3. | packages/channels/src/access.ts:47 |
ttlMs? | readonly | number | Pairing-code lifetime. Default 1 hour. | packages/channels/src/access.ts:45 |