HTTPSecureSocket.AuthenticationRequired

From Xojo Documentation

Event


HTTPSecureSocket.AuthenticationRequired(Realm as String, Headers as InternetHeaders, ByRef Name as String, ByRef Password as String) As Boolean

Supported for all project types and targets.

Executes when a site that requires authentication connects. AuthenticationRequired supports Digest authentication.

Example

If your connection requires a userid/password, set them in this event and return True:

Name = "UserID"
Password = "P4$$w0rd"
Return True