Documentation ¶
Index ¶
- Variables
- func GenCallback(callback, token string) (string, error)
- func GetAccessClaims(c *gin.Context) *jwtClaims.AccessToken
- func GetAppCode(c *gin.Context) string
- func GetUserInfo(c *gin.Context) *jwtClaims.UserToken
- func NewMfa(uid uint) (*otp.Key, error)
- func ShouldBindReused(c *gin.Context, obj any) error
- func SoftHttpSrv(E *gin.Engine) error
- func VerifyMfa(code, secret string) (bool, error)
- type UintSlice
Constants ¶
This section is empty.
Variables ¶
View Source
var Http *tool.Http
Functions ¶
func GenCallback ¶
func GetAccessClaims ¶ added in v1.17.2
func GetAccessClaims(c *gin.Context) *jwtClaims.AccessToken
func GetAppCode ¶ added in v1.17.2
func SoftHttpSrv ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.