Skip to main content

force_refresh

Function force_refresh 

Source
pub async fn force_refresh(
    client: &Client,
    handle: &OAuthSessionHandle,
) -> Result<String, OAuthError>
Expand description

Refresh unconditionally and store the result (used after a 401).

ยงErrors

Returns OAuthError when no refresh token is available or the refresh endpoint rejects the request.