mirror of
https://github.com/golang/oauth2.git
synced 2025-07-21 00:00:09 +08:00
instagram: add Instagram endpoints
Change-Id: Ibb180f48013a398d597f56e14f081842735957df GitHub-Last-Rev: 2d643292768610cdb5896827270dcd4a71da3572 GitHub-Pull-Request: golang/oauth2#304 Reviewed-on: https://go-review.googlesource.com/125639 Reviewed-by: Tim Cooper <tim.cooper@layeh.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
ef147856a6
commit
3d292e4d0c
16
instagram/instagram.go
Normal file
16
instagram/instagram.go
Normal file
@ -0,0 +1,16 @@
|
||||
// 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 instagram provides constants for using OAuth2 to access Instagram.
|
||||
package instagram // import "golang.org/x/oauth2/instagram"
|
||||
|
||||
import (
|
||||
"golang.org/x/oauth2"
|
||||
)
|
||||
|
||||
// Endpoint is Instagram's OAuth 2.0 endpoint.
|
||||
var Endpoint = oauth2.Endpoint{
|
||||
AuthURL: "https://api.instagram.com/oauth/authorize",
|
||||
TokenURL: "https://api.instagram.com/oauth/access_token",
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user