IPWorks WebSockets 2020 PHP Edition

Questions / Feedback?

Password Property

A password if authentication is to be used.

Object Oriented Interface

public function getPassword();
public function setPassword($value);

Procedural Interface

ipworksws_websocketclient_get($res, 29 );
ipworksws_websocketclient_set($res, 29, $value );

Default Value

''

Remarks

This property contains a password if authentication is to be used. If AuthScheme is set to HTTP Basic Authentication, The User and Password are Base64 encoded and the result is put in the Authorization config setting in the form "Basic [encoded-user-password]".

If AuthScheme is set to HTTP Digest Authentication, the User and Password properties are used to respond to the HTTP Digest Authentication challenge from the server.

If AuthScheme is set to NTLM, NTLM authentication will be attempted. If AuthScheme is set to NTLM and User and Password are empty, the class will attempt to authenticate using the current user's credentials.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks WebSockets 2020 PHP Edition - Version 20.0 [Build 8155]