MCPcopy
hub / github.com/gotify/server / GetTokenID

Function GetTokenID

auth/util.go:39–41  ·  view source on GitHub ↗

GetTokenID returns the tokenID.

(ctx *gin.Context)

Source from the content-addressed store, hash-verified

37
38// GetTokenID returns the tokenID.
39func GetTokenID(ctx *gin.Context) string {
40 return ctx.MustGet("tokenid").(string)
41}

Callers 3

CreateMessageMethod · 0.92
HandleMethod · 0.92
Test_getTokenMethod · 0.85

Calls

no outgoing calls

Tested by 1

Test_getTokenMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…