Skip to content

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

ParameterType
args{ serverId: string; serverUrl: string; }
args.serverIdstring
args.serverUrlstring

Returns

readonly OAuthStrategy[]

Stable