Search Results for

    Class AMNetCompositePublickeyAuthenticator

    Public key authenticator that accepts a key when any inner authenticator accepts it.

    Inheritance
    object
    AMNetCompositePublickeyAuthenticator
    Implements
    IAMNetPublickeyAuthenticator
    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 AMNetCompositePublickeyAuthenticator : IAMNetPublickeyAuthenticator

    Constructors

    | Edit this page View Source

    AMNetCompositePublickeyAuthenticator(params IAMNetPublickeyAuthenticator[])

    Creates a composite public key authenticator.

    Declaration
    public AMNetCompositePublickeyAuthenticator(params IAMNetPublickeyAuthenticator[] authenticators)
    Parameters
    Type Name Description
    IAMNetPublickeyAuthenticator[] authenticators

    The public key authenticators to try in order.

    | Edit this page View Source

    AMNetCompositePublickeyAuthenticator(IEnumerable<IAMNetPublickeyAuthenticator>)

    Creates a composite public key authenticator.

    Declaration
    public AMNetCompositePublickeyAuthenticator(IEnumerable<IAMNetPublickeyAuthenticator> authenticators)
    Parameters
    Type Name Description
    IEnumerable<IAMNetPublickeyAuthenticator> authenticators

    The public key authenticators to try in order.

    Properties

    | Edit this page View Source

    Authenticators

    Gets the configured public key authenticators in evaluation order.

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

    Methods

    | Edit this page View Source

    Authenticate(string, string, ISshSession)

    Returns whether the supplied public key fingerprint should be accepted for the user.

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

    The username requested by the client.

    string incomingFingerprint

    The fingerprint of the public key presented by the client.

    ISshSession session

    Session metadata for the connection being authenticated.

    Returns
    Type Description
    bool

    true to accept the public key; otherwise false.

    Implements

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