Skip to main content

get_token

Function get_token 

Source
pub async fn get_token(
    client_id: u32,
    client_secret: &str,
    code: &str,
) -> Result<TokenResponse, ErrorWrapper>
Expand description

Exchange an authorization code for an access token, hitting Strava’s production OAuth endpoint.