Skip to main content
API Reference / modelence / server / authenticate
authenticate(authToken): Promise<{ roles: string[]; session: Session; user: null | UserInfo; }>
Defined in: src/auth/index.ts:8

Parameters

ParameterType
authTokennull | string

Returns

Promise<{ roles: string[]; session: Session; user: null | UserInfo; }>