Skip to content

AuthenticateOptions

Defined in: authenticate.ts:6

optional entity?: string

Defined in: authenticate.ts:12

Service path to resolve the authenticated user record from. When set, params.user becomes app.service(entity).get(payload.sub) (internal call, no provider) and the raw JWT payload moves to params.authPayload. When omitted, params.user is the raw payload.