feat: implement T09, T15, T21 — userinfo endpoint, LLDAP export, negative tests
- T09: /userinfo with RS256 JWT validation, scope-filtered claims - T15: LLDAP→canonical export tool with validation, migration_event telemetry - T21: Negative test suite (Scenario D) — all 7 unsupported features verified All go tests passing. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
4097a7de8b
commit
3ee8090a98
9 changed files with 1156 additions and 2 deletions
|
|
@ -44,6 +44,14 @@ func (m *mockUserRepo) ValidatePassword(_ context.Context, _, _ string) (bool, e
|
|||
return false, nil
|
||||
}
|
||||
|
||||
func (m *mockUserRepo) ListUsers(_ context.Context) ([]domain.User, error) {
|
||||
users := make([]domain.User, 0, len(m.users))
|
||||
for _, u := range m.users {
|
||||
users = append(users, *u)
|
||||
}
|
||||
return users, nil
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// PKCE helpers
|
||||
// ---------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue