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.