Skip to content

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]: RoutePolicy

A mapping in the form: (route) => RoutePolicy