Sourcemeta Core 0.0.0
Loading...
Searching...
No Matches
sourcemeta::core::JWKSProvider::FetchResult Struct Reference

Public Attributes

std::string body
 The raw key set bytes.
std::optional< std::chrono::seconds > max_age
 The advertised freshness lifetime, absent when none was given.

Detailed Description

The outcome of one key set retrieval. The freshness hint is kept separate from the body because only the caller that made the request can observe the caching response header. An absent hint means no lifetime was advertised, which is distinct from an advertised lifetime of zero.


The documentation for this struct was generated from the following file: