Skip to content

PushDeliveryEndpointRouteBuilderExtensions Class

Maps the push delivery intake onto a route.

C#
public static class PushDeliveryEndpointRouteBuilderExtensions

Inheritance System.Object → PushDeliveryEndpointRouteBuilderExtensions

Methods

PushDeliveryEndpointRouteBuilderExtensions.MapPushDeliveryEndpoint(this IEndpointRouteBuilder, string) Method

Maps the endpoint a transmitter POSTs Security Event Tokens to (RFC 8935), answering the empty 202 or the 400 whose body speaks the registry vocabulary.

C#
public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapPushDeliveryEndpoint(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern);

Parameters

endpoints Microsoft.AspNetCore.Routing.IEndpointRouteBuilder

The route builder.

pattern System.String

The route the receiver advertised as its push endpoint URL.

Returns

Microsoft.AspNetCore.Builder.IEndpointConventionBuilder

Remarks

The route is the one the receiver advertised as its delivery endpoint, so the pattern is the host's to choose and this makes no assumption about it. Nothing here knows which profile of SET arrives: the handler is built by whichever consumer registered it, and carries that consumer's validation profile and sink.