C# Class Renci.SshNet.KeyboardInteractiveAuthenticationMethod

Provides functionality to perform keyboard interactive authentication.
Inheritance: AuthenticationMethod, IDisposable
Afficher le fichier Open project: sshnet/SSH.NET Class Usage Examples

Méthodes publiques

Méthode Description
Authenticate ( Session session ) : AuthenticationResult

Authenticates the specified session.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

KeyboardInteractiveAuthenticationMethod ( string username ) : System

Initializes a new instance of the KeyboardInteractiveAuthenticationMethod class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Private Methods

Méthode Description
Session_UserAuthenticationFailureReceived ( object sender, MessageEventArgs e ) : void
Session_UserAuthenticationInformationRequestReceived ( object sender, MessageEventArgs e ) : void
Session_UserAuthenticationSuccessReceived ( object sender, MessageEventArgs e ) : void

Method Details

Authenticate() public méthode

Authenticates the specified session.
public Authenticate ( Session session ) : AuthenticationResult
session Session The session to authenticate.
Résultat AuthenticationResult

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Résultat void

KeyboardInteractiveAuthenticationMethod() public méthode

Initializes a new instance of the KeyboardInteractiveAuthenticationMethod class.
is whitespace or null.
public KeyboardInteractiveAuthenticationMethod ( string username ) : System
username string The username.
Résultat System