hashbrown

Hashbrown.AspNetCore · C# API reference

Hashbrown.AspNetCore.RecoveryEndpointConfiguration

Upcoming 0.1.0-preview.2 · Unreleased

public static class RecoveryEndpointConfiguration

Explicit authenticated opt-in read-only recovery routes. Applications own all scope resolution.

Members

MapOperations

public static void MapOperations(Microsoft.AspNetCore.Routing.IEndpointRouteBuilder routes, string pattern, Hashbrown.AspNetCore.IInterruptStore store, string authorizationPolicy, System.Func<Microsoft.AspNetCore.Http.HttpContext, System.Collections.Generic.IReadOnlySet<string>> resolveScopes, System.Func<Microsoft.AspNetCore.Http.HttpContext, string?> resolveActor);

Maps separately authorized bounded inspection and terminal reconciliation. All authority comes from authenticated server resolvers.

MapRecovery

public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapRecovery(Microsoft.AspNetCore.Routing.IEndpointRouteBuilder routes, string pattern, Hashbrown.AspNetCore.IInterruptStore store, string authorizationPolicy, System.Func<Microsoft.AspNetCore.Http.HttpContext, string?> resolveScope, Hashbrown.AspNetCore.InterruptStoreOptions? limits = null);

Maps a bounded read-only query. A required authorization policy and authenticated server scope resolver fail closed.