SecureBlackbox Lite 2020 Python Edition

Questions / Feedback?

on_password_change_request Event

This event is fired when a password change is requested.

Syntax

class SSHClientPasswordChangeRequestEventParams(object):
  @property
  def prompt() -> str: ...
  @property
  def new_password() -> str: ...
  @new_password.setter
  def new_password(value) -> None: ...
  @property
  def cancel() -> bool: ...
  @cancel.setter
  def cancel(value) -> None: ...

# In class SSHClient:
@property
def on_password_change_request() -> Callable[[SSHClientPasswordChangeRequestEventParams], None]: ...
@on_password_change_request.setter
def on_password_change_request(event_hook: Callable[[SSHClientPasswordChangeRequestEventParams], None]) -> None: ...

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox Lite 2020 Python Edition - Version 20.0 [Build 8166]