Skip to main content
← rust.krizaka.comkrizaka.com

refresh

Function refresh 

Source
pub fn refresh(
    t: &dyn Transport,
    p: &Provider,
    refresh_token: &str,
    now: u64,
) -> Result<Tokens, Failure>
Expand description

Exchange a refresh token for a new pair (the provider rotates the refresh token: the old one is spent).