Skip to content

lightgun-poc / lib/auth / createKeyGate

Function: createKeyGate() ​

createKeyGate(opts): KeyGate

Defined in: lib/auth.ts:74

Parameters ​

opts ​

key ​

string | null

loopbackExempt? ​

boolean

Default true; pass false whenever loopback traffic can be remote (tunnel).

Returns ​

KeyGate

Released under the MIT License.