auth

package
v0.0.0-...-c3216bd Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2018 License: MIT, MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	// contains filtered or unexported fields
}

Auth contains the authentication information.

func New

func New(clientID, clientSecret, scope string, debug bool) *Auth

New returns a new Auth object.

func (*Auth) GetOAuthClient

func (a *Auth) GetOAuthClient() *http.Client

GetOAuthClient return an http.Client for the api to use.

Jump to

Keyboard shortcuts

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