summaryrefslogtreecommitdiff
path: root/player-android/android
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-19 19:32:30 +0300
committerPaul Buetow <paul@buetow.org>2026-05-19 19:32:30 +0300
commit965b36f3e09a0d4cdbb69cb3f423ab01fecf2419 (patch)
treec7271588848864b88c67e82818153d08c91dae64 /player-android/android
parent3779053951f338076fcc448daf9bee9ada18cf54 (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/android')
0 files changed, 0 insertions, 0 deletions