Doc system test

User and API token

A registry account (external id plus username) and the named, revocable API tokens the CLI pushes with.

Meta block front matter of this doc
namespaces
  • durian.cloud/cyanprint/registry
type
feature
code
  • sulfone.zinc/Domain/Model/User.cs
  • sulfone.zinc/Domain/Model/Token.cs
  • sulfone.zinc/App/Modules/Users/Data/TokenRepository.cs
  • sulfone.argon/src/routes/tokens/+page.svelte

Sign-in is OIDC (Descope) in the web UI, then the user picks a username. A token is 64 letters and digits and shown once; requests send it as X-API-TOKEN, or a JWT as Authorization: Bearer.

Where it lives

  • sulfone.zinc/Domain/Model/User.cs
  • sulfone.zinc/Domain/Model/Token.cs
  • sulfone.zinc/App/Modules/Users/Data/TokenRepository.cs
  • sulfone.argon/src/routes/tokens/+page.svelte

Stub: summary only.