Skip to main content

refresh_blob

Function refresh_blob 

Source
pub async fn refresh_blob<H: OAuthHttp>(
    http: &H,
    cfg: &ServiceOAuthConfig,
    client_id: &str,
    blob: &TokenBlob,
    now: i64,
) -> Result<TokenBlob, RefreshError>
Expand description

Exchange blob’s refresh token for a new access token with the client the account was made with. Pure apart from http.