|
| AccountController (IAccountService accountService, IUserActivityRepository activityRepository) |
async Task< IActionResult > | GetProfile () |
| Gets the profile information of the currently authenticated user.
|
async Task< IActionResult > | UpdatePassword ([FromBody] UpdatePasswordRequestDto passwordDto) |
| Updates the user's login password after verifying their current password.
|
async Task< IActionResult > | UpdateMasterPassword ([FromBody] UpdateMasterPasswordRequestDto request) |
| Updates the user's master password after verifying their current password and receiving re-encrypted vault items.
|
async Task< IActionResult > | GetRecentActivity ([FromQuery] int limit=10) |
| Gets recent user activities for the current user.
|
async Task< IActionResult > | Disable2Fa () |
| Disables two-factor authentication for the current user.
|
async Task< IActionResult > | RegenerateRecoveryCodes () |
| Regenerates new recovery codes for the current user.
|
Definition at line 4 of file AccountController.cs.
◆ AccountController()
AccountController.AccountController |
( |
IAccountService | accountService, |
|
|
IUserActivityRepository | activityRepository ) |
|
inline |
◆ Disable2Fa()
async Task< IActionResult > AccountController.Disable2Fa |
( |
| ) |
|
|
inline |
Disables two-factor authentication for the current user.
- Returns
Definition at line 108 of file AccountController.cs.
◆ GetProfile()
async Task< IActionResult > AccountController.GetProfile |
( |
| ) |
|
|
inline |
Gets the profile information of the currently authenticated user.
- Returns
Definition at line 21 of file AccountController.cs.
◆ GetRecentActivity()
async Task< IActionResult > AccountController.GetRecentActivity |
( |
[FromQuery] int | limit = 10 | ) |
|
|
inline |
Gets recent user activities for the current user.
- Parameters
-
- Returns
Definition at line 86 of file AccountController.cs.
◆ RegenerateRecoveryCodes()
async Task< IActionResult > AccountController.RegenerateRecoveryCodes |
( |
| ) |
|
|
inline |
◆ UpdateMasterPassword()
async Task< IActionResult > AccountController.UpdateMasterPassword |
( |
[FromBody] UpdateMasterPasswordRequestDto | request | ) |
|
|
inline |
Updates the user's master password after verifying their current password and receiving re-encrypted vault items.
- Parameters
-
- Returns
Definition at line 62 of file AccountController.cs.
◆ UpdatePassword()
async Task< IActionResult > AccountController.UpdatePassword |
( |
[FromBody] UpdatePasswordRequestDto | passwordDto | ) |
|
|
inline |
Updates the user's login password after verifying their current password.
- Parameters
-
- Returns
Definition at line 38 of file AccountController.cs.
The documentation for this class was generated from the following file: