Skip to content
Titanium SDK
Version13.3.0

You are reading 13.3.0. See this page in 13.4.1.

SecurityManagerProtocol

pseudoAndroidiPhoneiPadmacOSsince 3.3.0

The protocol that the Titanium.Network.HTTPClient.securityManager must implement.

The object representing Titanium.Network.HTTPClient.securityManager must implement this protocol. Assigning the securityManager property to an object that does not implement this protocol will cause an exception to be raised. All methods in this protocol are required.

Methods 4

Returns if the security manager will participate in authentication of this end point.

The parameter passed to this method is a NSURL on iOS and a Uri on android.

Return true to participate, false to allow default authentication flow.

Parameters
ParametersTypeDescription
urlObject

The Object representing representing the end point of this connection.

Returns Boolean