jwtmiddleware

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: MIT Imports: 7 Imported by: 0

README

lambda-jwt-middleware

Authenticate user from cookie in Aws Lambda

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle[T types.ApiRequest, R types.ApiResponse](f types.HandlerFunc[T, R], getUserFromPayload func(interface{}) (interface{}, error)) types.HandlerFunc[T, R]

Types

This section is empty.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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