Home > borogove > Client > addPasswordNeededListener
Client.addPasswordNeededListener() method
Event fired when client needs a password for authentication
Signature:
addPasswordNeededListener(handler: (arg0: borogove.Client) => void): number;
Parameters
| Parameter | Type | Description |
|---|---|---|
| handler | (arg0: borogove.Client) => void | takes one argument, the Client that needs a password |
Returns:
number
token for use with removeEventListener