#region ========================================================================= USING =====================================================================================
using Lumina.Domain.Common.Enums.Authorization;
using System;
using System.Collections.Generic;
using System.Diagnostics;
#endregion
namespace Lumina.Contracts.Responses.Authorization;
///
/// Represents the response model for an account authorization request.
///
/// The Id of the user for whom the authorization is retrieved.
/// The collection of roles associated to the user.
/// The collection of permissions associated to the user.
[DebuggerDisplay("UserId: {UserId}")]
public record AuthorizationResponse(
Guid UserId,
IReadOnlySet Roles,
IReadOnlySet Permissions
);