current_user
Definition of /auth/current-user/ endpoints
get_current_user(group_ids_names=False, user=Depends(current_user_act), db=Depends(get_async_db))
async
¶
Return current user
Source code in fractal_server/app/routes/auth/current_user.py
28 29 30 31 32 33 34 35 36 37 38 39 40 41 | |
patch_current_user(user_update, current_user=Depends(current_user_act), user_manager=Depends(get_user_manager), db=Depends(get_async_db))
async
¶
Note: a user cannot patch their own password (as enforced within the
UserUpdateStrict schema).
Source code in fractal_server/app/routes/auth/current_user.py
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |