warded

fun Route.warded(callback: Route.() -> Unit): Route(source)

Provides context for any nested calls to a EnforcementPointKtor to be registered and allow the call to return successfully if access is granted.