Skip to main content

Interface: IAuthProvider

auth.IAuthProvider

Implemented by

Methods

getGQLAuthContextHTTP

getGQLAuthContextHTTP(req): Promise<IGQLAuthContext>

Parameters

NameType
reqRequest<ParamsDictionary, any, any, ParsedQs, Record<string, any>>

Returns

Promise<IGQLAuthContext>

Defined in

packages/convostack-auth/dist/index.d.ts:28


getGQLAuthContextWS

getGQLAuthContextWS(connectionParams): Promise<IGQLAuthContext>

Parameters

NameType
connectionParamsReadonly<Record<string, unknown>>

Returns

Promise<IGQLAuthContext>

Defined in

packages/convostack-auth/dist/index.d.ts:29


login

login(req, params): Promise<ISuccessfulAuthResponse>

Parameters

NameType
reqRequest<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
paramsILoginParams

Returns

Promise<ISuccessfulAuthResponse>

Defined in

packages/convostack-auth/dist/index.d.ts:30


refresh

refresh(req, params): Promise<ISuccessfulAuthResponse>

Parameters

NameType
reqRequest<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
paramsIRefreshParams

Returns

Promise<ISuccessfulAuthResponse>

Defined in

packages/convostack-auth/dist/index.d.ts:31