middlewares

package
v1.17.26 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LimitGroup

func LimitGroup(groups ...string) gin.HandlerFunc

func RequireAccessToken added in v1.17.2

func RequireAccessToken(c *gin.Context)

RequireAccessToken 解析并将 access claims 写入上下文 需要在 RequireAppSignature 之后调用

func RequireAppSignature added in v1.17.2

func RequireAppSignature(c *gin.Context)

func RequireU2F

func RequireU2F(c *gin.Context)

func Secure

func Secure() gin.HandlerFunc

func UserAuth

func UserAuth(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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