Documentation modifications

This commit is contained in:
julian
2026-06-27 15:23:26 -07:00
parent a633fe6c06
commit a19fb90902
218 changed files with 2882 additions and 0 deletions
@@ -9,6 +9,14 @@ using Microsoft.Extensions.DependencyInjection;
namespace adas_core.Authentication.Attributes;
/// <summary>
/// Represents an authorization attribute that evaluates permissions using a configured source and an optional resource identifier header.
/// </summary>
/// <remarks>
/// Extends <see cref="AuthorizeAttribute"/> and implements <see cref="IAsyncAuthorizationFilter"/> to support asynchronous authorization filtering.
/// The primary constructor parameter <paramref name="source"/> specifies the permission source, while the optional <paramref name="resourceIdHeader"/> identifies the header that carries the resource identifier.
/// </remarks>
/// <!-- aidoc:v1 sig=e97022a -->
public class PermissionAuthorizeAttribute(string source, string? resourceIdHeader = null)
: AuthorizeAttribute, IAsyncAuthorizationFilter
{