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

Struct magicAuthToken

admin/auth_token.go:160–163  ·  view source on GitHub ↗

magicAuthToken implements AuthToken for magic tokens belonging to a project.

Source from the content-addressed store, hash-verified

158
159// magicAuthToken implements AuthToken for magic tokens belonging to a project.
160type magicAuthToken struct {
161 model *database.MagicAuthToken
162 token *authtoken.Token
163}
164
165func (t *magicAuthToken) Token() *authtoken.Token {
166 return t.token

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected