Skip to content

Instantly share code, notes, and snippets.

@Clancey
Last active March 7, 2019 19:14
Show Gist options
  • Save Clancey/93939886bcc320ce7816a872f1c7b5dd to your computer and use it in GitHub Desktop.
Save Clancey/93939886bcc320ce7816a872f1c7b5dd to your computer and use it in GitHub Desktop.
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