Class ApplicationAuthorizationOptions
- Namespace
- ProjectTemplate.Web.Authentication.Options
- Assembly
- ProjectTemplate.Web.dll
Provides configurable authorization policy options for the application.
public sealed class ApplicationAuthorizationOptions
- Inheritance
-
ApplicationAuthorizationOptions
- Inherited Members
Fields
SectionName
Gets the configuration section name used to bind application authorization settings.
public const string SectionName = "ProjectTemplate:Authorization"
Field Value
Properties
AdministratorRoles
Gets or sets the role values that satisfy the administrator authorization policy.
public string[] AdministratorRoles { get; set; }
Property Value
- string[]
ManageApplicationPermissions
Gets or sets the permission values that satisfy the manage application authorization policy.
public string[] ManageApplicationPermissions { get; set; }
Property Value
- string[]
PermissionClaimType
Gets or sets the claim type used to evaluate permission-based authorization policies.
public string PermissionClaimType { get; set; }
Property Value
RequireAuthenticatedUserByDefault
Gets or sets a value indicating whether routed endpoints without authorization metadata require an authenticated user.
public bool RequireAuthenticatedUserByDefault { get; set; }
Property Value
RoleClaimType
Gets or sets the claim type used to evaluate role-based authorization policies.
public string RoleClaimType { get; set; }