Skip to content

RouteAccess

readonly controller: string


readonly freshAuth: boolean


readonly handler: string


readonly method: string

GET, POST, … or ALL.


readonly path: string

Controller path joined with the handler path, without a global prefix or version.


readonly public: boolean


readonly roles: readonly (readonly string[])[]

Each list must be satisfied (controller, then handler).


readonly twoFactorEnrollment: boolean

Marked @TwoFactorEnrollment(): an enrollment-only session may reach it.