on_auth_attempt Event
Fires when a connected client makes an authentication attempt.
Syntax
class KMIPServerAuthAttemptEventParams(object): @property def connection_id() -> int: ... @property def username() -> str: ... @property def password() -> str: ... @property def allow() -> bool: ... @allow.setter def allow(value) -> None: ... # In class KMIPServer: @property def on_auth_attempt() -> Callable[[KMIPServerAuthAttemptEventParams], None]: ... @on_auth_attempt.setter def on_auth_attempt(event_hook: Callable[[KMIPServerAuthAttemptEventParams], None]) -> None: ...
Remarks
The class fires this event whenever a client attempts to authenticate itself. Use the Allow parameter to let the client through.
Username and Password contain the professed credentials.