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
Name | Type |
---|---|
organization | string |
organizationSecret | string |
rootSecret | string |
conn | ConnToken |
ctx | Ctx |
userId | string |
password | string |
Returns
Defined in
src/service/user_authenticate.ts:42
authenticateUser
▸ authenticateUser(conn
, ctx
, organization
, organizationSecret
, userId
, password
): Promise
<Type
<AuthToken
>>
Parameters
Name | Type |
---|---|
conn | ConnToken |
ctx | Ctx |
organization | string |
organizationSecret | string |
userId | string |
password | string |
Returns
Defined in
src/service/user_authenticate.ts:116
authenticateWithToken
▸ authenticateWithToken(organization
, organizationSecret
, conn
, ctx
, token
, csrf
): Promise
<Type
<AuthToken
>>
Parameters
Name | Type |
---|---|
organization | string |
organizationSecret | string |
conn | ConnToken |
ctx | Ctx |
token | string |
csrf | string |