fake

package
v0.1.23 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuthCtx contextKey = iota
)

Variables

This section is empty.

Functions

func Authenticate

func Authenticate(ctx *fiber.Ctx, input *openapi3filter.AuthenticationInput) error

Authenticate is a fake implementation of the authenticator.

func GetAPIKeyFromRequest

func GetAPIKeyFromRequest(req *http.Request) (string, error)

GetAPIKeyFromRequest is a fake implementation of the API key extractor.

func NewAuthenticator

func NewAuthenticator() openapi3filter.AuthenticationFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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