middleware

package
v0.0.0-...-58f0064 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PASETO

func PASETO(config PASETOConfig) echo.MiddlewareFunc

func SetContextClaimsFromToken

func SetContextClaimsFromToken(next echo.HandlerFunc) echo.HandlerFunc

Types

type PASETOConfig

type PASETOConfig struct {
	Skipper      stdmw.Skipper
	ErrorHandler func(echo.Context, error) error
	SymmetricKey paseto.V4SymmetricKey
	Implicit     []byte
	Rules        []paseto.Rule
	ContextKey   string
}

Jump to

Keyboard shortcuts

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