diff options
author | Frederick Muriuki Muriithi | 2023-01-20 11:42:49 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-01-20 11:48:30 +0300 |
commit | c0db8ccf1be0d43c437fc9e5090e49329a6b2911 (patch) | |
tree | ecb600f941bc8bf3c6868a2a9f8e61940ce1e37e /gn3/auth/authentication/users.py | |
parent | c843e14249be425e20dcb8cbb6653e49c22298de (diff) | |
download | genenetwork3-c0db8ccf1be0d43c437fc9e5090e49329a6b2911.tar.gz |
auth: Setup the user correctly
* gn3/auth/authentication/oauth2/grants/password_grant.py: Return user rather
than boolean
* gn3/auth/authentication/oauth2/models/oauth2client.py: provide optional
`user` argument to allow flexibility in setting up the client's user
* gn3/auth/authentication/oauth2/models/oauth2token.py: Set token and client
user correctly
* gn3/auth/authentication/oauth2/server.py: Set token user from the request
Diffstat (limited to 'gn3/auth/authentication/users.py')
0 files changed, 0 insertions, 0 deletions