authentication

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(config *Configuration, provider Provider) func(http.Handler) http.Handler

Handler authentication

Types

type Configuration

type Configuration struct {
	Realm string
}

Configuration struct

type Provider

type Provider interface {
	Validate(r *http.Request) bool
}

Provider interface

Jump to

Keyboard shortcuts

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