auth

package
v0.0.0-...-6f8991e Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middleware

func Middleware(tokenParser TokenParser) echo.MiddlewareFunc

Middleware makes JWT implement the Middleware interface.

Types

type TokenParser

type TokenParser interface {
	ParseToken(string) (*jwt.Token, error)
}

TokenParser represents JWT token parser

Jump to

Keyboard shortcuts

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