endpoints: add new package for oauth2.Endpoint values

This commit is contained in:
Firstnaruto 2020-01-29 10:26:14 +07:00
Родитель e0ee7e0eaf
Коммит 2baa247004
1 изменённых файлов: 0 добавлений и 16 удалений

Просмотреть файл

@ -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",
}