git_credential_ssh_interactive_new

Create a new ssh keyboard-interactive based credential object. The supplied credential parameter will be internally duplicated.

extern (C) nothrow @nogc
int
git_credential_ssh_interactive_new

Parameters

username const(char)*

Username to use to authenticate.

prompt_callback .git_credential_ssh_interactive_cb

The callback method used for prompts.

payload void*

Additional data to pass to the callback.

Return Value

Type: int

0 for success or an error code for failure.

Meta