libgit2_d.credential

Undocumented in source.

Members

Aliases

LIBSSH2_SESSION
alias LIBSSH2_SESSION = _LIBSSH2_SESSION
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LIBSSH2_USERAUTH_KBDINT_PROMPT
alias LIBSSH2_USERAUTH_KBDINT_PROMPT = _LIBSSH2_USERAUTH_KBDINT_PROMPT
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LIBSSH2_USERAUTH_KBDINT_RESPONSE
alias LIBSSH2_USERAUTH_KBDINT_RESPONSE = _LIBSSH2_USERAUTH_KBDINT_RESPONSE
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_credential
alias git_credential = libgit2_d.sys.credential.git_credential

The base structure for all credential types

git_credential_acquire_cb
alias git_credential_acquire_cb = int function(.git_credential** out_, const(char)* url, const(char)* username_from_url, uint allowed_types, void* payload)

Credential acquisition callback.

git_credential_default
alias git_credential_default = .git_credential

A key for NTLM/Kerberos "default" credentials

git_credential_sign_cb
alias git_credential_sign_cb = int function(.LIBSSH2_SESSION* session, ubyte** sig, size_t* sig_len, const(ubyte)* data, size_t data_len, void** abstract_)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_credential_ssh_custom
alias git_credential_ssh_custom = libgit2_d.sys.credential.git_credential_ssh_custom

A key with a custom signature function

git_credential_ssh_interactive
alias git_credential_ssh_interactive = libgit2_d.sys.credential.git_credential_ssh_interactive

Keyboard-interactive based ssh authentication

git_credential_ssh_interactive_cb
alias git_credential_ssh_interactive_cb = void function(const(char)* name, int name_len, const(char)* instruction, int instruction_len, int num_prompts, const(.LIBSSH2_USERAUTH_KBDINT_PROMPT)* prompts, .LIBSSH2_USERAUTH_KBDINT_RESPONSE* responses, void** abstract_)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_credential_ssh_key
alias git_credential_ssh_key = libgit2_d.sys.credential.git_credential_ssh_key

A ssh key from disk

git_credential_username
alias git_credential_username = libgit2_d.sys.credential.git_credential_username

Username-only credential information

git_credential_userpass_plaintext
alias git_credential_userpass_plaintext = libgit2_d.sys.credential.git_credential_userpass_plaintext
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Enums

GIT_CREDENTIAL_USERPASS_PLAINTEXT
anonymousenum GIT_CREDENTIAL_USERPASS_PLAINTEXT
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_credential_t
enum git_credential_t

Supported credential types

Functions

git_credential_default_new
int git_credential_default_new(.git_credential** out_)

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

git_credential_free
void git_credential_free(.git_credential* cred)

Free a credential.

git_credential_get_username
const(char)* git_credential_get_username(.git_credential* cred)

Return the username associated with a credential object.

git_credential_has_username
int git_credential_has_username(.git_credential* cred)

Check whether a credential object contains username information.

git_credential_ssh_custom_new
int git_credential_ssh_custom_new(.git_credential** out_, const(char)* username, const(char)* publickey, size_t publickey_len, .git_credential_sign_cb sign_callback, void* payload)

Create an ssh key credential with a custom signing function.

git_credential_ssh_interactive_new
int git_credential_ssh_interactive_new(.git_credential** out_, const(char)* username, .git_credential_ssh_interactive_cb prompt_callback, void* payload)

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

git_credential_ssh_key_from_agent
int git_credential_ssh_key_from_agent(.git_credential** out_, const(char)* username)

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

git_credential_ssh_key_memory_new
int git_credential_ssh_key_memory_new(.git_credential** out_, const(char)* username, const(char)* publickey, const(char)* privatekey, const(char)* passphrase)

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

git_credential_ssh_key_new
int git_credential_ssh_key_new(.git_credential** out_, const(char)* username, const(char)* publickey, const(char)* privatekey, const(char)* passphrase)

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

git_credential_username_new
int git_credential_username_new(.git_credential** out_, const(char)* username)

Create a credential to specify a username.

git_credential_userpass_plaintext_new
int git_credential_userpass_plaintext_new(.git_credential** out_, const(char)* username, const(char)* password)

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

Structs

_LIBSSH2_SESSION
struct _LIBSSH2_SESSION
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
_LIBSSH2_USERAUTH_KBDINT_PROMPT
struct _LIBSSH2_USERAUTH_KBDINT_PROMPT
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
_LIBSSH2_USERAUTH_KBDINT_RESPONSE
struct _LIBSSH2_USERAUTH_KBDINT_RESPONSE
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta