Attesto.StatusList.Cache (Attesto v2.28.0)

Copy Markdown View Source

Per-node cache of authenticated status-list tokens. Entries are keyed by URI and media type and are re-verified against the caller's current trust on use.

The cache holds at most 64 entries and 16 MiB of keys and token bytes. Freshness is bounded by the signed ttl, signed exp, and a fixed five-minute maximum; absent ttl uses that maximum. Expired entries are never served on error. It starts lazily, without linking its lifetime to a request, and may also be included in a host supervisor. Cache loss only causes a fresh fetch.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts \\ [])