SudoSOS Back-end API / internal/controller / Policy
Interface: Policy ​
The Policy interface represents all route definitions of a router. These definitions include the authorization middleware and handler function definitions.
Indexable ​
ts
[route: string]: RoutePolicyA mapping in the form: (route) => RoutePolicy