CurrentUserResponse
Response DTO for the current authenticated user
Properties
| Name | Type | Description |
|---|---|---|
| code | string | The user's unique code |
The user's unique code | ||
| string | The user's email address | |
The user's email address | ||
| firstName | string | The user's first name |
The user's first name | ||
| lastName | string | The user's last name |
The user's last name | ||
| fullName | string | The user's full name |
The user's full name | ||
| isEmailVerified | boolean | Indicates whether the user's email address has been verified |
Indicates whether the user's email address has been verified | ||
| isSuperAdmin | boolean | Indicates whether the user is a super admin |
Indicates whether the user is a super admin | ||
| avatar | string | URL to the user's avatar image |
URL to the user's avatar image | ||
| authProvider | string | The authentication provider type (Local, Auth0, Google, etc.) |
The authentication provider type (Local, Auth0, Google, etc.) | ||
JSON Example
{
"code": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"fullName": "string"
}