Skip to main content

refresh_token

Function refresh_token 

Source
pub async fn refresh_token(
    http: &Client,
    credentials: &Credentials,
    refresh_tok: &str,
) -> Result<Token, Error>
Expand description

Refresh an expired access token using the refresh token.

ยงErrors

Returns Error::Auth if the refresh request fails.