19 lines
746 B
C#
19 lines
746 B
C#
using BuildingBlock.Identity.Contracts.Abstractions;
|
|
using BuildingBlock.Identity.Contracts.Conventions;
|
|
|
|
namespace BuildingBlock.Identity.Contracts.Requests;
|
|
|
|
/// <summary>
|
|
/// Requests identity policy evaluation for a subject and permission.
|
|
/// </summary>
|
|
/// <param name="SubjectId">Identity subject identifier.</param>
|
|
/// <param name="TenantId">Tenant identifier.</param>
|
|
/// <param name="PermissionCode">Permission code to evaluate.</param>
|
|
/// <param name="Provider">Auth provider used for the request.</param>
|
|
public sealed record EvaluateIdentityPolicyRequest(
|
|
string SubjectId,
|
|
string TenantId,
|
|
string PermissionCode,
|
|
IdentityAuthProvider Provider = IdentityAuthProvider.InternalJwt)
|
|
: IIdentityCapabilityContract;
|