forked from remote/oauth2
endpoints: Add Strava endpoint
As per the Strava API auth docs: http://developers.strava.com/docs/authentication/
This commit is contained in:
@@ -167,6 +167,12 @@ var StackOverflow = oauth2.Endpoint{
|
|||||||
TokenURL: "https://stackoverflow.com/oauth/access_token",
|
TokenURL: "https://stackoverflow.com/oauth/access_token",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Strava is the endpoint for Strava.
|
||||||
|
var Strava = oauth2.Endpoint{
|
||||||
|
AuthURL: "https://www.strava.com/oauth/authorize",
|
||||||
|
TokenURL: "https://www.strava.com/oauth/token",
|
||||||
|
}
|
||||||
|
|
||||||
// Twitch is the endpoint for Twitch.
|
// Twitch is the endpoint for Twitch.
|
||||||
var Twitch = oauth2.Endpoint{
|
var Twitch = oauth2.Endpoint{
|
||||||
AuthURL: "https://id.twitch.tv/oauth2/authorize",
|
AuthURL: "https://id.twitch.tv/oauth2/authorize",
|
||||||
|
|||||||
Reference in New Issue
Block a user