Skip to main content

service/user_authenticate

Api Code Documentation / Exports / service/user_authenticate

Table of contents

Interfaces

Functions

Functions

authenticate

authenticate(organization, organizationSecret, rootSecret, conn, ctx, userId, password): Promise<Type<AuthToken>>

Parameters

NameType
organizationstring
organizationSecretstring
rootSecretstring
connConnToken
ctxCtx
userIdstring
passwordstring

Returns

Promise<Type<AuthToken>>

Defined in

src/service/user_authenticate.ts:42


authenticateUser

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

Parameters

NameType
connConnToken
ctxCtx
organizationstring
organizationSecretstring
userIdstring
passwordstring

Returns

Promise<Type<AuthToken>>

Defined in

src/service/user_authenticate.ts:116


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_authenticate.ts:200