pub fn refresh_token(&mut self) -> AccessTokenRequest {
        self.oauth
            .pre_request_check(self.grant, GrantRequest::RefreshToken);
        AccessTokenRequest {
            uri: self
                .oauth
                .get_or_else(OAuthCredential::RefreshTokenURL)
                .unwrap(),
            params: self
                .oauth
                .params(self.grant.available_credentials(GrantRequest::RefreshToken))
                .unwrap(),
        }
    }
/// Request a refresh token. Assumes an access token has already
/// been retrieved.
Request a refresh token. Assumes an access token has already
been retrieved.
Request a refresh token . Assumes an access token has already been retrieved .
pub fn refresh_token(&mut self) -> AccessTokenRequest {
        self.oauth
            .pre_request_check(self.grant, GrantRequest::RefreshToken);
        AccessTokenRequest {
            uri: self
                .oauth
                .get_or_else(OAuthCredential::RefreshTokenURL)
                .unwrap(),
            params: self
                .oauth
                .params(self.grant.available_credentials(GrantRequest::RefreshToken))
                .unwrap(),
        }
    }
pub fn refresh_token ( & mut self ) -> AccessTokenRequest { self . oauth . pre_request_check ( self . grant , GrantRequest :: RefreshToken ) ; AccessTokenRequest { uri : self . oauth . get_or_else ( OAuthCredential :: RefreshTokenURL ) . unwrap ( ) , params : self . oauth . params ( self . grant . available_credentials ( GrantRequest :: RefreshToken ) ) . unwrap ( ) , } }
Request a refresh token.
Request a refresh token .
&mut self
&mut self