Create a new ssh keyboard-interactive based credential object.
The supplied credential parameter will be internally duplicated.
@param username Username to use to authenticate.
@param prompt_callback The callback method used for prompts.
@param payload Additional data to pass to the callback.
@return 0 for success or an error code for failure.
Create a new ssh keyboard-interactive based credential object. The supplied credential parameter will be internally duplicated.
@param username Username to use to authenticate. @param prompt_callback The callback method used for prompts. @param payload Additional data to pass to the callback. @return 0 for success or an error code for failure.