onPasswordChangeRequest (event)
This event is fired when a password change is requested.
Syntax
- (void)onPasswordChangeRequest:(NSString*)prompt :(NSString**)newPassword :(int*)cancel;
func onPasswordChangeRequest(_ prompt: String, _ newPassword: inout NSString?, _ cancel: inout Int32)
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.