oauth

package
v3.0.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2016 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const TelemetryOAuthClientResponseURL = "https://telemetrytv.com/oauth_response"

Variables

This section is empty.

Functions

func Do

func Do(entryName string, req *http.Request) (*http.Response, error)

func Init

func Init(e map[string]config.OAuthConfigEntry)

func RunCommand

func RunCommand(cfg config.CLIConfigType, errorChannel chan error, completionChannel chan bool)

Types

type Client

type Client interface {
	GetAuthorizationURL() (string, error)
	ExchangeToken(code, verifier, realm string) error
	Do(req *http.Request) (*http.Response, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL