oauth

package
v0.0.0-...-cfc3d81 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*service)

func WithFrontend

func WithFrontend(url string) Option

func WithProvider

func WithProvider(name, id, secret string) Option

type Service

type Service interface {
	Provider() []string
	http.Handler
}

func New

func New(userService store.UserService, jwtService jwt.Service, baseURL string, opts ...Option) Service

Jump to

Keyboard shortcuts

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