mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-11-30 08:00:19 +01:00
82493d6dcb
* GDrive provider support * More reliable basedir ownership * Fix mimetype
22 lines
790 B
Go
22 lines
790 B
Go
// Copyright 2016 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 mediamath provides constants for using OAuth2 to access MediaMath.
|
|
package mediamath // import "golang.org/x/oauth2/mediamath"
|
|
|
|
import (
|
|
"golang.org/x/oauth2"
|
|
)
|
|
|
|
// Endpoint is MediaMath's OAuth 2.0 endpoint for production.
|
|
var Endpoint = oauth2.Endpoint{
|
|
AuthURL: "https://api.mediamath.com/oauth2/v1.0/authorize",
|
|
TokenURL: "https://api.mediamath.com/oauth2/v1.0/token",
|
|
}
|
|
|
|
// SandboxEndpoint is MediaMath's OAuth 2.0 endpoint for sandbox.
|
|
var SandboxEndpoint = oauth2.Endpoint{
|
|
AuthURL: "https://t1sandbox.mediamath.com/oauth2/v1.0/authorize",
|
|
TokenURL: "https://t1sandbox.mediamath.com/oauth2/v1.0/token",
|
|
}
|