Skip to content
fabricators docs
On this page

Fabricators.Kernel.AspNetCore

Public .NET API signatures and documentation coverage.

Generated from compiled public metadata. Missing summaries are explicitly reported in catalog.json.

ErrorCode

csharp
public const string Fabricators.Kernel.AspNetCore.AntiforgeryEnforcementMiddleware.ErrorCode

Summary not yet documented.

AuthenticationScheme

csharp
public const string Fabricators.Kernel.AspNetCore.ApiKeyDefaults.AuthenticationScheme

Summary not yet documented.

HeaderName

csharp
public const string Fabricators.Kernel.AspNetCore.ApiKeyDefaults.HeaderName

Summary not yet documented.

Malformed

csharp
Fabricators.Kernel.AspNetCore.PresentationPreferenceErrorKind.Malformed

Summary not yet documented.

Unsupported

csharp
Fabricators.Kernel.AspNetCore.PresentationPreferenceErrorKind.Unsupported

Summary not yet documented.

.ctor

csharp
public Fabricators.Kernel.AspNetCore.AntiforgeryEnforcementMiddleware.AntiforgeryEnforcementMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILogger<Fabricators.Kernel.AspNetCore.AntiforgeryEnforcementMiddleware> logger)

Summary not yet documented.

InvokeAsync

csharp
public System.Threading.Tasks.Task Fabricators.Kernel.AspNetCore.AntiforgeryEnforcementMiddleware.InvokeAsync(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Antiforgery.IAntiforgery antiforgery, Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider authorizationPolicies)

Summary not yet documented.

AddAntiforgeryEnforcement

csharp
public static Microsoft.Extensions.DependencyInjection.IServiceCollection Fabricators.Kernel.AspNetCore.AntiforgeryExtensions.AddAntiforgeryEnforcement(Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action<Microsoft.AspNetCore.Antiforgery.AntiforgeryOptions>? configure = null)

Summary not yet documented.

RequireAntiforgery

csharp
public static TBuilder Fabricators.Kernel.AspNetCore.AntiforgeryExtensions.RequireAntiforgery<TBuilder>(TBuilder builder) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder

Protects an anonymous unsafe endpoint; the last explicit antiforgery convention wins.

UseAntiforgeryEnforcement

csharp
public static Microsoft.AspNetCore.Builder.IApplicationBuilder Fabricators.Kernel.AspNetCore.AntiforgeryExtensions.UseAntiforgeryEnforcement(Microsoft.AspNetCore.Builder.IApplicationBuilder app)

Summary not yet documented.

AddApiKey

csharp
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationExtensions.AddApiKey(Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, System.Action<Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationOptions> configureOptions)

Summary not yet documented.

AddApiKey

csharp
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationExtensions.AddApiKey(Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, System.Action<Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationOptions> configureOptions)

Summary not yet documented.

AddApiScopeAuthorization

csharp
public static Microsoft.Extensions.DependencyInjection.IServiceCollection Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationExtensions.AddApiScopeAuthorization(Microsoft.Extensions.DependencyInjection.IServiceCollection services)

Summary not yet documented.

.ctor

csharp
public Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationHandler.ApiKeyAuthenticationHandler(Microsoft.Extensions.Options.IOptionsMonitor<Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder)

Summary not yet documented.

.ctor

csharp
public Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationHandler.ApiKeyAuthenticationHandler(Microsoft.Extensions.Options.IOptionsMonitor<Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationOptions> options, Microsoft.Extensions.Logging.ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Fabricators.Kernel.Security.IApiKeyResolver resolver)

Summary not yet documented.

HandleAuthenticateAsync

csharp
protected override System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult> Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationHandler.HandleAuthenticateAsync()

Summary not yet documented.

HandleChallengeAsync

csharp
protected override System.Threading.Tasks.Task Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationHandler.HandleChallengeAsync(Microsoft.AspNetCore.Authentication.AuthenticationProperties properties)

Summary not yet documented.

HandleForbiddenAsync

csharp
protected override System.Threading.Tasks.Task Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationHandler.HandleForbiddenAsync(Microsoft.AspNetCore.Authentication.AuthenticationProperties properties)

Summary not yet documented.

.ctor

csharp
public Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationOptions.ApiKeyAuthenticationOptions()

Summary not yet documented.

Validate

csharp
public override void Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationOptions.Validate()

Summary not yet documented.

Matches

csharp
public static bool Fabricators.Kernel.AspNetCore.ApiKeyMatcher.Matches(string presented, System.Collections.Generic.IReadOnlyList<string> keys)

True when presented equals one of keys.

ResolveClientKey

csharp
public static string Fabricators.Kernel.AspNetCore.ApiKeyRateLimitPartition.ResolveClientKey(Microsoft.AspNetCore.Http.HttpContext context)

Summary not yet documented.

ResolveClientKey

csharp
public static string Fabricators.Kernel.AspNetCore.ApiKeyRateLimitPartition.ResolveClientKey(Microsoft.AspNetCore.Http.HttpContext context, bool behindCloudflare)

Summary not yet documented.

.ctor

csharp
public Fabricators.Kernel.AspNetCore.ApiScopeAuthorizationHandler.ApiScopeAuthorizationHandler()

Summary not yet documented.

HandleRequirementAsync

csharp
protected override System.Threading.Tasks.Task Fabricators.Kernel.AspNetCore.ApiScopeAuthorizationHandler.HandleRequirementAsync(Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context, Fabricators.Kernel.AspNetCore.ApiScopeRequirement requirement)

Summary not yet documented.

RequireApiScopeForScheme

csharp
public static TBuilder Fabricators.Kernel.AspNetCore.ApiScopeEndpointExtensions.RequireApiScopeForScheme<TBuilder>(TBuilder builder, string authenticationScheme, params string[] scopes) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder

Requires all scopes using a specifically named API-key scheme.

RequireApiScope

csharp
public static TBuilder Fabricators.Kernel.AspNetCore.ApiScopeEndpointExtensions.RequireApiScope<TBuilder>(TBuilder builder, params string[] scopes) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder

Requires all supplied machine-consumer scopes on an endpoint.

.ctor

csharp
public Fabricators.Kernel.AspNetCore.ApiScopeRequirement.ApiScopeRequirement(System.Collections.Generic.IReadOnlyCollection<string> scopes)

Summary not yet documented.

.ctor

csharp
public Fabricators.Kernel.AspNetCore.BffClientIpFeature.BffClientIpFeature(bool ForwardingEnabled, System.Net.IPAddress? AuthenticatedAddress)

Summary not yet documented.

Deconstruct

csharp
public void Fabricators.Kernel.AspNetCore.BffClientIpFeature.Deconstruct(out bool ForwardingEnabled, out System.Net.IPAddress? AuthenticatedAddress)

Summary not yet documented.

Equals

csharp
public bool Fabricators.Kernel.AspNetCore.BffClientIpFeature.Equals(Fabricators.Kernel.AspNetCore.BffClientIpFeature? other)

Summary not yet documented.

Equals

csharp
public override bool Fabricators.Kernel.AspNetCore.BffClientIpFeature.Equals(object? obj)

Summary not yet documented.

GetHashCode

csharp
public override int Fabricators.Kernel.AspNetCore.BffClientIpFeature.GetHashCode()

Summary not yet documented.

ToString

csharp
public override string Fabricators.Kernel.AspNetCore.BffClientIpFeature.ToString()

Summary not yet documented.

op_Equality

csharp
public static bool Fabricators.Kernel.AspNetCore.BffClientIpFeature.operator ==(Fabricators.Kernel.AspNetCore.BffClientIpFeature? left, Fabricators.Kernel.AspNetCore.BffClientIpFeature? right)

Summary not yet documented.

op_Inequality

csharp
public static bool Fabricators.Kernel.AspNetCore.BffClientIpFeature.operator !=(Fabricators.Kernel.AspNetCore.BffClientIpFeature? left, Fabricators.Kernel.AspNetCore.BffClientIpFeature? right)

Summary not yet documented.

$

csharp
public Fabricators.Kernel.AspNetCore.BffClientIpFeature Fabricators.Kernel.AspNetCore.BffClientIpFeature.<Clone>$()

Summary not yet documented.

.ctor

csharp
public Fabricators.Kernel.AspNetCore.BffClientIpMiddleware.BffClientIpMiddleware(Microsoft.AspNetCore.Http.RequestDelegate next, Fabricators.Kernel.AspNetCore.BffClientIpOptions options)

Summary not yet documented.

InvokeAsync

csharp
public System.Threading.Tasks.Task Fabricators.Kernel.AspNetCore.BffClientIpMiddleware.InvokeAsync(Microsoft.AspNetCore.Http.HttpContext context)

Summary not yet documented.

UseBffClientIp

csharp
public static Microsoft.AspNetCore.Builder.IApplicationBuilder Fabricators.Kernel.AspNetCore.BffClientIpMiddlewareExtensions.UseBffClientIp(Microsoft.AspNetCore.Builder.IApplicationBuilder app, Fabricators.Kernel.AspNetCore.BffClientIpOptions options)

Summary not yet documented.

UseBffClientIp

csharp
public static Microsoft.AspNetCore.Builder.IApplicationBuilder Fabricators.Kernel.AspNetCore.BffClientIpMiddlewareExtensions.UseBffClientIp(Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.Extensions.Configuration.IConfiguration configuration)

Summary not yet documented.

.ctor

csharp
public Fabricators.Kernel.AspNetCore.BffClientIpOptions.BffClientIpOptions()

Summary not yet documented.

CreateForwardedHeadersOptions

csharp
public static Microsoft.AspNetCore.Builder.ForwardedHeadersOptions Fabricators.Kernel.AspNetCore.ClientIpExtensions.CreateForwardedHeadersOptions(System.Action<Microsoft.AspNetCore.Builder.ForwardedHeadersOptions>? configure = null)

Summary not yet documented.

EnsureHostForwardedHeadersOff

csharp
public static void Fabricators.Kernel.AspNetCore.ClientIpExtensions.EnsureHostForwardedHeadersOff(Microsoft.Extensions.Configuration.IConfiguration configuration)

Summary not yet documented.

GetClientIp

csharp
public static string? Fabricators.Kernel.AspNetCore.ClientIpExtensions.GetClientIp(Microsoft.AspNetCore.Http.HttpContext context)

Summary not yet documented.

GetClientIpPartition

csharp
public static string Fabricators.Kernel.AspNetCore.ClientIpExtensions.GetClientIpPartition(Microsoft.AspNetCore.Http.HttpContext context)

Summary not yet documented.

AddEndpoints

csharp
public static Microsoft.Extensions.DependencyInjection.IServiceCollection Fabricators.Kernel.AspNetCore.EndpointExtensions.AddEndpoints(Microsoft.Extensions.DependencyInjection.IServiceCollection services, params System.Reflection.Assembly[] approvedAssemblies)

Summary not yet documented.

MapEndpoints

csharp
public static TBuilder Fabricators.Kernel.AspNetCore.EndpointExtensions.MapEndpoints<TBuilder>(TBuilder builder) where TBuilder : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder

Maps every registered Fabricators.Kernel.AspNetCore.IEndpoint onto builder, which may be the application or a route group such as app.MapGroup("/api").

Configure

csharp
public static void Fabricators.Kernel.AspNetCore.ErrorHttpStatus.Configure(System.Func<Fabricators.Kernel.Common.Error, int?> resolver)

Install the product override once at startup. It runs before the default table and returns a status code, or null to fall through.

Reset

csharp
public static void Fabricators.Kernel.AspNetCore.ErrorHttpStatus.Reset()

Clear the override. Intended for test isolation.

Resolve

csharp
public static int Fabricators.Kernel.AspNetCore.ErrorHttpStatus.Resolve(Fabricators.Kernel.Common.Error error)

Resolve the HTTP status code for error.

AddFoundationAuthorization

csharp
public static Microsoft.Extensions.DependencyInjection.IServiceCollection Fabricators.Kernel.AspNetCore.FoundationPermissionAuthorization.AddFoundationAuthorization(Microsoft.Extensions.DependencyInjection.IServiceCollection services, params Fabricators.Kernel.Security.Authorization.PermissionDefinition[] additionalPermissions)

Summary not yet documented.

RequireFoundationPermission

csharp
public static TBuilder Fabricators.Kernel.AspNetCore.FoundationPermissionAuthorization.RequireFoundationPermission<TBuilder>(TBuilder builder, string permission) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder

Add a live permission requirement without removing other endpoint policies.

.ctor

csharp
public Fabricators.Kernel.AspNetCore.FoundationPermissionHandler.FoundationPermissionHandler(Fabricators.Kernel.Security.Authorization.PermissionChecker checker, Fabricators.Kernel.AspNetCore.IPermissionRequestBinder? binder = null)

Summary not yet documented.

HandleRequirementAsync

csharp
protected override System.Threading.Tasks.Task Fabricators.Kernel.AspNetCore.FoundationPermissionHandler.HandleRequirementAsync(Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context, Fabricators.Kernel.AspNetCore.FoundationPermissionRequirement requirement)

Summary not yet documented.

.ctor

csharp
public Fabricators.Kernel.AspNetCore.FoundationPermissionRequirement.FoundationPermissionRequirement(string permission)

Summary not yet documented.

MapEndpoint

csharp
void Fabricators.Kernel.AspNetCore.IEndpoint.MapEndpoint(Microsoft.AspNetCore.Routing.IEndpointRouteBuilder app)

Summary not yet documented.

ConfigureServices

csharp
void Fabricators.Kernel.AspNetCore.IModule.ConfigureServices(Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfiguration configuration)

Summary not yet documented.

MapEndpoints

csharp
void Fabricators.Kernel.AspNetCore.IModule.MapEndpoints(Microsoft.AspNetCore.Routing.IEndpointRouteBuilder app)

Summary not yet documented.

BindAsync

csharp
System.Threading.Tasks.Task<Fabricators.Kernel.AspNetCore.PermissionBinding?> Fabricators.Kernel.AspNetCore.IPermissionRequestBinder.BindAsync(System.Security.Claims.ClaimsPrincipal principal, object? resource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))

Summary not yet documented.

AddModules

csharp
public static Microsoft.Extensions.DependencyInjection.IServiceCollection Fabricators.Kernel.AspNetCore.ModuleExtensions.AddModules(Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfiguration configuration, params Fabricators.Kernel.AspNetCore.IModule[] modules)

Summary not yet documented.

MapModules

csharp
public static TBuilder Fabricators.Kernel.AspNetCore.ModuleExtensions.MapModules<TBuilder>(TBuilder builder) where TBuilder : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder

Maps the endpoints of every registered Fabricators.Kernel.AspNetCore.IModule, in dependency order.

Sort

csharp
public static System.Collections.Generic.IReadOnlyList<Fabricators.Kernel.AspNetCore.IModule> Fabricators.Kernel.AspNetCore.ModuleOrder.Sort(System.Collections.Generic.IEnumerable<Fabricators.Kernel.AspNetCore.IModule> modules)

Summary not yet documented.

ReadPagination

csharp
public static Fabricators.Kernel.Common.Result<Fabricators.Kernel.Common.Pagination.PaginationRequest> Fabricators.Kernel.AspNetCore.PaginationQuery.ReadPagination(Microsoft.AspNetCore.Http.HttpRequest request, Fabricators.Kernel.Common.Pagination.PaginationPolicy? policy = null)

Summary not yet documented.

.ctor

csharp
public Fabricators.Kernel.AspNetCore.PermissionBinding.PermissionBinding(Fabricators.Kernel.Security.Authorization.PermissionActor Actor, Fabricators.Kernel.Security.Authorization.PermissionResource? Resource = null)

Summary not yet documented.

Deconstruct

csharp
public void Fabricators.Kernel.AspNetCore.PermissionBinding.Deconstruct(out Fabricators.Kernel.Security.Authorization.PermissionActor Actor, out Fabricators.Kernel.Security.Authorization.PermissionResource? Resource)

Summary not yet documented.

Equals

csharp
public bool Fabricators.Kernel.AspNetCore.PermissionBinding.Equals(Fabricators.Kernel.AspNetCore.PermissionBinding? other)

Summary not yet documented.

Equals

csharp
public override bool Fabricators.Kernel.AspNetCore.PermissionBinding.Equals(object? obj)

Summary not yet documented.

GetHashCode

csharp
public override int Fabricators.Kernel.AspNetCore.PermissionBinding.GetHashCode()

Summary not yet documented.

ToString

csharp
public override string Fabricators.Kernel.AspNetCore.PermissionBinding.ToString()

Summary not yet documented.

op_Equality

csharp
public static bool Fabricators.Kernel.AspNetCore.PermissionBinding.operator ==(Fabricators.Kernel.AspNetCore.PermissionBinding? left, Fabricators.Kernel.AspNetCore.PermissionBinding? right)

Summary not yet documented.

op_Inequality

csharp
public static bool Fabricators.Kernel.AspNetCore.PermissionBinding.operator !=(Fabricators.Kernel.AspNetCore.PermissionBinding? left, Fabricators.Kernel.AspNetCore.PermissionBinding? right)

Summary not yet documented.

$

csharp
public Fabricators.Kernel.AspNetCore.PermissionBinding Fabricators.Kernel.AspNetCore.PermissionBinding.<Clone>$()

Summary not yet documented.

.ctor

csharp
public Fabricators.Kernel.AspNetCore.PresentationOptions.PresentationOptions()

Summary not yet documented.

.ctor

csharp
public Fabricators.Kernel.AspNetCore.PresentationPreferenceError.PresentationPreferenceError(Fabricators.Kernel.AspNetCore.PresentationPreferenceErrorKind Kind, string HeaderName)

Summary not yet documented.

Deconstruct

csharp
public void Fabricators.Kernel.AspNetCore.PresentationPreferenceError.Deconstruct(out Fabricators.Kernel.AspNetCore.PresentationPreferenceErrorKind Kind, out string HeaderName)

Summary not yet documented.

Equals

csharp
public bool Fabricators.Kernel.AspNetCore.PresentationPreferenceError.Equals(Fabricators.Kernel.AspNetCore.PresentationPreferenceError? other)

Summary not yet documented.

Equals

csharp
public override bool Fabricators.Kernel.AspNetCore.PresentationPreferenceError.Equals(object? obj)

Summary not yet documented.

GetHashCode

csharp
public override int Fabricators.Kernel.AspNetCore.PresentationPreferenceError.GetHashCode()

Summary not yet documented.

ToString

csharp
public override string Fabricators.Kernel.AspNetCore.PresentationPreferenceError.ToString()

Summary not yet documented.

op_Equality

csharp
public static bool Fabricators.Kernel.AspNetCore.PresentationPreferenceError.operator ==(Fabricators.Kernel.AspNetCore.PresentationPreferenceError? left, Fabricators.Kernel.AspNetCore.PresentationPreferenceError? right)

Summary not yet documented.

op_Inequality

csharp
public static bool Fabricators.Kernel.AspNetCore.PresentationPreferenceError.operator !=(Fabricators.Kernel.AspNetCore.PresentationPreferenceError? left, Fabricators.Kernel.AspNetCore.PresentationPreferenceError? right)

Summary not yet documented.

$

csharp
public Fabricators.Kernel.AspNetCore.PresentationPreferenceError Fabricators.Kernel.AspNetCore.PresentationPreferenceError.<Clone>$()

Summary not yet documented.

.ctor

csharp
public Fabricators.Kernel.AspNetCore.PresentationPreferenceErrorKind.PresentationPreferenceErrorKind()

Summary not yet documented.

AddFoundationPresentation

csharp
public static Microsoft.Extensions.DependencyInjection.IServiceCollection Fabricators.Kernel.AspNetCore.PresentationRegistration.AddFoundationPresentation(Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action<Fabricators.Kernel.AspNetCore.PresentationOptions> configure)

Summary not yet documented.

AddFoundationRuntimeDefaults

csharp
public static Microsoft.Extensions.DependencyInjection.IServiceCollection Fabricators.Kernel.AspNetCore.PresentationRegistration.AddFoundationRuntimeDefaults(Microsoft.Extensions.DependencyInjection.IServiceCollection services)

Summary not yet documented.

AddFoundationRuntimeDefaults

csharp
public static Microsoft.Extensions.DependencyInjection.IServiceCollection Fabricators.Kernel.AspNetCore.PresentationRegistration.AddFoundationRuntimeDefaults(Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action<Fabricators.Kernel.Common.JsonTimeOptions> configure)

Summary not yet documented.

UseFoundationPresentation

csharp
public static Microsoft.AspNetCore.Builder.IApplicationBuilder Fabricators.Kernel.AspNetCore.PresentationRegistration.UseFoundationPresentation(Microsoft.AspNetCore.Builder.IApplicationBuilder app)

Summary not yet documented.

AddFoundationRequestZoneJson

csharp
public static Microsoft.Extensions.DependencyInjection.IServiceCollection Fabricators.Kernel.AspNetCore.RequestZoneJsonRegistration.AddFoundationRequestZoneJson(Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action<Fabricators.Kernel.Common.JsonTimeOptions>? configure = null)

Summary not yet documented.

Match

csharp
public static TOut Fabricators.Kernel.AspNetCore.ResultExtensions.Match<TOut>(Fabricators.Kernel.Common.Result result, System.Func<TOut> onSuccess, System.Func<Fabricators.Kernel.Common.Error, TOut> onFailure)

Summary not yet documented.

Match

csharp
public static TOut Fabricators.Kernel.AspNetCore.ResultExtensions.Match<TOut>(Fabricators.Kernel.Common.Result result, System.Func<TOut> onSuccess, System.Func<Fabricators.Kernel.Common.Error, TOut> onFailure, System.Func<Fabricators.Kernel.Common.Error, TOut> onValidationFailure)

Summary not yet documented.

Match

csharp
public static TOut Fabricators.Kernel.AspNetCore.ResultExtensions.Match<TValue, TOut>(Fabricators.Kernel.Common.Result<TValue> result, System.Func<TValue, TOut> onSuccess, System.Func<Fabricators.Kernel.Common.Error, TOut> onFailure)

Summary not yet documented.

Match

csharp
public static TOut Fabricators.Kernel.AspNetCore.ResultExtensions.Match<TValue, TOut>(Fabricators.Kernel.Common.Result<TValue> result, System.Func<TValue, TOut> onSuccess, System.Func<Fabricators.Kernel.Common.Error, TOut> onFailure, System.Func<Fabricators.Kernel.Common.Error, TOut> onValidationFailure)

Summary not yet documented.

ToApiResult

csharp
public static Microsoft.AspNetCore.Http.IResult Fabricators.Kernel.AspNetCore.ResultExtensions.ToApiResult(Fabricators.Kernel.Common.Result result)

Summary not yet documented.

ToApiResult

csharp
public static Microsoft.AspNetCore.Http.IResult Fabricators.Kernel.AspNetCore.ResultExtensions.ToApiResult<T>(Fabricators.Kernel.Common.Result<T> result)

Summary not yet documented.

ToApiResult

csharp
public static Microsoft.AspNetCore.Http.IResult Fabricators.Kernel.AspNetCore.ResultExtensions.ToApiResult<TValue, TOut>(Fabricators.Kernel.Common.Result<TValue> result, System.Func<TValue, TOut> selector)

Projects the success value before wrapping, useful when the domain result type (e.g. AuthResult) must not be sent to the client directly.

HeaderName

csharp
public string Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationOptions.HeaderName { get; set; }

The request header the presented key is read from. Defaults to Fabricators.Kernel.AspNetCore.ApiKeyDefaults.HeaderName.

Keys

csharp
public System.Collections.Generic.IReadOnlyList<string> Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationOptions.Keys { get; set; }

The accepted keys. A presented key authenticates when it equals one of these (constant-time compare, see Fabricators.Kernel.AspNetCore.ApiKeyMatcher). Ignored when a Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationOptions.Validator is set. The type is a read-only list so the options object does not expose a mutable collection.

MaximumKeyLength

csharp
public int Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationOptions.MaximumKeyLength { get; set; }

Maximum accepted header length, bounding request-path hashing work.

Validator

csharp
public System.Func<string, System.Security.Claims.ClaimsPrincipal?>? Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationOptions.Validator { get; set; }

A custom validator that maps a presented key to the principal it authenticates as, or null to reject it. When set it replaces the built-in Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationOptions.Keys match, so the caller owns the comparison and is responsible for making it constant-time when the key is a secret.

Scopes

csharp
public System.Collections.Generic.IReadOnlyList<string> Fabricators.Kernel.AspNetCore.ApiScopeRequirement.Scopes { get; }

Summary not yet documented.

AuthenticatedAddress

csharp
public System.Net.IPAddress? Fabricators.Kernel.AspNetCore.BffClientIpFeature.AuthenticatedAddress { get; init; }

Summary not yet documented.

ForwardingEnabled

csharp
public bool Fabricators.Kernel.AspNetCore.BffClientIpFeature.ForwardingEnabled { get; init; }

Summary not yet documented.

BffClientIpSecret

csharp
public string? Fabricators.Kernel.AspNetCore.BffClientIpOptions.BffClientIpSecret { get; set; }

Shared runtime-only secret; between 32 and 4096 characters when forwarding is enabled.

ClientIpHeaderName

csharp
public string Fabricators.Kernel.AspNetCore.BffClientIpOptions.ClientIpHeaderName { get; set; }

Header the BFF overwrites with the edge-resolved visitor IP.

SecretHeaderName

csharp
public string Fabricators.Kernel.AspNetCore.BffClientIpOptions.SecretHeaderName { get; set; }

Header the BFF overwrites with the shared secret; removed before downstream middleware.

TrustBffClientIpHeader

csharp
public bool Fabricators.Kernel.AspNetCore.BffClientIpOptions.TrustBffClientIpHeader { get; set; }

Enables authenticated BFF IP forwarding. Disabled by default.

Permission

csharp
public string Fabricators.Kernel.AspNetCore.FoundationPermissionRequirement.Permission { get; }

Summary not yet documented.

Dependencies

csharp
string[] Fabricators.Kernel.AspNetCore.IModule.Dependencies { get; }

Summary not yet documented.

Name

csharp
string Fabricators.Kernel.AspNetCore.IModule.Name { get; }

Summary not yet documented.

Version

csharp
string Fabricators.Kernel.AspNetCore.IModule.Version { get; }

Summary not yet documented.

Actor

csharp
public Fabricators.Kernel.Security.Authorization.PermissionActor Fabricators.Kernel.AspNetCore.PermissionBinding.Actor { get; init; }

Summary not yet documented.

Resource

csharp
public Fabricators.Kernel.Security.Authorization.PermissionResource? Fabricators.Kernel.AspNetCore.PermissionBinding.Resource { get; init; }

Summary not yet documented.

AcceptAnyResolvableTimeZone

csharp
public bool Fabricators.Kernel.AspNetCore.PresentationOptions.AcceptAnyResolvableTimeZone { get; set; }

Summary not yet documented.

AddVaryHeader

csharp
public bool Fabricators.Kernel.AspNetCore.PresentationOptions.AddVaryHeader { get; set; }

Summary not yet documented.

DefaultLocale

csharp
public string Fabricators.Kernel.AspNetCore.PresentationOptions.DefaultLocale { get; set; }

Summary not yet documented.

DefaultTimeZone

csharp
public string Fabricators.Kernel.AspNetCore.PresentationOptions.DefaultTimeZone { get; set; }

Summary not yet documented.

EmitContentLanguageHeader

csharp
public bool Fabricators.Kernel.AspNetCore.PresentationOptions.EmitContentLanguageHeader { get; set; }

Summary not yet documented.

EmitResolvedLocaleHeader

csharp
public bool Fabricators.Kernel.AspNetCore.PresentationOptions.EmitResolvedLocaleHeader { get; set; }

Summary not yet documented.

EmitResolvedTimeZoneHeader

csharp
public bool Fabricators.Kernel.AspNetCore.PresentationOptions.EmitResolvedTimeZoneHeader { get; set; }

Summary not yet documented.

LocaleHeader

csharp
public string Fabricators.Kernel.AspNetCore.PresentationOptions.LocaleHeader { get; set; }

Summary not yet documented.

OnInvalidPreferences

csharp
public System.Func<Microsoft.AspNetCore.Http.HttpContext, Fabricators.Kernel.AspNetCore.PresentationPreferenceError, System.Threading.Tasks.Task>? Fabricators.Kernel.AspNetCore.PresentationOptions.OnInvalidPreferences { get; set; }

Trusted response formatter, called after setting HTTP 400 and no-store.

RejectUnsupportedOverrides

csharp
public bool Fabricators.Kernel.AspNetCore.PresentationOptions.RejectUnsupportedOverrides { get; set; }

Summary not yet documented.

RequireAuthenticationMiddleware

csharp
public bool Fabricators.Kernel.AspNetCore.PresentationOptions.RequireAuthenticationMiddleware { get; set; }

Summary not yet documented.

RequireHttpContext

csharp
public bool Fabricators.Kernel.AspNetCore.PresentationOptions.RequireHttpContext { get; set; }

Summary not yet documented.

SupportedLocales

csharp
public string[] Fabricators.Kernel.AspNetCore.PresentationOptions.SupportedLocales { get; set; }

Summary not yet documented.

SupportedTimeZones

csharp
public string[] Fabricators.Kernel.AspNetCore.PresentationOptions.SupportedTimeZones { get; set; }

Summary not yet documented.

TimeZoneHeader

csharp
public string Fabricators.Kernel.AspNetCore.PresentationOptions.TimeZoneHeader { get; set; }

Summary not yet documented.

HeaderName

csharp
public string Fabricators.Kernel.AspNetCore.PresentationPreferenceError.HeaderName { get; init; }

Summary not yet documented.

Kind

csharp
public Fabricators.Kernel.AspNetCore.PresentationPreferenceErrorKind Fabricators.Kernel.AspNetCore.PresentationPreferenceError.Kind { get; init; }

Summary not yet documented.

AntiforgeryEnforcementMiddleware

csharp
class Fabricators.Kernel.AspNetCore.AntiforgeryEnforcementMiddleware

Enforces token validation for unsafe authorized endpoints and explicitly protected anonymous endpoints. Register after authorization and before any step-up or application side effects.

AntiforgeryExtensions

csharp
class Fabricators.Kernel.AspNetCore.AntiforgeryExtensions

Registration and endpoint conventions for enforced antiforgery validation.

ApiKeyAuthenticationExtensions

csharp
class Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationExtensions

Registration helpers for the API key authentication scheme.

ApiKeyAuthenticationHandler

csharp
class Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationHandler

Authenticates a request by a shared secret carried in a header (default X-Api-Key). A missing or empty header yields no result, so other schemes can still run and a required-scheme endpoint challenges with 401; a present but unrecognised key fails. The built-in match compares the presented key against Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationOptions.Keys in constant time (Fabricators.Kernel.AspNetCore.ApiKeyMatcher); a caller wanting a dynamic lookup sets Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationOptions.Validator instead.

ApiKeyAuthenticationOptions

csharp
class Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationOptions

Options for the API key scheme. A caller supplies either a set of accepted Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationOptions.Keys (matched in constant time) or a custom Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationOptions.Validator that maps a presented key to a principal, and optionally overrides the Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationOptions.HeaderName the key is read from. Validation is synchronous on purpose: the intended use is an in-memory secret compare on a hot path, not a per-request network call.

ApiKeyDefaults

csharp
class Fabricators.Kernel.AspNetCore.ApiKeyDefaults

Defaults for the API key authentication scheme. A caller can override both through ApiKeyAuthenticationExtensions.AddApiKey(Microsoft.AspNetCore.Authentication.AuthenticationBuilder, string, System.Action) and Fabricators.Kernel.AspNetCore.ApiKeyAuthenticationOptions.HeaderName.

ApiKeyMatcher

csharp
class Fabricators.Kernel.AspNetCore.ApiKeyMatcher

Constant-time membership test for an API key. A presented key matches when it equals one of the accepted keys. The compare uses System.Security.Cryptography.CryptographicOperations.FixedTimeEquals(System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Byte}) and accumulates over the whole set rather than returning on the first match, so its timing does not reveal which key matched. A length mismatch is rejected inside the fixed-time compare itself; at most, timing can reveal that some accepted key shares the presented key's length.

ApiKeyRateLimitPartition

csharp
class Fabricators.Kernel.AspNetCore.ApiKeyRateLimitPartition

Summary not yet documented.

ApiScopeAuthorizationHandler

csharp
class Fabricators.Kernel.AspNetCore.ApiScopeAuthorizationHandler

Evaluates Fabricators.Kernel.AspNetCore.ApiScopeRequirement against foundation scope claims.

ApiScopeEndpointExtensions

csharp
class Fabricators.Kernel.AspNetCore.ApiScopeEndpointExtensions

Summary not yet documented.

ApiScopeRequirement

csharp
class Fabricators.Kernel.AspNetCore.ApiScopeRequirement

Requires every named API scope to be present on the current identity.

BffClientIpFeature

csharp
record Fabricators.Kernel.AspNetCore.BffClientIpFeature

Set only by the authenticated forwarding middleware, never by a request header.

BffClientIpMiddleware

csharp
class Fabricators.Kernel.AspNetCore.BffClientIpMiddleware

Resolves the visitor IP once, accepting only a single IP authenticated by the BFF.

BffClientIpMiddlewareExtensions

csharp
class Fabricators.Kernel.AspNetCore.BffClientIpMiddlewareExtensions

Pipeline registration for authenticated BFF IP forwarding.

BffClientIpOptions

csharp
class Fabricators.Kernel.AspNetCore.BffClientIpOptions

Explicit trust contract for a BFF that overwrites and authenticates the visitor IP.

ClientIpExtensions

csharp
class Fabricators.Kernel.AspNetCore.ClientIpExtensions

Single resolved client address for auditing and rate limiting; never reads forwarding headers.

EndpointExtensions

csharp
class Fabricators.Kernel.AspNetCore.EndpointExtensions

Summary not yet documented.

ErrorHttpStatus

csharp
class Fabricators.Kernel.AspNetCore.ErrorHttpStatus

Resolves the HTTP status code for an Fabricators.Kernel.Common.Error. A generic default table covers the base Fabricators.Kernel.Common.ErrorType categories; a product adds or overrides statuses for its own error codes through Fabricators.Kernel.AspNetCore.ErrorHttpStatus.Configure(System.Func{Fabricators.Kernel.Common.Error,System.Nullable{System.Int32}}) without editing this package. The override is consulted first and keyed on the error (typically its Error.Code); returning null falls through to the default table (ADR-003).

FoundationPermissionAuthorization

csharp
class Fabricators.Kernel.AspNetCore.FoundationPermissionAuthorization

Optional ASP.NET bindings for the provider-free permission contracts.

FoundationPermissionHandler

csharp
class Fabricators.Kernel.AspNetCore.FoundationPermissionHandler

Calls product binding and live authorization; absent adapters deny.

FoundationPermissionRequirement

csharp
class Fabricators.Kernel.AspNetCore.FoundationPermissionRequirement

Requires a registered capability, not a claim or a role name.

IEndpoint

csharp
interface Fabricators.Kernel.AspNetCore.IEndpoint

One route (or a small set of related routes) mapped by the host through Fabricators.Kernel.AspNetCore.EndpointExtensions.MapEndpoints1(0).

IModule

csharp
interface Fabricators.Kernel.AspNetCore.IModule

Summary not yet documented.

IPermissionRequestBinder

csharp
interface Fabricators.Kernel.AspNetCore.IPermissionRequestBinder

Bind the authenticated principal to current trusted authority/resource state. Return null for a revoked, ambiguous, mismatched or inadmissible identity.

ModuleExtensions

csharp
class Fabricators.Kernel.AspNetCore.ModuleExtensions

Summary not yet documented.

ModuleOrder

csharp
class Fabricators.Kernel.AspNetCore.ModuleOrder

Orders modules so every module follows the modules it depends on. Names compare case-insensitively. Traverses supplied modules and their dependencies in order, moving dependencies before dependents for a deterministic result.

PaginationQuery

csharp
class Fabricators.Kernel.AspNetCore.PaginationQuery

Summary not yet documented.

PermissionBinding

csharp
record Fabricators.Kernel.AspNetCore.PermissionBinding

A current authenticated actor and resource resolved by the product.

PresentationOptions

csharp
class Fabricators.Kernel.AspNetCore.PresentationOptions

Summary not yet documented.

PresentationPreferenceError

csharp
record Fabricators.Kernel.AspNetCore.PresentationPreferenceError

Safe error metadata; never contains the rejected header value.

PresentationPreferenceErrorKind

csharp
enum Fabricators.Kernel.AspNetCore.PresentationPreferenceErrorKind

Summary not yet documented.

PresentationRegistration

csharp
class Fabricators.Kernel.AspNetCore.PresentationRegistration

Summary not yet documented.

RequestZoneJsonRegistration

csharp
class Fabricators.Kernel.AspNetCore.RequestZoneJsonRegistration

Summary not yet documented.

ResultExtensions

csharp
class Fabricators.Kernel.AspNetCore.ResultExtensions

Summary not yet documented.

↑ ↓ to move↵ to openSearching fabricators .NET foundation v0.19.0