1 // Copyright 2016 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // Package mediamath provides constants for using OAuth2 to access MediaMath. 6 package mediamath // import "golang.org/x/oauth2/mediamath" 7 8 import ( 9 "golang.org/x/oauth2" 10 ) 11 12 // Endpoint is MediaMath's OAuth 2.0 endpoint for production. 13 var Endpoint = oauth2.Endpoint{ 14 AuthURL: "https://api.mediamath.com/oauth2/v1.0/authorize", 15 TokenURL: "https://api.mediamath.com/oauth2/v1.0/token", 16 } 17 18 // SandboxEndpoint is MediaMath's OAuth 2.0 endpoint for sandbox. 19 var SandboxEndpoint = oauth2.Endpoint{ 20 AuthURL: "https://t1sandbox.mediamath.com/oauth2/v1.0/authorize", 21 TokenURL: "https://t1sandbox.mediamath.com/oauth2/v1.0/token", 22 } 23