Search Results for

    Interface IAMNetPasswordAuthenticator

    Authenticates SSH users with a username and password supplied by the client.

    Namespace: ApacheMinaSSHD.NET.Wrapper.Abstractions
    Assembly: ApacheMinaSSHD.NET.Wrapper.dll
    Syntax
    public interface IAMNetPasswordAuthenticator

    Methods

    | Edit this page View Source

    Authenticate(string, string, ISshSession)

    Returns whether the supplied username and password should be accepted.

    Declaration
    bool Authenticate(string username, string password, ISshSession session)
    Parameters
    Type Name Description
    string username

    The username requested by the client.

    string password

    The password supplied by the client.

    ISshSession session

    Session metadata for the connection being authenticated.

    Returns
    Type Description
    bool

    true to accept the credentials; otherwise false.

    | Edit this page View Source

    HandlePasswordChangeRequest(string, string, string, ISshSession)

    Handles a client-initiated password change request.

    Declaration
    bool HandlePasswordChangeRequest(string username, string oldPassword, string newPassword, ISshSession session)
    Parameters
    Type Name Description
    string username

    The username.

    string oldPassword

    The current password.

    string newPassword

    The requested new password.

    ISshSession session

    Session metadata.

    Returns
    Type Description
    bool

    true if the password change is accepted; otherwise false.

    • Edit this page
    • View Source
    In this article
    Back to top Porta SFTP ServerGitHubApacheMinaSSHD.NET Generated by DocFX