Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / / findOAuthStrategies
Function: findOAuthStrategies()
ts
function findOAuthStrategies(args): readonly OAuthStrategy[];Defined in: packages/security/src/oauth/strategies.ts:35
Find every strategy that matches the given server descriptor. The matching is OR — either the URL or the ID regex matching is enough to enrol the strategy.
Parameters
| Parameter | Type |
|---|---|
args | { serverId: string; serverUrl: string; } |
args.serverId | string |
args.serverUrl | string |
Returns
readonly OAuthStrategy[]