Skip to content

Commit

Permalink
yahoo: add Yahoo OAuth2 endpoint
Browse files Browse the repository at this point in the history
Change-Id: I4587eaf06cd94821052095345bb76b24ba500699
Reviewed-on: https://go-review.googlesource.com/84195
Reviewed-by: Brad Fitzpatrick <[email protected]>
  • Loading branch information
narqo authored and bradfitz committed Dec 15, 2017
1 parent 09bba27 commit dfbc866
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions yahoo/yahoo.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright 2017 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 yahoo provides constants for using OAuth2 to access Yahoo.
package yahoo // import "golang.org/x/oauth2/yahoo"

import (
"golang.org/x/oauth2"
)

// Endpoint is Yahoo's OAuth 2.0 endpoint.
// See https://developer.yahoo.com/oauth2/guide/
var Endpoint = oauth2.Endpoint{
AuthURL: "https://api.login.yahoo.com/oauth2/request_auth",
TokenURL: "https://api.login.yahoo.com/oauth2/get_token",
}

0 comments on commit dfbc866

Please sign in to comment.