auth

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package auth contains implementations of authentification backends

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend interface {
	LoginHandler() http.Handler
	LogoutHandler() http.Handler
	AuthHandler() http.Handler
	GetUser(*http.Request) (*models.User, error)
}

Backend provides everything that is needed to perform authentification

Directories

Path Synopsis
Package disabled implements a disabled authentification backend.
Package disabled implements a disabled authentification backend.
Package oauth implements an authentification backend based on OAuth.
Package oauth implements an authentification backend based on OAuth.

Jump to

Keyboard shortcuts

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