PLC directory client #12

Closed
opened 2026-03-03 17:53:02 +00:00 by Grandiras · 0 comments
Owner

PLC Directory Client

Add a PlcClient for interacting with the PLC directory service.

Features

  • DID document resolution: Resolve did:plc identifiers to DID documents
  • Operation log: Retrieve the full operation log for a DID
  • Audit log: Query audit history
  • Health check: Check PLC directory availability

API Surface

var plc = new PlcClient("https://plc.directory");
var didDoc = await plc.GetDidDocumentAsync("did:plc:z72i7hdynmk6r22z27h6tvur");
var opLog = await plc.GetOperationLogAsync("did:plc:z72i7hdynmk6r22z27h6tvur");

Context

PLC (Public Ledger of Credentials) is the primary DID method used in AT Protocol. The SDK currently resolves did:plc during OAuth flows but has no dedicated client for PLC directory operations.

Reference

## PLC Directory Client Add a `PlcClient` for interacting with the PLC directory service. ### Features - **DID document resolution**: Resolve `did:plc` identifiers to DID documents - **Operation log**: Retrieve the full operation log for a DID - **Audit log**: Query audit history - **Health check**: Check PLC directory availability ### API Surface ```csharp var plc = new PlcClient("https://plc.directory"); var didDoc = await plc.GetDidDocumentAsync("did:plc:z72i7hdynmk6r22z27h6tvur"); var opLog = await plc.GetOperationLogAsync("did:plc:z72i7hdynmk6r22z27h6tvur"); ``` ### Context PLC (Public Ledger of Credentials) is the primary DID method used in AT Protocol. The SDK currently resolves `did:plc` during OAuth flows but has no dedicated client for PLC directory operations. ### Reference - [did:plc spec](https://web.plc.directory/spec/did-plc) - [PLC directory API](https://plc.directory)
Sign in to join this conversation.
No description provided.