38 lines
1.0 KiB
C#
38 lines
1.0 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace xIdentityService.Models
|
|
{
|
|
public class XEffectiveAuthorizationDto
|
|
{
|
|
/// <summary>
|
|
/// Policy Name ...
|
|
/// </summary>
|
|
public string PolicyName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Required Authenticated User ...
|
|
/// </summary>
|
|
public bool RequireAuthenticatedUser { get; set; }
|
|
|
|
/// <summary>
|
|
/// Check Policy has Enabled feature or not ...
|
|
/// (IsEnabled/IsBanned) ...
|
|
/// </summary>
|
|
public bool RequireEnabledUser { get; set; }
|
|
|
|
/// <summary>
|
|
/// Effective Roles ...
|
|
/// </summary>
|
|
public HashSet<string> EffectiveRoles { get; set; } = [];
|
|
|
|
/// <summary>
|
|
/// Effective Scopes ...
|
|
/// </summary>
|
|
public HashSet<string> EffectiveScopes { get; set; } = [];
|
|
|
|
/// <summary>
|
|
/// Effective Claims ...
|
|
/// </summary>
|
|
public List<XRequiredClaimDto> EffectiveClaims { get; set; } = [];
|
|
}
|
|
} |