Search Results for

    Class AMNetKeyboardInteractiveAuthenticator

    Secure default keyboard-interactive authenticator implementation.

    Inheritance
    object
    AMNetKeyboardInteractiveAuthenticator
    Implements
    IAMNetKeyboardInteractiveAuthenticator
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: ApacheMinaSSHD.NET.Wrapper.Abstractions
    Assembly: ApacheMinaSSHD.NET.Wrapper.dll
    Syntax
    public class AMNetKeyboardInteractiveAuthenticator : IAMNetKeyboardInteractiveAuthenticator
    Remarks

    This implementation sends no prompts and denies all responses. Override this class, use AMNetDelegateKeyboardInteractiveAuthenticator, or implement IAMNetKeyboardInteractiveAuthenticator to enforce application-specific challenge and response validation.

    Constructors

    | Edit this page View Source

    AMNetKeyboardInteractiveAuthenticator()

    Creates a default keyboard-interactive authenticator.

    Declaration
    public AMNetKeyboardInteractiveAuthenticator()

    Methods

    | Edit this page View Source

    Authenticate(ISshSession, string, IResponseList)

    Validates the client's responses to the generated challenge.

    Declaration
    public virtual bool Authenticate(ISshSession session, string username, IResponseList response)
    Parameters
    Type Name Description
    ISshSession session

    Session metadata for the connection being authenticated.

    string username

    The username requested by the client.

    IResponseList response

    The responses supplied by the client.

    Returns
    Type Description
    bool

    true to accept the responses; otherwise false.

    | Edit this page View Source

    GenerateChallenge(string, ISshChallenge)

    Populates the challenge sent to the client.

    Declaration
    public virtual void GenerateChallenge(string username, ISshChallenge challenge)
    Parameters
    Type Name Description
    string username

    The username requested by the client.

    ISshChallenge challenge

    The challenge object to populate with prompts.

    Implements

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