Skip to content

CurrentSession

const CurrentSession: (…dataOrPipes) => ParameterDecorator

The validated session; null on a public route without a session. Under the two-factor plugin’s enforcement it carries twoFactor (grace or enrollment-only) for this request.

…unknown[]

ParameterDecorator