-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added MailChimp endpoints as per documentation: http://developer.mailchimp.com/documentation/mailchimp/guides/how-to-use-oauth2/ Add MailChimp to brokenAuthHeadersProviders since they require the client id and secret as query parameters. Fixes #272 Change-Id: I155d0c7e34f13477ac87b225e9a278d79c3a2a44 Reviewed-on: https://go-review.googlesource.com/96635 Reviewed-by: Brad Fitzpatrick <[email protected]>
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright 2018 The Go Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style | ||
// license that can be found in the LICENSE file. | ||
|
||
// Package mailchimp provides constants for using OAuth2 to access MailChimp. | ||
package mailchimp // import "golang.org/x/oauth2/mailchimp" | ||
|
||
import ( | ||
"golang.org/x/oauth2" | ||
) | ||
|
||
// Endpoint is MailChimp's OAuth 2.0 endpoint. | ||
// See http://developer.mailchimp.com/documentation/mailchimp/guides/how-to-use-oauth2/ | ||
var Endpoint = oauth2.Endpoint{ | ||
AuthURL: "https://login.mailchimp.com/oauth2/authorize", | ||
TokenURL: "https://login.mailchimp.com/oauth2/token", | ||
} |