CurrentSession
constCurrentSession: (…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.
Parameters
Section titled “Parameters”dataOrPipes
Section titled “dataOrPipes”…unknown[]
Returns
Section titled “Returns”ParameterDecorator