Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / / _setDeviceAuthFetcherForTesting
Function: _setDeviceAuthFetcherForTesting()
ts
function _setDeviceAuthFetcherForTesting(fetcher): void;Defined in: packages/security/src/oauth/authorize-device-flow.ts:43
Experimental
Override the device-authorization fetcher. Used by the test suite.
Parameters
| Parameter | Type |
|---|---|
fetcher | | DeviceAuthFetcher | null |
Returns
void