onconova.core.auth.controllers
AuthController
¶
Bases: ControllerBase
API controller to handle authentication-related endpoints for user login and session management.
login(credentials)
¶
Authenticates a user using the provided credentials.
Source code in onconova/core/auth/controllers.py
login_with_provider_token(credentials)
¶
Authenticates a user using a provider token.
Source code in onconova/core/auth/controllers.py
UsersController
¶
Bases: ControllerBase
Controller for managing user-related operations.
create_user(payload)
¶
Creates a new user with the provided payload.
Source code in onconova/core/auth/controllers.py
get_all_users_matching_the_query(query)
¶
Retrieves all user objects that match the specified query filters.
Source code in onconova/core/auth/controllers.py
get_user_by_id(userId)
¶
Retrieve a user instance by its unique ID.
Source code in onconova/core/auth/controllers.py
get_user_events(userId)
¶
Retrieves the event history for the specified user.
Source code in onconova/core/auth/controllers.py
reset_user_password(userId, password)
¶
Resets the password for the specified user.
Source code in onconova/core/auth/controllers.py
update_user(userId, payload)
¶
Updates the specified user's information using the provided payload.
Source code in onconova/core/auth/controllers.py
update_user_password(userId, payload)
¶
Updates the password for a specified user.
Source code in onconova/core/auth/controllers.py
update_user_profile(userId, payload)
¶
Updates the profile information of a user with the given user ID.
Source code in onconova/core/auth/controllers.py
runner