MCPcopy
hub / github.com/tsuru/tsuru / APIToken

Struct APIToken

auth/api_token.go:18–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16)
17
18type APIToken struct {
19 Token string `json:"token" bson:"apikey"`
20 UserEmail string `json:"email" bson:"email"`
21}
22
23func (t *APIToken) GetValue() string {
24 return t.Token

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected