MCPcopy Index your code
hub / github.com/rilldata/rill / DeleteDeviceAuthCode

Method DeleteDeviceAuthCode

admin/database/database.go:215–215  ·  view source on GitHub ↗
(ctx context.Context, deviceCode string)

Source from the content-addressed store, hash-verified

213 FindPendingDeviceAuthCodeByUserCode(ctx context.Context, userCode string) (*DeviceAuthCode, error)
214 InsertDeviceAuthCode(ctx context.Context, deviceCode, userCode, clientID string, expiresOn time.Time) (*DeviceAuthCode, error)
215 DeleteDeviceAuthCode(ctx context.Context, deviceCode string) error
216 UpdateDeviceAuthCode(ctx context.Context, id, userID string, state DeviceAuthCodeState) error
217 DeleteExpiredDeviceAuthCodes(ctx context.Context, retention time.Duration) error
218

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected