Skip to main content

invalidate_cached_users

Function invalidate_cached_users 

Source
pub(crate) async fn invalidate_cached_users(
    cache: &Cache,
    digests: &[Digest],
    token_hmac_key: &SecretString,
)
Expand description

Evicts every mapping a batch revocation invalidated — a refresh family, a withdrawn consent, a deleted user. Same contract as invalidate_cached_user, for the callers that revoke more than one token at a time.