MCPcopy Index your code
hub / github.com/gotify/server / GenerateClientToken

Function GenerateClientToken

auth/token.go:43–45  ·  view source on GitHub ↗

GenerateClientToken generates a client token.

()

Source from the content-addressed store, hash-verified

41
42// GenerateClientToken generates a client token.
43func GenerateClientToken() string {
44 return generateRandomToken(clientPrefix)
45}
46
47// GeneratePluginToken generates a plugin token.
48func GeneratePluginToken() string {

Callers 1

TestTokenHavePrefixFunction · 0.85

Calls 1

generateRandomTokenFunction · 0.85

Tested by 1

TestTokenHavePrefixFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…