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

Method FindDeviceAuthCodeByDeviceCode

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

Source from the content-addressed store, hash-verified

210 InsertNotificationToken(ctx context.Context, opts *InsertNotificationTokenOptions) (*NotificationToken, error)
211
212 FindDeviceAuthCodeByDeviceCode(ctx context.Context, deviceCode string) (*DeviceAuthCode, error)
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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected