Bob Maertz
ad31b5d6f7
Passing context storage ( #3941 )
...
Signed-off-by: Bob Maertz <1771054+bobmaertz@users.noreply.github.com>
1 year ago
Sean Liao
0b6a78397e
use slog for structured logging ( #3502 )
...
Signed-off-by: Sean Liao <sean+git@liao.dev>
2 years ago
Ferenc Fabian
2377b0a0cd
Add context to storage's Create endpoints ( #2935 )
...
* Initial commit
Signed-off-by: PumpkinSeed <qwer.kocka@gmail.com>
* Finish the syntex fixes
Signed-off-by: PumpkinSeed <qwer.kocka@gmail.com>
* Add fixes after running the tests
Signed-off-by: PumpkinSeed <qwer.kocka@gmail.com>
* Change background context to request context
Signed-off-by: PumpkinSeed <qwer.kocka@gmail.com>
---------
Signed-off-by: PumpkinSeed <qwer.kocka@gmail.com>
2 years ago
m.nabokikh
1d83e4749d
Add gocritic
...
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
5 years ago
Mark Sagi-Kazar
be581fa7ff
Add logger interface and stop relying on Logrus directly
7 years ago
joannano
88d1e2b041
keystone: test cases, refactoring and cleanup
7 years ago
knangia
0774a89066
keystone: squashed changes from knangia/dex
7 years ago
rithu john
fd4f57b5f3
storage/static.go: storage backend should not explicitly lower-case email ids.
9 years ago
rithu john
8c9c2518f5
server: account for dynamically changing connector object in storage.
9 years ago
rithu john
5abb4b3df6
storage/static.go: correct the error message that gets displayed.
9 years ago
Eric Chiang
4c39bc20ae
storage: make static storages query real storages for some actions
...
If dex is configured with static passwords or clients, let the API
still add or modify objects in the backing storage, so long as
their IDs don't conflict with the static ones. List options now
aggregate resources from the static list and backing storage.
9 years ago
rithu john
19c22807a7
api: adding ListPasswords() method to the storage interface.
9 years ago
Eric Chiang
2909929b17
*: add the ability to define passwords statically
10 years ago
Eric Chiang
725a94214a
storage: add storage with static clients
10 years ago