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

Method CheckSession

utils/jwt/jwt.go:45–45  ·  view source on GitHub ↗
(ctx *gin.Context, ssid string)

Source from the content-addressed store, hash-verified

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
48 setRefreshToken(ctx *gin.Context, uid int64, ssid string) (string, error)

Callers 1

CheckLoginMethod · 0.65

Implementers 1

handlerutils/jwt/jwt.go

Calls

no outgoing calls

Tested by

no test coverage detected