Last active
March 7, 2019 19:14
-
-
Save Clancey/93939886bcc320ce7816a872f1c7b5dd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Net.Http; | |
namespace SimpleAuth.Providers { | |
public class StravaApi : OAuthApi { | |
public StravaApi (string identifier, string clientId, string clientSecret, string redirect, HttpMessageHandler handler) : | |
base (identifier, clientId, clientSecret, "https://www.strava.com/oauth/token", "https://www.strava.com/oauth/mobile/authorize", redirect, handler) | |
{ | |
BaseAddress = new Uri ("https://www.strava.com/api/v3/"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment