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

Method InsertUserAuthToken

admin/database/database.go:165–165  ·  view source on GitHub ↗
(ctx context.Context, opts *InsertUserAuthTokenOptions)

Source from the content-addressed store, hash-verified

163 FindUserAuthTokens(ctx context.Context, userID, afterID string, limit int, refresh *bool) ([]*UserAuthToken, error)
164 FindUserAuthToken(ctx context.Context, id string) (*UserAuthToken, error)
165 InsertUserAuthToken(ctx context.Context, opts *InsertUserAuthTokenOptions) (*UserAuthToken, error)
166 UpdateUserAuthTokenUsedOn(ctx context.Context, ids []string) error
167 UpdateUserAuthTokenExpiresOn(ctx context.Context, id string, expiresOn time.Time) error
168 DeleteUserAuthToken(ctx context.Context, id string) error

Callers 1

IssueUserAuthTokenMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected