Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / / registerOAuthStrategy
Function: registerOAuthStrategy()
ts
function registerOAuthStrategy(strategy): () => void;Defined in: packages/security/src/oauth/strategies.ts:20
Register a strategy. Returns an unsubscribe function so tests can tear the registration down.
Parameters
| Parameter | Type |
|---|---|
strategy | OAuthStrategy |
Returns
() => void