Adds various authorizations to Application.
Other AuthBackend:
AuthBackend
,
AuthBackendBasic
,
AuthBackendBearer
RestRserve::Middleware
-> AuthMiddleware
new()
Creeates AuthMiddleware object.
AuthMiddleware$new(
auth_backend,
routes,
match = "exact",
id = "AuthMiddleware"
)