C# Class Renci.SshNet.AuthenticationMethod

Base class for all supported authentication methods
Inheritance: IAuthenticationMethod
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.

Méthodes protégées

Méthode Description
AuthenticationMethod ( string username ) : System

Initializes a new instance of the AuthenticationMethod class.

Private Methods

Méthode Description
IAuthenticationMethod ( ISession session ) : AuthenticationResult

Authenticates the specified session.

Method Details

Authenticate() public abstract méthode

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

AuthenticationMethod() protected méthode

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