#### [Abblix\.SecurityEvents\.MinimalApi](https://www.abblix.com/en/docs/api/abblix-securityevents-minimalapi 'index')
### [Abblix\.SecurityEvents\.MinimalApi](https://www.abblix.com/en/docs/api/abblix-securityevents-minimalapi/Abblix.SecurityEvents.MinimalApi 'Abblix\.SecurityEvents\.MinimalApi')

## PushDeliveryEndpointRouteBuilderExtensions Class

Maps the push delivery intake onto a route\.

```csharp
public static class PushDeliveryEndpointRouteBuilderExtensions
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → PushDeliveryEndpointRouteBuilderExtensions
### Methods

## PushDeliveryEndpointRouteBuilderExtensions\.MapPushDeliveryEndpoint\(this IEndpointRouteBuilder, string\) Method {#Abblix.SecurityEvents.MinimalApi.PushDeliveryEndpointRouteBuilderExtensions.MapPushDeliveryEndpoint(thisMicrosoft.AspNetCore.Routing.IEndpointRouteBuilder,string)}

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\.

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

###### `endpoints` [Microsoft\.AspNetCore\.Routing\.IEndpointRouteBuilder](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.routing.iendpointroutebuilder 'Microsoft\.AspNetCore\.Routing\.IEndpointRouteBuilder') {#Abblix.SecurityEvents.MinimalApi.PushDeliveryEndpointRouteBuilderExtensions.MapPushDeliveryEndpoint(thisMicrosoft.AspNetCore.Routing.IEndpointRouteBuilder,string).endpoints}

The route builder\.

###### `pattern` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String') {#Abblix.SecurityEvents.MinimalApi.PushDeliveryEndpointRouteBuilderExtensions.MapPushDeliveryEndpoint(thisMicrosoft.AspNetCore.Routing.IEndpointRouteBuilder,string).pattern}

The route the receiver advertised as its push endpoint URL\.

#### Returns
[Microsoft\.AspNetCore\.Builder\.IEndpointConventionBuilder](https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.builder.iendpointconventionbuilder '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\.
