Auth#
Authentication decorators for palmyra-wire. A decorator is a small object with one method — decorate(request) — that mutates an outgoing request (adds headers, tokens, cookies, etc.) before it hits the wire.
| Page | Role |
|---|---|
| AuthDecorator | The interface every auth decorator implements |
| NOOPDecorator | Default no-op singleton — requests go out unchanged |
| BasicAuthProvider | HTTP Basic auth decorator (stub — see page) |
| OauthProvider | OAuth token decorator (stub — see page) |
Current state: only
NOOPDecoratoris wired end-to-end.BasicAuthProviderandOauthProviderare scaffolding — both ship with emptydecorate()bodies and don’t yet alter the request. UseNOOPDecoratorand rely on session cookies or a customaxiosCustomizer(seePalmyraStoreFactory) until these land.