Interface IAMNetPublickeyAuthenticator
Authenticates SSH users by comparing the client's public key fingerprint with application-managed key records.
Namespace: ApacheMinaSSHD.NET.Wrapper.Abstractions
Assembly: ApacheMinaSSHD.NET.Wrapper.dll
Syntax
public interface IAMNetPublickeyAuthenticator
Methods
| Edit this page View SourceAuthenticate(string, string, ISshSession)
Returns whether the supplied public key fingerprint should be accepted for the user.
Declaration
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 |
|