Skip to main content

set

Function set 

Source
pub(crate) fn set(
    resolved_host: &str,
    send_id: &str,
    token: &str,
    expires_at: i64,
)
Expand description

Caches token for (resolved_host, send_id), expiring at expires_at (epoch-ms, matching [bitwarden_auth::send_access::SendAccessTokenResponse::expires_at]).