libgit2

credential

Version:
Git authentication & credential management

Objects

Enums

Supported credential types

Callbacks

Functions

Free a credential

Check whether a credential object contains username information

Return the username associated with a credential object

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

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

Create a credential to specify a username

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

Create a new ssh key credential object reading the keys from memory

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