Sprog

OutboundHostValidator Class

Definition

Default IOutboundHostValidator implementation backed by OutboundHostValidatorOptions.

public sealed class OutboundHostValidator : Microsoft.Agents.Builder.IOutboundHostValidator
type OutboundHostValidator = class
    interface IOutboundHostValidator
Public NotInheritable Class OutboundHostValidator
Implements IOutboundHostValidator
Inheritance
OutboundHostValidator
Implements

Constructors

Name Description
OutboundHostValidator(OutboundHostValidatorOptions)

Initializes a new instance of the OutboundHostValidator class.

Properties

Name Description
Enabled

Gets a value indicating whether enforcement is enabled. When false, IsAllowed(String) returns true for any input (current, un-restricted behavior).

Methods

Name Description
IsAllowed(String)

Determines whether an outbound request to url is permitted.

IsAllowed(Uri)

Determines whether an outbound request to uri is permitted.

Applies to