oauth2

package
v0.0.0-...-5001978 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OAuth2

type OAuth2 struct {
	Router                   *httprouter.Router
	FuncAuthorize, FuncToken httprouter.Handle
	BaseURI                  string
}

func NewOAuth2

func NewOAuth2(base string) *OAuth2

func (*OAuth2) InitRouter

func (o *OAuth2) InitRouter()

func (*OAuth2) ServeHTTP

func (o *OAuth2) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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