Adds various authorizations to Application.
Creeates AuthMiddleware object.
AuthMiddleware$new( auth_backend, routes, match = "exact", id = "AuthMiddleware" )
Routes paths to protect.
How routes will be matched:
"partial" (as prefix).
The objects of this class are cloneable with this method.
AuthMiddleware$clone(deep = FALSE)
Whether to make a deep clone.