(ctx context.Context)
| 197 | } |
| 198 | |
| 199 | func (d *dummyBackend) ListIDs(ctx context.Context) (identityIDs []idpool.ID, err error) { |
| 200 | d.mutex.Lock() |
| 201 | defer d.mutex.Unlock() |
| 202 | |
| 203 | return slices.Collect(maps.Keys(d.masterKeys)), nil |
| 204 | } |
| 205 | |
| 206 | func (d *dummyBackend) ListAndWatch(ctx context.Context, handler CacheMutations) { |
| 207 | d.mutex.Lock() |