- Added endpoints for sending and confirming email verification, enhancing user account security. - Integrated two-factor authentication (2FA) with TOTP support, including enabling, verifying, and disabling 2FA. - Implemented social login functionality for Google and Facebook, allowing users to authenticate using their existing accounts. - Updated dependency injection to include services for email, 2FA, and social login. - Enhanced documentation to reflect new features and usage examples for email verification and 2FA.
11 lines
327 B
C#
11 lines
327 B
C#
using MediatR;
|
|
|
|
namespace StorageService.API.Application.Commands;
|
|
|
|
/// <summary>
|
|
/// EN: Command to delete a Sample.
|
|
/// VI: Command để xóa một Sample.
|
|
/// </summary>
|
|
/// <param name="SampleId">EN: Sample ID to delete / VI: ID sample cần xóa</param>
|
|
public record DeleteSampleCommand(Guid SampleId) : IRequest<bool>;
|