Class LoginRequest
- Namespace
- Builvero.Application.DTOs.Auth
- Assembly
- Builvero.Application.dll
Request model for user authentication (login) with email and password.
public class LoginRequest
- Inheritance
-
LoginRequest
- Inherited Members
Remarks
This DTO is used by the login endpoint to authenticate existing users. Both fields are required. Blocked or disabled accounts cannot log in.
Properties
Gets or sets the email address of the user account.
public string Email { get; set; }
Property Value
- string
- Request model for user authentication (login) with email and password.
Password
Gets or sets the password for the user account.
public string Password { get; set; }
Property Value
- string
- Request model for user authentication (login) with email and password.
Remarks
The password is verified against the hashed password stored in the database.