A single relative route path to protect.
A regular expression used to match routes to protect.
An object with fine-grained control over routes and group-based access.
Optional group-based access control.
When provided, only users belonging to at least one of the specified group IDs or names are allowed access.
Route patterns that should be protected. Each entry may be a relative route path or a regular expression used to match routes.
Defines how routes are matched and protected by authentication and optional group-based authorization.