Type Method
redirectMiddleware(path:)
Basic middleware to redirect unauthenticated requests to the supplied path
static func redirectMiddleware(path: String) -> any Middleware
Parameters
pathThe path to redirect to if the request is not authenticated