pub fn claimed_file_url(
base_url: &str,
key: &JwtKey,
claim: DownloadClaim,
) -> Result<String, Error>Expand description
The URL one host-stored file is read through, carrying a claim minted for it here and now.
The claim expires, so the result is good for one reader for one sitting: it must not be persisted, and a response carrying it cannot be cached for anyone else.