Type Method
redirectMiddleware(makePath:)
Basic middleware to redirect unauthenticated requests to the supplied path
@preconcurrency static func redirectMiddleware(makePath: @Sendable @escaping (Request) -> String) -> Middleware
Parameters
makePathThe closure that returns the redirect path based on the given
Requestobject