Show / Hide Table of Contents

Interface ISecurityType

Represents a RFB protocol security type.

Namespace: MarcusW.VncClient.Protocol.SecurityTypes
Assembly: MarcusW.VncClient.dll
Syntax
public interface ISecurityType

Properties

| Improve this Doc View Source

Id

Gets the ID for this security type.

Declaration
byte Id { get; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

Name

Gets a human readable name for this security type.

Declaration
string Name { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Priority

Declaration
int Priority { get; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

AuthenticateAsync(IAuthenticationHandler, CancellationToken)

Executes the security type authentication.

Declaration
Task<AuthenticationResult> AuthenticateAsync(IAuthenticationHandler authenticationHandler, CancellationToken cancellationToken = null)
Parameters
Type Name Description
IAuthenticationHandler authenticationHandler

The authentication handler to request login data from the application.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task<AuthenticationResult>

The authentication result.

| Improve this Doc View Source

ReadServerInitExtensionAsync(CancellationToken)

Reads additional security type specific data contained in the ServerInit message after the main part has been read.

Declaration
Task ReadServerInitExtensionAsync(CancellationToken cancellationToken = null)
Parameters
Type Name Description
CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX