@pwngh/economy-lab
    Preparing search index...

    Type Alias Authenticate

    Authenticate: (request: Request) => Promise<Principal | null>

    Authentication for /submit: maps the request to the acting principal, or null to refuse with 401. The server stamps the result onto the operation and rejects a body that carries its own actor.

    Type Declaration

      • (request: Request): Promise<Principal | null>
      • Parameters

        • request: Request

        Returns Promise<Principal | null>