auth

package
v0.0.0-...-536b113 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicAuth

type BasicAuth struct {
	Users []string `cfg:"users"`
	Realm string   `cfg:"realm"`
	// contains filtered or unexported fields
}

func (*BasicAuth) Prepare

func (b *BasicAuth) Prepare() error

func (*BasicAuth) Validator

func (b *BasicAuth) Validator(username, password string) error

Jump to

Keyboard shortcuts

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