AuthAttempt Event
Fires when a single authentication attempt is performed.
Syntax
public open class DefaultSshclientEventListener : SshclientEventListener { ... public override fun authAttempt(e: SshclientAuthAttemptEvent) {} ... } public class SshclientAuthAttemptEvent { val authType: Int }
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.