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

Method ExtractToken

utils/jwt/jwt.go:44–44  ·  view source on GitHub ↗
(ctx *gin.Context)

Source from the content-addressed store, hash-verified

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
46 VerifyRefreshToken(ctx *gin.Context, token string) (bool, *RefreshClaims, error)
47 ClearToken(ctx *gin.Context) error

Callers 1

CheckLoginMethod · 0.65

Implementers 1

handlerutils/jwt/jwt.go

Calls

no outgoing calls

Tested by

no test coverage detected