authenticating

package
v0.0.0-...-6a590d3 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2017 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	HandleFacebookLogin(http.ResponseWriter, *http.Request)
	HandleFacebookCallback(http.ResponseWriter, *http.Request)
	HandleFacebookLogout(http.ResponseWriter, *http.Request)
	AuthMiddleware(http.HandlerFunc) http.HandlerFunc
	ValidateSession(int, string) error
}

Service is the interface that provides Facebook authentication methods.

func NewService

func NewService() Service

NewService creates an authentication service.

Jump to

Keyboard shortcuts

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