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 NOOPDecorator is wired end-to-end. BasicAuthProvider and OauthProvider are scaffolding — both ship with empty decorate() bodies and don’t yet alter the request. Use NOOPDecorator and rely on session cookies or a custom axiosCustomizer (see PalmyraStoreFactory) until these land.