Skip to main content

refresh

Function refresh 

Source
pub async fn refresh(
    http: &Client,
    who: &Caller,
    refresh_token: &str,
) -> Result<TokenGrant, BrokerError>
Expand description

Trade a refresh token for a new grant. GitHub’s refresh tokens are single use: the answer’s replaces the one sent.