libgit2

git_credtype_t

Version:

Authentication type requested

Values

GIT_CREDTYPE_USERPASS_PLAINTEXT
0
GIT_CREDTYPE_SSH_KEY
1
GIT_CREDTYPE_SSH_CUSTOM
2
GIT_CREDTYPE_DEFAULT
3
GIT_CREDTYPE_SSH_INTERACTIVE
4
GIT_CREDTYPE_USERNAME
5

Username-only information

If the SSH transport does not know which username to use, it will ask via this credential type.

GIT_CREDTYPE_SSH_MEMORY
6

Credentials read from memory.

Only available for libssh2+OpenSSL for now.

Versions