# TraconInboundTriggerOptions

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/api/tracon.traconinboundtriggeroptions/
> Summary: TraconInboundTriggerOptions: Options that constrain inbound triggers.

<div class="api-provenance">Namespace Tracon · Assembly <code>Tracon.Abstractions.dll</code></div>

Options that constrain inbound triggers.

```csharp
public sealed class TraconInboundTriggerOptions
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.traconinboundtriggeroptions/">TraconInboundTriggerOptions</a></dd><dt>Inherited Members</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a></dd></dl>

## Remarks

[TraconInboundTriggerOptions.AllowedConfigurationPrefix](/api/tracon.traconinboundtriggeroptions/#Tracon_TraconInboundTriggerOptions_AllowedConfigurationPrefix) is a security boundary, not a
convenience default — the same reason as
[TraconTenantProviderOptions.AllowedConfigurationPrefix](/api/tracon.tracontenantprovideroptions/#Tracon_TraconTenantProviderOptions_AllowedConfigurationPrefix)
Without it, a trigger definition could reference an
unrelated configuration key as its "signing secret".

## Constructors

### <a id="Tracon_TraconInboundTriggerOptions__ctor"></a> TraconInboundTriggerOptions\(\)

```csharp
public TraconInboundTriggerOptions()
```

## Properties

### <a id="Tracon_TraconInboundTriggerOptions_AllowedConfigurationPrefix"></a> AllowedConfigurationPrefix

Gets or sets the only prefix under which a configuration key may be
referenced as a trigger's signing secret. Default is
`"Tracon:TriggerSecrets:"`.

```csharp
public string AllowedConfigurationPrefix { get; set; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="Tracon_TraconInboundTriggerOptions_MaxBodyBytes"></a> MaxBodyBytes

Gets or sets the maximum accepted body size, in bytes. Default 256 KB.

```csharp
public int MaxBodyBytes { get; set; }
```

#### Property Value

 [int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="Tracon_TraconInboundTriggerOptions_MaxRequestsPerMinute"></a> MaxRequestsPerMinute

Gets or sets the maximum accepted requests per trigger per minute. Default 60.

```csharp
public int MaxRequestsPerMinute { get; set; }
```

#### Property Value

 [int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="Tracon_TraconInboundTriggerOptions_TimestampTolerance"></a> TimestampTolerance

Gets or sets how far the request's `X-Tracon-Timestamp` may drift. Default five minutes.

```csharp
public TimeSpan TimestampTolerance { get; set; }
```

#### Property Value

 [TimeSpan](https://learn.microsoft.com/dotnet/api/system.timespan)
