Skip to content

AgentPrismInboundTriggerOptions

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

Options that constrain inbound triggers.

public sealed class AgentPrismInboundTriggerOptions

objectAgentPrismInboundTriggerOptions

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

AgentPrismInboundTriggerOptions.AllowedConfigurationPrefix is a security boundary, not a convenience default — the same reason as AgentPrismTenantProviderOptions.AllowedConfigurationPrefix Without it, a trigger definition could reference an unrelated configuration key as its “signing secret”.

public AgentPrismInboundTriggerOptions()

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

public string AllowedConfigurationPrefix { get; set; }

string

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

public int MaxBodyBytes { get; set; }

int

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

public int MaxRequestsPerMinute { get; set; }

int

Gets or sets how far the request’s X-AgentPrism-Timestamp may drift. Default five minutes.

public TimeSpan TimestampTolerance { get; set; }

TimeSpan