Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / runAuthorizationCodeFlow

Function: runAuthorizationCodeFlow()

ts
function runAuthorizationCodeFlow(args): Promise<OAuthSession>;

Defined in: packages/security/src/oauth/authorize-code-flow.ts:51

Drive the Authorization Code + PKCE flow. The function is exposed for tests and for higher-level orchestration in client.ts.

Parameters

ParameterType
argsAuthorizationCodeFlowArgs

Returns

Promise&lt;OAuthSession&gt;

Stable