MCPcopy Create free account
hub / github.com/rilldata/rill / userAuthToken

Struct userAuthToken

admin/auth_token.go:29–32  ·  view source on GitHub ↗

userAuthToken implements AuthToken for tokens belonging to a user.

Source from the content-addressed store, hash-verified

27
28// userAuthToken implements AuthToken for tokens belonging to a user.
29type userAuthToken struct {
30 model *database.UserAuthToken
31 token *authtoken.Token
32}
33
34func (t *userAuthToken) Token() *authtoken.Token {
35 return t.token

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected