DevUIOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Options that control the security posture of the DevUI HTTP surface.
public sealed class DevUIOptions
type DevUIOptions = class
Public NotInheritable Class DevUIOptions
- Inheritance
-
DevUIOptions
Remarks
DevUI exposes agent metadata that is sensitive in production contexts: system instructions, tool definitions, model identifiers, and workflow structure. By default, DevUI rejects any request whose remote endpoint is not a loopback address. Hosts that intentionally expose DevUI on a non-loopback interface must opt in via AllowRemoteAccess and should also configure AuthToken or ConfigureEndpoints to attach an authorization policy.
Constructors
| Name | Description |
|---|---|
| DevUIOptions() | |
Fields
| Name | Description |
|---|---|
| AuthTokenEnvironmentVariable |
Environment variable inspected for a default bearer token when AuthToken is not explicitly set. |
Properties
| Name | Description |
|---|---|
| AllowRemoteAccess |
Gets or sets a value indicating whether DevUI may be served to
non-loopback callers. Defaults to |
| AuthToken |
Gets or sets a shared bearer token required on every DevUI request.
When |
| ConfigureEndpoints |
Gets or sets a callback invoked with the DevUI endpoint group so the
host can attach authorization, rate limiting, or other endpoint
conventions (for example
|