Class AuthorizationMetadata
- Namespace
 - Htmx.Components.Services
 
- Assembly
 - Htmx.Components.dll
 
Contains authorization metadata extracted from controller action attributes.
public class AuthorizationMetadata
  - Inheritance
 - 
      
      AuthorizationMetadata
 
- Inherited Members
 
- Extension Methods
 
Properties
AllowAnonymous
Gets or sets a value indicating whether anonymous access is allowed for the action. When true, authorization checks are bypassed.
public bool AllowAnonymous { get; set; }
  Property Value
OnlyRequiresAuthentication
Gets or sets a value indicating whether the action only requires authentication without specific policies or roles.
public bool OnlyRequiresAuthentication { get; set; }
  Property Value
Policies
Gets or sets the authorization policies required for the action. All policies must be satisfied for authorization to succeed.
public string[] Policies { get; set; }
  Property Value
- string[]
 
Roles
Gets or sets the roles that are authorized to access the action. Any one of the specified roles is sufficient for authorization.
public string[] Roles { get; set; }
  Property Value
- string[]