Bobby Rullo
f9dbc8a3d2
db, client: add data model for trusted peers
...
Trusted Peers are clients that are authorized to mint tokens
for another client.
10 years ago
Bobby Rullo
1b4dca80d7
client: remove ClientManagerFromClients
...
Replaced by ClientRepoFromClients, which makes more sense IMO. Also, it
was doing the wrong thing: it was ignoring the client_id and client_secret
passed into it as far as I can tell.
10 years ago
Bobby Rullo
86ef34d8e2
client: generateClientCreds -> addClientCreds
...
a little easier to read this way IMO.
10 years ago
Evan Cordell
73d9742c8b
client manager: accept full client when creating
10 years ago
Evan Cordell
a418e1c4e7
client: add client manager
...
adds a client manager to handle business logic, leaving the repo
for basic crud operations. Also adds client to the test script
10 years ago
Evan Cordell
3da98fcb8e
client: add transaction support
10 years ago
Bobby Rullo
158bfa5ed7
client: Add tests for ClientsFromReader
...
Also require client ID and secret.
10 years ago
Bobby Rullo
e5948ab3ce
*: ClientIdentityXXX -> ClientXXX
...
Get rid of all outdated "ClientIdentity" terminology.
10 years ago
Bobby Rullo
95757e8779
*: Client Repo now deals with custom Client object
...
This is instead of oidc.ClientIdentity. This makes it easier to add new
fields custom to dex to the client.
10 years ago
Eric Chiang
6120f7ac05
*: add isAdmin option to client repo when creating a client
10 years ago
Eric Chiang
b572b8dd6c
*: remove in memory client repo
...
The DB implementation expects secrets to be base64 encoded blobs.
Because of this a bunch of tests broke moving to sqlite.
A lot of this commit is fixing those tests.
10 years ago
Eric Chiang
5e44b6bc27
*: update all to accommodate changes to go-oidc
...
Update dex to comply with the changes to fieldnames and types of
the client and provider metadata structs in coreos/go-oidc.
10 years ago
Bobby Rullo
66fe201c24
*: move original project to dex
11 years ago