mirror of
https://github.com/rclone/rclone.git
synced 2024-11-27 19:04:26 +01:00
20 lines
593 B
Go
20 lines
593 B
Go
|
// 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 twitch provides constants for using OAuth2 to access Twitch.
|
||
|
package twitch // import "golang.org/x/oauth2/twitch"
|
||
|
|
||
|
import (
|
||
|
"golang.org/x/oauth2"
|
||
|
)
|
||
|
|
||
|
// Endpoint is Twitch's OAuth 2.0 endpoint.
|
||
|
//
|
||
|
// For more information see:
|
||
|
// https://dev.twitch.tv/docs/authentication
|
||
|
var Endpoint = oauth2.Endpoint{
|
||
|
AuthURL: "https://api.twitch.tv/kraken/oauth2/authorize",
|
||
|
TokenURL: "https://api.twitch.tv/kraken/oauth2/token",
|
||
|
}
|