auth

package
v0.0.0-...-da644f5 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminAuthenticationHandler

func AdminAuthenticationHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

AdminAuthenticationHandler is a HTTP handler that handles an authentication request from an admin

func LogoutRequestHandler

func LogoutRequestHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

LogoutRequestHandler handles a logout request from a student or an admin

func UserAuthenticationHandler

func UserAuthenticationHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

UserAuthenticationHandler handles a user's request to log into the app

Types

This section is empty.

Jump to

Keyboard shortcuts

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