Table of Contents

Class MatchedEndpoint

Namespace
Fdyay.IdentityServer.Hosting
Assembly
Fdyay.IdentityServer.AspNetCore.dll

Where the router leaves the name of the endpoint it matched.

public static class MatchedEndpoint
Inheritance
MatchedEndpoint
Inherited Members

Remarks

On Items rather than returned, because Find(HttpContext) is a public interface and answers with a handler. The name is what telemetry tags a request with, and it is the stable constant from EndpointNames rather than a handler's type name — which is what the middleware would otherwise have to use, and would change under any dashboard the day somebody renamed a class.

Methods

Of(HttpContext)

The endpoint this request was routed to, or null when it was not one of ours.

public static string? Of(HttpContext context)

Parameters

context HttpContext

Returns

string