Skip to main content

validate_sv

Function validate_sv 

Source
pub async fn validate_sv(
    token_sv: Option<i64>,
    ppnum_id: &str,
    bearer_token: &str,
    cache: &dyn SessionVersionCache,
    fetcher: &dyn SessionVersionFetcher,
) -> Result<(), ValidateSvError>
Expand description

Validates a token’s sv claim against the cached / fresh current value.

See module docs for the full algorithm.