gate

fun gate(webId: String, vararg requirements: Requirement): suspend () -> AccessCheck

Captures the caller now and answers the full check when invoked inside the coroutine.


fun gate(webId: String, target: VerbTarget, level: AccessLevel): suspend () -> AccessCheck

The one-requirement form of gate.