зеркало из https://github.com/golang/oauth2.git
endpoints: add new package for oauth2.Endpoint values
This commit is contained in:
Родитель
e0ee7e0eaf
Коммит
2baa247004
16
line/line.go
16
line/line.go
|
@ -1,16 +0,0 @@
|
|||
// 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 line provides constants for using OAuth2 to access LINE.
|
||||
package line // import "golang.org/x/oauth2/line"
|
||||
|
||||
import (
|
||||
"golang.org/x/oauth2"
|
||||
)
|
||||
|
||||
// Endpoint is LINE's OAuth 2.0 endpoint.
|
||||
var Endpoint = oauth2.Endpoint{
|
||||
AuthURL: "https://access.line.me/oauth2/v2.1/authorize",
|
||||
TokenURL: "https://api.line.me/oauth2/v2.1/token",
|
||||
}
|
Загрузка…
Ссылка в новой задаче