C# Class Poderosa.Protocols.KeyboardInteractiveAuthHanlder

Keyboard-interactive authentication support for SSHSocket.
Exibir arquivo Open project: poderosaproject/poderosa Class Usage Examples

Public Methods

Method Description
KeyboardInteractiveAuthHanlder ( Action output ) : System

Constructor

KeyboardInteractiveAuthenticationPrompt ( string prompts, bool echoes ) : string[]

Show prompt lines and input texts.

OnData ( byte data, int offset, int length ) : void

Process user input.

Private Methods

Method Description
GetBytes ( byte data, int offset, int length ) : byte[]

Method Details

KeyboardInteractiveAuthHanlder() public method

Constructor
public KeyboardInteractiveAuthHanlder ( Action output ) : System
output Action a method to output data to the terminal
return System

KeyboardInteractiveAuthenticationPrompt() public method

Show prompt lines and input texts.
public KeyboardInteractiveAuthenticationPrompt ( string prompts, bool echoes ) : string[]
prompts string
echoes bool
return string[]

OnData() public method

Process user input.
public OnData ( byte data, int offset, int length ) : void
data byte
offset int
length int
return void