MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / SetLoginToken

Method SetLoginToken

utils/jwt/jwt.go:42–42  ·  view source on GitHub ↗
(ctx *gin.Context, uid int64)

Source from the content-addressed store, hash-verified

40
41type Handler interface {
42 SetLoginToken(ctx *gin.Context, uid int64) (string, string, error)
43 SetJWTToken(ctx *gin.Context, uid int64, ssid string) (string, error)
44 ExtractToken(ctx *gin.Context) string
45 CheckSession(ctx *gin.Context, ssid string) error

Callers 2

LoginMethod · 0.65
LoginSMSMethod · 0.65

Implementers 1

handlerutils/jwt/jwt.go

Calls

no outgoing calls

Tested by

no test coverage detected