libgit2

transport

Version:
Git transport interfaces and functions

Objects

Structs

Hostkey information taken from libssh2

A plaintext username and password

A ssh key from disk

Keyboard-interactive based ssh authentication

A key with a custom signature function

Username-only credential information

Enums

Type of SSH host fingerprint

Authentication type requested

Callbacks

Signature of a function which acquires a credential object

Type for messages delivered by the transport to cancel the network operation.

Callback for the user's custom certificate checks

Functions

Check whether a credential object contains username information

Create a new plain-text username and password credential object The supplied credential parameter will be internally duplicated.

Create a new passphrase-protected ssh key credential object The supplied credential parameter will be internally duplicated.

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

Create a new ssh key credential object used for querying an ssh-agent The supplied credential parameter will be internally duplicated.

Create an ssh key credential with a custom signing function

Create a "default" credential usable for Negotiate mechanisms like NTLM or Kerberos authentication

Create a credential to specify a username