Table of Contents

Method AuthorizeAsync

Namespace
Millrace.Dashboard
Assembly
Millrace.Dashboard.dll

AuthorizeAsync(HttpContext, CancellationToken)

Whether this request may proceed. Returning false yields 404, not 403 — an ops surface should not confirm its own existence to an unauthorized caller.

ValueTask<bool> AuthorizeAsync(HttpContext context, CancellationToken ct)

Parameters

context HttpContext
ct CancellationToken

Returns

ValueTask<bool>