auth

package
v0.0.0-...-c277895 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2021 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