View as Markdown

See which agent is calling#

Know the agent and its verified operator, before any person is involved.

Level 0: The agent identifies itself; no person is asked.
Class read: Nothing changes. The approval can be reused until it ends or the person withdraws it.
routes.append(route("GET", "/me", level=0, summary="Which agent is calling"))


@app.get("/me")
def me():
    return {"agent": g.allowedby.agent, "operator": g.allowedby.operator}

Run in 8 languages on this version. See the results

What the test proves#

  • without a passport: 401 passport_required
  • the app learns the agent and its verified operator; nobody is asked