Documentation ¶
Index ¶
Constants ¶
View Source
const (
ClaimUID = "uid"
)
Variables ¶
This section is empty.
Functions ¶
func ActiveFilter ¶
ActiveFilter check whether the user is active.
func JWTFilter ¶
JWTFilter check whether the token is valid, and if the token is valid, bind it to the context.
func LoginFilter ¶
LoginFilter check if the user is logged in.
func PermissionFilter ¶
IsPermissionMatch check whether the user permissions match the URL permissions.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.