auth

package
v0.0.0-...-ce25bc5 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitUsers

func InitUsers()

InitUsers ensures system users

func Middleware

func Middleware(next http.Handler) http.Handler

Middleware is authentication HTTP middleware

func RegisterAPI

func RegisterAPI(mux chi.Router)

RegisterAPI registers authentication HTTP API

func RequireAPIKey

func RequireAPIKey(next http.Handler) http.Handler

RequireAPIKey middleware to check API key

Types

This section is empty.

Jump to

Keyboard shortcuts

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