oauth

package
v0.0.0-...-8a4eff6 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterProviderHTTPRoutes

func RegisterProviderHTTPRoutes(srv Server, service *ProviderService)

Types

type ProviderService

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

func NewProviderService

func NewProviderService() *ProviderService

func (*ProviderService) Providers

func (s *ProviderService) Providers() []string

func (*ProviderService) Register

func (s *ProviderService) Register(provider string)

type Server

type Server interface {
	RegisterHandler(path, method string, f http.Handler)
}

Server defines the interface to register the http handlers.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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