SiteMinUserAccessLevelMiddleware
struct SiteMinUserAccessLevelMiddleware : AsyncMiddleware
-
Declaration
Swift
var requireAuth: Bool
-
Declaration
Swift
var requireAccessLevel: UserAccessLevel
-
Declaration
Swift
init(requireAuth: Bool = true, requireAccessLevel: UserAccessLevel? = nil)
-
respond(to:
AsynchronouschainingTo: ) Declaration
Swift
func respond(to request: Request, chainingTo next: AsyncResponder) async throws -> Response
-
Declaration
Swift
func pirateErrorExplanation() -> String