middleware

package
v0.0.0-...-3c02852 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authorization

func Authorization(application interfaces.Application) echo.MiddlewareFunc

Authorization func

Types

type JWTData

type JWTData struct {
	Admin       bool   `json:"adm"`
	DeviceID    string `json:"did"`
	DeviceLogin string `json:"dli"`
	jwt.StandardClaims
}

JWTData struct

Jump to

Keyboard shortcuts

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