Current user
Definition of /auth/current-user/ endpoints
| FUNCTION | DESCRIPTION |
|---|---|
get_current_user |
Return current user |
patch_current_user |
Note: a user cannot patch their own password (as enforced within the |
Classes¶
Functions:¶
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
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).