1 // Copyright 2018 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 stackoverflow provides constants for using OAuth2 to access Stack Overflow. 6 package stackoverflow // import "golang.org/x/oauth2/stackoverflow" 7 8 import ( 9 "golang.org/x/oauth2" 10 ) 11 12 // Endpoint is Stack Overflow's OAuth 2.0 endpoint. 13 var Endpoint = oauth2.Endpoint{ 14 AuthURL: "https://stackoverflow.com/oauth", 15 TokenURL: "https://stackoverflow.com/oauth/access_token", 16 } 17