Skip to content

Commit a0c2ff5

Browse files
committed
feat: add patreon
1 parent 2d9e4a2 commit a0c2ff5

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

patreon/patreon.go

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Copyright 2023 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
4+
5+
// Package patreon provides constants for using OAuth2 to access Patreon APIs.
6+
package patreon // import "golang.org/x/oauth2/patreon"
7+
8+
import (
9+
"golang.org/x/oauth2"
10+
)
11+
12+
// Endpoint is the Patreon OAuth 2.0 endpoint.
13+
var Endpoint = oauth2.Endpoint{
14+
AuthURL: "https://www.patreon.com/oauth2/authorize",
15+
TokenURL: "https://www.patreon.com/api/oauth2/token",
16+
}

0 commit comments

Comments
 (0)