Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

23 linhas
790 B

  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. // Package mediamath provides constants for using OAuth2 to access MediaMath.
  5. package mediamath // import "golang.org/x/oauth2/mediamath"
  6. import (
  7. "golang.org/x/oauth2"
  8. )
  9. // Endpoint is MediaMath's OAuth 2.0 endpoint for production.
  10. var Endpoint = oauth2.Endpoint{
  11. AuthURL: "https://api.mediamath.com/oauth2/v1.0/authorize",
  12. TokenURL: "https://api.mediamath.com/oauth2/v1.0/token",
  13. }
  14. // SandboxEndpoint is MediaMath's OAuth 2.0 endpoint for sandbox.
  15. var SandboxEndpoint = oauth2.Endpoint{
  16. AuthURL: "https://t1sandbox.mediamath.com/oauth2/v1.0/authorize",
  17. TokenURL: "https://t1sandbox.mediamath.com/oauth2/v1.0/token",
  18. }