Language

IOutboundHostValidator Interface

Definition

Validates that an outbound URL targets an allowed host before the SDK makes a server-side, often token-bearing, request to it (e.g. Activity.ServiceUrl callbacks or attachment downloads). This is the SDK's shared anti-SSRF ("allowed hosts") control.

public interface IOutboundHostValidator
type IOutboundHostValidator = interface
Public Interface IOutboundHostValidator
Derived

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