mirror of
https://github.com/golang/oauth2.git
synced 2025-07-21 00:00:09 +08:00
endpoints: Add Strava endpoint
As per the Strava API auth docs: http://developers.strava.com/docs/authentication/ Change-Id: Ibf6fcca193a1b63bf86830b669849653774a9df9 GitHub-Last-Rev: 296e91e1f25c75d26a23f0873df000678c4f43e3 GitHub-Pull-Request: golang/oauth2#473 Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/289829 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Trust: Brad Fitzpatrick <bradfitz@golang.org> Trust: Heschi Kreinick <heschi@google.com>
This commit is contained in:
parent
81ed05c6b5
commit
9963728281
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user