Documentation
¶
Overview ¶
Example 07: Client SDK — Production Patterns.
Examples 01-06 made raw `http.Post` calls. This one shows how production client code uses OneAuth's SDK: discovery-driven configuration, automatic token caching, scope step-up, all behind the `TokenSource` interface.
Two-process architecture:
make serve # auth :8081 with token + discovery, resource :8082 make demo # walkthrough that drives both
Click to show internal directories.
Click to hide internal directories.