SecureBlackbox 2020 Python Edition

Questions / Feedback?

on_auth_attempt Event

Fires when a single authentication attempt is performed.

Syntax

class SSHClientAuthAttemptEventParams(object):
  @property
  def auth_type() -> int: ...

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

Remarks

This event is fired each time a single authentication attempt is performed. AuthType parameter specifies the type of authentication. Note, this event could be fired more than once if the client tries different authentication methods one after another.

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