on_connect Event
Reports an accepted connection.
Syntax
class SAMLSPServerConnectEventParams(object): @property def connection_id() -> int: ... @property def remote_address() -> str: ... @property def remote_port() -> int: ... # In class SAMLSPServer: @property def on_connect() -> Callable[[SAMLSPServerConnectEventParams], None]: ... @on_connect.setter def on_connect(event_hook: Callable[[SAMLSPServerConnectEventParams], None]) -> None: ...
Remarks
The class fires this event to report that a new connection has been established. ConnectionId indicates the unique ID assigned to this connection. The same ID will be supplied to any other events related to this connection, such as on_session_closed or on_session_established.