auth

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Forbidden

func Forbidden(w http.ResponseWriter)

func Register

func Register(name string, factory DriverFactory)

Types

type Driver

type Driver interface {
	NewOauth2Provider() negroni.Handler
	LoginRequired() negroni.Handler
	RestrictRequest() negroni.HandlerFunc
}

func New

func New(c *config.Config) Driver

type DriverFactory

type DriverFactory interface {
	New(c *config.Config) Driver
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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