Value | Meaning |
---|---|
GIT_CREDENTIAL_USERPASS_PLAINTEXT1u << 0 | A vanilla user/password request @see git_credential_userpass_plaintext_new |
GIT_CREDENTIAL_SSH_KEY1u << 1 | An SSH key-based authentication request @see git_credential_ssh_key_new |
GIT_CREDENTIAL_SSH_CUSTOM1u << 2 | An SSH key-based authentication request, with a custom signature @see git_credential_ssh_custom_new |
GIT_CREDENTIAL_DEFAULT1u << 3 | An NTLM/Negotiate-based authentication request. @see git_credential_default |
GIT_CREDENTIAL_SSH_INTERACTIVE1u << 4 | An SSH interactive authentication request @see git_credential_ssh_interactive_new |
GIT_CREDENTIAL_USERNAME1u << 5 | Username-only authentication request Used as a pre-authentication step if the underlying transport (eg. SSH, with no username in its URL) does not know which username to use. @see git_credential_username_new |
GIT_CREDENTIAL_SSH_MEMORY1u << 6 | An SSH key-based authentication request Allows credentials to be read from memory instead of files. Note that because of differences in crypto backend support, it might not be functional. @see git_credential_ssh_key_memory_new |
Supported credential types
This represents the various types of authentication methods supported by the library.