@registeragent/client
v0.1.1
Published
Agent-side client for the Autonomous Identity Protocol
Readme
@registeragent/client
Agent-side client for authenticated requests using the Autonomous Identity Protocol.
Install
npm install @registeragent/clientUsage
import { AipClient } from "@registeragent/client";
const client = new AipClient({
entityId: "your-entity-uuid",
privateKeyJwk: { /* ... */ },
issuerUrl: "https://registeragent.id",
});
const token = await client.getToken("https://example.com");
const response = await client.fetch("https://example.com/api/me");Links
License
MIT
