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

Struct serviceAuthToken

admin/auth_token.go:78–81  ·  view source on GitHub ↗

serviceAuthToken implements AuthToken for tokens belonging to a service.

Source from the content-addressed store, hash-verified

76
77// serviceAuthToken implements AuthToken for tokens belonging to a service.
78type serviceAuthToken struct {
79 model *database.ServiceAuthToken
80 token *authtoken.Token
81}
82
83func (t *serviceAuthToken) Token() *authtoken.Token {
84 return t.token

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected