middleware

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 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.WebhookPersister) 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