Skip to content

docs: align all documentation with current SDK API surface#20

Merged
dasiths merged 3 commits into
mainfrom
docs/self-issuance-clarity
May 26, 2026
Merged

docs: align all documentation with current SDK API surface#20
dasiths merged 3 commits into
mainfrom
docs/self-issuance-clarity

Conversation

@dasiths
Copy link
Copy Markdown
Collaborator

@dasiths dasiths commented May 26, 2026

Summary

Comprehensive audit of all markdown documentation against the actual public API in src/AAuth/. Ensures code samples compile against the current SDK and correctly reflect the self-issuance vs AP-enrollment distinction.

Changes

Signing Modes

  • agent-identity-jwks-uri.md — Clarified self-hosted vs AP-published JWKS scenarios
  • agent-token-jwt.md — Fixed async lambda compiler warning in refresh example

Workflows

  • deferred-consent.md — Fixed interaction.UserUrlinteraction.Url
  • federated-access.md — Replaced internal DelegateTokenRefresher with proper ITokenRefresher impl
  • ps-asserted-access.md — Same DelegateTokenRefresher fix

Server

  • verification-middleware.md — Fixed class modifiers and property accessors
  • challenge-middleware.md — Corrected property names (ResourceSigningKey, ResourceKeyId, AllowedSignatureKeySchemes)
  • replay-detection.md — Fixed revocation endpoint format (form-encoded, not JSON)
  • resource-metadata.md — Fixed dictionary initializer syntax
  • authorization-policies.md — Added missing AddAAuthAuthentication() registration
  • multi-scheme-verification.md — Fixed IAAuthKey interface type

Reference

  • configuration.md — Rewrote option property tables to match source
  • dependency-injection.md — Fixed DI registration examples, removed non-existent APIs

Advanced

  • key-management.md — Fixed FromJwk/ExportJwk to actual API

Samples & Top-level

  • README.md — Added Orchestrator to repository layout
  • samples/README.md — Added Orchestrator to make demo note

Validation

  • All code samples verified against src/AAuth/ public type declarations
  • 556 unit tests pass (no code changes in this PR)

dasiths added 3 commits May 26, 2026 20:06
Update documentation to reflect that hosted services (web apps, APIs,
orchestrators) act as their own AP per spec §Self-Hosted Agents and
self-issue agent tokens. AP enrollment is only needed for CLI tools,
desktop apps, and mobile agents without a stable URL.

- getting-started.md: add Self-Issued section before AP Bootstrap
- agent-token-jwt.md: show both self-issued and AP-enrolled examples
- overview.md: fix Requires column (JWKS host or self-hosted)
- bootstrap-enrollment.md: scope to CLI/desktop agents
- ps-asserted-access.md: lead with self-issued, AP in collapsible
- concepts.md: agent token issued by 'Agent Provider or Self'
- Orchestrator/README.md: remove dead AP config, update details
- README.md: three-party example now shows self-issued path (hosted
  services), not AP enrollment
- docs/reference/dependency-injection.md: Key Principle section now
  explains both deployment models (hosted self-issue vs CLI/desktop
  AP enrollment) with separate Mermaid diagrams; add self-issued DI
  registration example alongside the AP-enrolled one
- docs/README.md: scope BootstrapBuilder and AgentProviderClient
  descriptions to CLI/desktop agents
Validate code samples in 16 docs against the actual public API in
src/AAuth/. Fix incorrect type names, property signatures, and
patterns across server, signing-modes, workflows, reference, and
advanced sections. Remove references to non-existent APIs and align
DI option names with current source.
@dasiths dasiths requested a review from Copilot May 26, 2026 20:50
@dasiths dasiths merged commit 2f0c7bf into main May 26, 2026
1 of 2 checks passed
@dasiths dasiths deleted the docs/self-issuance-clarity branch May 26, 2026 20:54
@dasiths dasiths review requested due to automatic review settings May 26, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant