Atex.XRPC.Router.AudPlug
(atex v0.9.1)
View Source
Plug that populates conn.private[:xrpc_aud] from the :service_did app config.
Injected automatically when using Atex.XRPC.Router (unless plug_aud: false
is passed to use). Raises at runtime if :service_did is not configured,
since auth validation requires a non-nil audience.
Configuration
config :atex, service_did: "did:web:my-service.example"