Skip to main content

service/user_refresh_token

Api Code Documentation / Exports / service/user_refresh_token

Table of contents

Interfaces

Functions

Functions

authenticateWithToken

authenticateWithToken(organization, organizationSecret, conn, ctx, token, csrf): Promise<Type<AuthToken>>

Parameters

NameType
organizationstring
organizationSecretstring
connConnToken
ctxCtx
tokenstring
csrfstring

Returns

Promise<Type<AuthToken>>

Defined in

src/service/user_refresh_token.ts:200


getUserAuthData

getUserAuthData(conn, ctx, organization, organizationSecret, userId): Promise<Type<AuthToken>>

Parameters

NameType
connConnToken
ctxCtx
organizationstring
organizationSecretstring
userIdstring

Returns

Promise<Type<AuthToken>>

Defined in

src/service/user_refresh_token.ts:121


validateRefreshToken

validateRefreshToken(organization, organizationSecret, conn, dbConnection, ctx, userId, refreshToken): Promise<Type<AuthToken>>

Parameters

NameType
organizationstring
organizationSecretstring
connConnToken
dbConnectiondefault
ctxCtx
userIdstring
refreshTokenundefined | string

Returns

Promise<Type<AuthToken>>

Defined in

src/service/user_refresh_token.ts:38