MCPcopy
hub / github.com/apache/answer / GenerateToken

Function GenerateToken

pkg/token/token.go:25–28  ·  view source on GitHub ↗

GenerateToken generate token

()

Source from the content-addressed store, hash-verified

23
24// GenerateToken generate token
25func GenerateToken() string {
26 uid, _ := uuid.NewV7()
27 return uid.String()
28}

Callers 15

ChatCompletionsMethod · 0.92
SetUserCacheInfoMethod · 0.92
ExternalLoginMethod · 0.92
AddAPIKeyMethod · 0.92
GenerateCaptchaMethod · 0.92
GetUserActivationMethod · 0.92
SendUserActivationMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected