tokenmiddleware

package
v0.0.0-...-2023e6a Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAuthHeaderMissing = errors.New("authorization header is required")
)

Functions

func ApiAuth

func ApiAuth(c *gin.Context)

Types

type GenericAuthHeaders

type GenericAuthHeaders struct {
	Authorization string `binding:"required"`
}

Jump to

Keyboard shortcuts

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