| 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 |
| 216 | UpdateDeviceAuthCode(ctx context.Context, id, userID string, state DeviceAuthCodeState) error |
| 217 | DeleteExpiredDeviceAuthCodes(ctx context.Context, retention time.Duration) error |