AgentPrismInboundTriggerOptions
AgentPrism.Abstractions.dllOptions that constrain inbound triggers.
public sealed class AgentPrismInboundTriggerOptionsInheritance
Section titled “Inheritance”object ← AgentPrismInboundTriggerOptions
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”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”.
Constructors
Section titled “Constructors”AgentPrismInboundTriggerOptions()
Section titled “ AgentPrismInboundTriggerOptions()”public AgentPrismInboundTriggerOptions()Properties
Section titled “Properties”AllowedConfigurationPrefix
Section titled “ AllowedConfigurationPrefix”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; }Property Value
Section titled “Property Value”MaxBodyBytes
Section titled “ MaxBodyBytes”Gets or sets the maximum accepted body size, in bytes. Default 256 KB.
public int MaxBodyBytes { get; set; }Property Value
Section titled “Property Value”MaxRequestsPerMinute
Section titled “ MaxRequestsPerMinute”Gets or sets the maximum accepted requests per trigger per minute. Default 60.
public int MaxRequestsPerMinute { get; set; }Property Value
Section titled “Property Value”TimestampTolerance
Section titled “ TimestampTolerance”Gets or sets how far the request’s X-AgentPrism-Timestamp may drift. Default five minutes.
public TimeSpan TimestampTolerance { get; set; }