Skip to content

default

default(locals): Promise<authHelperResponse>

Auth Helper Function

Parameters

locals: Locals

The Astro.locals object

Returns

Promise<authHelperResponse>

The current user data and session information and permission level

Defined in

packages/studiocms_auth/src/helpers/authHelper.ts:23