2024-07-04 11:02:45 +05:00
|
|
|
|
using System.Collections.Generic;
|
2023-02-20 12:18:45 +05:00
|
|
|
|
using System.Linq;
|
2021-11-24 11:30:29 +05:00
|
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
|
namespace AsbCloudApp.Data.User;
|
|
|
|
|
|
|
|
|
|
/// <inheritdoc/>
|
|
|
|
|
public class UserTokenDto : UserExtendedDto
|
2021-04-02 17:28:07 +05:00
|
|
|
|
{
|
2024-08-19 10:01:07 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// все разрешения пользователя
|
|
|
|
|
/// </summary>
|
|
|
|
|
public IEnumerable<PermissionDto> Permissions { get; set; } = Enumerable.Empty<PermissionDto>();
|
2022-06-02 12:35:51 +05:00
|
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// bearer token (для работы с web-api)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Token { get; set; } = null!;
|
2021-04-02 17:28:07 +05:00
|
|
|
|
}
|