mediamath - ActiveState ActiveGo 1.8
...

Package mediamath

import "golang.org/x/oauth2/mediamath"
Overview
Index

Overview ▾

Package mediamath provides constants for using OAuth2 to access MediaMath.

Index ▾

Package files

mediamath.go

Variables

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