auth

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadAuthSchemes

func LoadAuthSchemes(cfg map[string]config.AuthScheme) (map[string]AuthScheme, error)

Types

type AuthScheme

type AuthScheme interface {
	Authorized(request *http.Request, response http.ResponseWriter) bool
}

Jump to

Keyboard shortcuts

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