Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / loginInteractive

Function: loginInteractive()

ts
function loginInteractive(options): Promise<LoginInteractiveResult>;

Defined in: packages/security/src/oauth/library.ts:62

Drive an interactive login flow against the supplied server. The function chooses Authorization Code by default and falls back to the Device Authorization Grant when deviceFlow: true.

Parameters

ParameterType
optionsLoginInteractiveOptions

Returns

Promise&lt;LoginInteractiveResult&gt;

Stable