package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Jul 10, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func WithAuth(handler ...iris.Handler) []iris.Handler
WithAuth token验证器,
auth.JwtBasic header预处理
auth.Forbidden401Handler 无权限时返回401, 返回格式按照参数 auth.ForbiddenOption
Source Files
¶
Click to show internal directories.
Click to hide internal directories.