PasswordChangeRequest Event
This event is fired when a password change is requested.
Syntax
ANSI (Cross Platform) virtual int FirePasswordChangeRequest(SSHClientPasswordChangeRequestEventParams *e);
typedef struct {
const char *Prompt;
char *NewPassword;
int Cancel; int reserved; } SSHClientPasswordChangeRequestEventParams; Unicode (Windows) virtual INT FirePasswordChangeRequest(SSHClientPasswordChangeRequestEventParams *e);
typedef struct {
LPCWSTR Prompt;
LPWSTR NewPassword;
BOOL Cancel; INT reserved; } SSHClientPasswordChangeRequestEventParams;
- (void)onPasswordChangeRequest:(NSString*)prompt :(NSString**)newPassword :(int*)cancel;
#define EID_SSHCLIENT_PASSWORDCHANGEREQUEST 15 virtual INT SECUREBLACKBOX_CALL FirePasswordChangeRequest(LPSTR &lpszPrompt, LPSTR &lpszNewPassword, BOOL &bCancel);
Remarks
This event is fired by the class when a password change is requested by the server. Prompt contains the password prompt message. Handler should either provide the new password via NewPassword, or deny the request by setting Cancel to true.