using BuildingBlock.Identity.Contracts.Abstractions;

namespace BuildingBlock.Identity.Contracts.Requests;

/// <summary>
/// Requests identity policy context lookup.
/// </summary>
/// <param name="SubjectId">Identity subject identifier.</param>
/// <param name="TenantId">Tenant identifier.</param>
/// <param name="PermissionCode">Permission code to evaluate.</param>
public sealed record IdentityPolicyContextRequest(string SubjectId, string TenantId, string PermissionCode)
    : IIdentityCapabilityContract;
