mailio_credentials_static (mailio v0.2.0)
Static credential provider.
ProviderArgs is a map keyed by {AccountId, Service} (or AccountId alone, applied to every service) whose values are credentials. Intended for tests and simple single-user deployments where secrets come from config rather than an external store.
Summary
Functions
-spec fetch(binary(), mailio_credentials:service(), map()) -> {ok, mailio_credentials:cred()} | {error, term()}.
-spec invalidate(binary(), mailio_credentials:service(), map()) -> ok.