diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-19 19:32:30 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-19 19:32:30 +0300 |
| commit | 965b36f3e09a0d4cdbb69cb3f423ab01fecf2419 (patch) | |
| tree | c7271588848864b88c67e82818153d08c91dae64 /player-android | |
| parent | 3779053951f338076fcc448daf9bee9ada18cf54 (diff) | |
Inject narrow api.Authenticator into NewMiddleware
The middleware previously took the full service.AuthService, but only
called three methods on it. Define a narrow api.Authenticator interface
(AuthenticateBearer, CountUsers, GetUserByID) and inject that instead,
fixing the ISP violation. service.AuthService satisfies the new
interface structurally, so callers and tests need no changes.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Diffstat (limited to 'player-android')
0 files changed, 0 insertions, 0 deletions
