Interface IAuthenticationHandler
Provides handlers for authentication requests.
Namespace: MarcusW.VncClient.Security
Assembly: MarcusW.VncClient.dll
Syntax
public interface IAuthenticationHandler
Methods
| Improve this Doc View SourceProvideAuthenticationInputAsync<TInput>(RfbConnection, ISecurityType, IAuthenticationInputRequest<TInput>)
Handles an authentication input request and tries to get the requested data from the user or device.
Declaration
Task<TInput> ProvideAuthenticationInputAsync<TInput>(RfbConnection connection, ISecurityType securityType, IAuthenticationInputRequest<TInput> request)
where TInput : class, IAuthenticationInput
Parameters
Type | Name | Description |
---|---|---|
RfbConnection | connection | The connection which this request belongs to. |
ISecurityType | securityType | The security type which raised the request. |
IAuthenticationInputRequest<TInput> | request | The input request. |
Returns
Type | Description |
---|---|
Task<TInput> | The input response. |
Type Parameters
Name | Description |
---|---|
TInput | The type of the requested input. |