SecureBlackbox 2020 Python Edition

Questions / Feedback?

on_password_change_request Event

Signals that the server requests a password change.

Syntax

class SFTPClientPasswordChangeRequestEventParams(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 SFTPClient:
@property
def on_password_change_request() -> Callable[[SFTPClientPasswordChangeRequestEventParams], None]: ...
@on_password_change_request.setter
def on_password_change_request(event_hook: Callable[[SFTPClientPasswordChangeRequestEventParams], None]) -> None: ...

Remarks

The class fires this event to pass the password change request from the server to the application. This event is fired during the SSH handshake.

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