middleware

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLoggerMiddleware

func GetLoggerMiddleware() echo.MiddlewareFunc

func Session

func Session(cfg *config.Config, generator session.Manager) echo.MiddlewareFunc

Session is a convenience function to create a middleware.JWT with custom JWT verification

func WebhookMiddleware added in v0.10.0

func WebhookMiddleware(cfg *config.Config, jwkManager hankoJwk.Manager, persister persistence.Persister) echo.MiddlewareFunc

Types

type ParseTokenFunc

type ParseTokenFunc = func(c echo.Context, auth string) (interface{}, error)

Jump to

Keyboard shortcuts

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