authenticate

package
v0.0.0-...-d125d34 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HTTPHeaderOperator    = "Operator"
	HTTPHeaderSignature   = "Signature"
	HTTPHeaderContentMD5  = "Content-MD5"
	HTTPHeaderContentType = "Content-Type"
	HTTPHeaderDate        = "Date"
)

Variables

This section is empty.

Functions

func Middleware

func Middleware(keys authenticate.KeysConfig, skippers ...middleware.Skipper) gin.HandlerFunc

func SignRequest

func SignRequest(ctx context.Context, request *http.Request, publicKey string, secretKey string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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