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
Name | Type |
---|---|
organization | string |
organizationSecret | string |
conn | ConnToken |
ctx | Ctx |
token | string |
csrf | string |
Returns
Defined in
src/service/user_refresh_token.ts:200
getUserAuthData
▸ getUserAuthData(conn
, ctx
, organization
, organizationSecret
, userId
): Promise
<Type
<AuthToken
>>
Parameters
Name | Type |
---|---|
conn | ConnToken |
ctx | Ctx |
organization | string |
organizationSecret | string |
userId | string |
Returns
Defined in
src/service/user_refresh_token.ts:121
validateRefreshToken
▸ validateRefreshToken(organization
, organizationSecret
, conn
, dbConnection
, ctx
, userId
, refreshToken
): Promise
<Type
<AuthToken
>>
Parameters
Name | Type |
---|---|
organization | string |
organizationSecret | string |
conn | ConnToken |
dbConnection | default |
ctx | Ctx |
userId | string |
refreshToken | undefined | string |