Skip to content

Commit dfbc866

Browse files
narqobradfitz
authored andcommitted
yahoo: add Yahoo OAuth2 endpoint
Change-Id: I4587eaf06cd94821052095345bb76b24ba500699 Reviewed-on: https://go-review.googlesource.com/84195 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 09bba27 commit dfbc866

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

yahoo/yahoo.go

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Copyright 2017 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 yahoo provides constants for using OAuth2 to access Yahoo.
6+
package yahoo // import "golang.org/x/oauth2/yahoo"
7+
8+
import (
9+
"golang.org/x/oauth2"
10+
)
11+
12+
// Endpoint is Yahoo's OAuth 2.0 endpoint.
13+
// See https://developer.yahoo.com/oauth2/guide/
14+
var Endpoint = oauth2.Endpoint{
15+
AuthURL: "https://api.login.yahoo.com/oauth2/request_auth",
16+
TokenURL: "https://api.login.yahoo.com/oauth2/get_token",
17+
}

0 commit comments

Comments
 (0)