middleware

package
v0.0.0-...-1a7f21c Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppAndJWTAuthMiddleware

func AppAndJWTAuthMiddleware(isApplicationAllowed bool, permissions ...string) gin.HandlerFunc

AppAndJWTAuthMiddleware middleware for authentication

func CORSMiddleware

func CORSMiddleware(c *gin.Context)

CORSMiddleware append cros headers

func JSONBodyParseMiddleware

func JSONBodyParseMiddleware(c *gin.Context)

JSONBodyParseMiddleware is body json parse middleware

func VerifyApplicationTokenMiddleware

func VerifyApplicationTokenMiddleware(c *gin.Context)

VerifyApplicationTokenMiddleware verify given application token

Types

This section is empty.

Jump to

Keyboard shortcuts

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