auth

package
v0.0.0-...-422987d Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoAuthHeaderIncluded = errors.New("no authorization header included")

Functions

func CheckPasswordHash

func CheckPasswordHash(password, hash string) error

func GetAPIKey

func GetAPIKey(headers http.Header) (string, error)

GetAPIKey -

func HashPassword

func HashPassword(password string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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