Repository navigation
Commit 472db43
Document validation re-check and storage injection limits
Address review nits on the auth-server constructors.
NewEmbeddedAuthServer validates cfg before createStorage and
NewEmbeddedAuthServerWithStorage validates again for direct callers.
Note the re-check at the first call site so the duplication does not
read as an accident.
Document what the injected storage does not solve on
NewEmbeddedAuthServerWithStorage: a shared backend lets replicas share
persisted state but provides no cross-replica delivery or session
affinity, which stay the caller responsibility.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Laurel Orr <laurel@stacklok.com>1 parent 92314d9 commit 472db43
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
| |||
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
104 | 116 | | |
105 | 117 | | |
106 | 118 | | |
| |||
0 commit comments