Iskra API Reference
    Preparing search index...

    Function requireActor

    • Middleware that lets the request through only with an actor from gate, in c.var.actor (typed as the gate's actor on this route); without a credential, 401 with the gate's WWW-Authenticate challenge.

      Type Parameters

      Parameters

      Returns MiddlewareHandler<{ Variables: { actor: A } }>