libgit2

credential

Version:

Credentials specify how to authenticate to a remote system over HTTPS or SSH.

Objects

Enums

Supported credential types

Callbacks

Credential acquisition callback

Callback for interactive SSH credentials

Callback for credential signing

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