Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / / _setTokenEndpointFetcherForTesting
Function: _setTokenEndpointFetcherForTesting()
ts
function _setTokenEndpointFetcherForTesting(fetcher): void;Defined in: packages/security/src/oauth/token-endpoint.ts:56
Experimental
Override the token-endpoint fetcher. Used by the test suite to inject canned responses without hitting the network.
Parameters
| Parameter | Type |
|---|---|
fetcher | | TokenEndpointFetcher | null |
Returns
void