Skip to main content

is_refresh_typ

Function is_refresh_typ 

Source
pub fn is_refresh_typ(typ: &str) -> bool
Expand description

Does this typ claim mark a refresh token? Every spelling the crate mints (TYP_REFRESH, TYP_REFRESH_TOKEN) counts, so a rule that must not treat a refresh token as an access token cannot be dodged by the spelling.