forked from ddrilling/AsbCloudServer
19 lines
492 B
C#
19 lines
492 B
C#
using System.Collections.Generic;
|
||
using System.Linq;
|
||
|
||
namespace AsbCloudApp.Data.User;
|
||
|
||
/// <inheritdoc/>
|
||
public class UserTokenDto : UserExtendedDto
|
||
{
|
||
/// <summary>
|
||
/// все разрешения пользователя
|
||
/// </summary>
|
||
public IEnumerable<PermissionDto> Permissions { get; set; } = Enumerable.Empty<PermissionDto>();
|
||
|
||
/// <summary>
|
||
/// bearer token (для работы с web-api)
|
||
/// </summary>
|
||
public string Token { get; set; } = null!;
|
||
}
|