C# Class Renci.SshNet.AuthenticationMethod

Base class for all supported authentication methods
Inheritance: IAuthenticationMethod
Datei anzeigen Open project: sshnet/SSH.NET Class Usage Examples

Public Methods

Method Description
Authenticate ( Session session ) : AuthenticationResult

Authenticates the specified session.

Protected Methods

Method Description
AuthenticationMethod ( string username ) : System

Initializes a new instance of the AuthenticationMethod class.

Private Methods

Method Description
IAuthenticationMethod ( ISession session ) : AuthenticationResult

Authenticates the specified session.

Method Details

Authenticate() public abstract method

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

AuthenticationMethod() protected method

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