SecureBlackbox 2020 Python Edition

Questions / Feedback?

on_auth_public_key Event

This event is fired on public key authentication attempt from a client.

Syntax

class SFTPServerAuthPublicKeyEventParams(object):
  @property
  def connection_id() -> int: ...
  @property
  def username() -> str: ...
  @property
  def accept() -> bool: ...
  @accept.setter
  def accept(value) -> None: ...

# In class SFTPServer:
@property
def on_auth_public_key() -> Callable[[SFTPServerAuthPublicKeyEventParams], None]: ...
@on_auth_public_key.setter
def on_auth_public_key(event_hook: Callable[[SFTPServerAuthPublicKeyEventParams], None]) -> None: ...

Remarks

Username specifies client's username, and Accept is used to accept or reject authentication.

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