Search Results for

    Class AMNetCompositePasswordAuthenticator

    Password authenticator that accepts a login when any inner authenticator accepts it.

    Inheritance
    object
    AMNetCompositePasswordAuthenticator
    Implements
    IAMNetPasswordAuthenticator
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: ApacheMinaSSHD.NET.Wrapper.Abstractions
    Assembly: ApacheMinaSSHD.NET.Wrapper.dll
    Syntax
    public sealed class AMNetCompositePasswordAuthenticator : IAMNetPasswordAuthenticator

    Constructors

    | Edit this page View Source

    AMNetCompositePasswordAuthenticator(params IAMNetPasswordAuthenticator[])

    Creates a composite password authenticator.

    Declaration
    public AMNetCompositePasswordAuthenticator(params IAMNetPasswordAuthenticator[] authenticators)
    Parameters
    Type Name Description
    IAMNetPasswordAuthenticator[] authenticators

    The password authenticators to try in order.

    | Edit this page View Source

    AMNetCompositePasswordAuthenticator(IEnumerable<IAMNetPasswordAuthenticator>)

    Creates a composite password authenticator.

    Declaration
    public AMNetCompositePasswordAuthenticator(IEnumerable<IAMNetPasswordAuthenticator> authenticators)
    Parameters
    Type Name Description
    IEnumerable<IAMNetPasswordAuthenticator> authenticators

    The password authenticators to try in order.

    Properties

    | Edit this page View Source

    Authenticators

    Gets the configured password authenticators in evaluation order.

    Declaration
    public IReadOnlyList<IAMNetPasswordAuthenticator> Authenticators { get; }
    Property Value
    Type Description
    IReadOnlyList<IAMNetPasswordAuthenticator>

    Methods

    | Edit this page View Source

    Authenticate(string, string, ISshSession)

    Returns whether the supplied username and password should be accepted.

    Declaration
    public 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.

    Implements

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