libgit2

git_transport_smart_credentials

Version:

Call the credentials callback for this transport

Signature

int git_transport_smart_credentials(git_cred **out, git_transport *transport, const char *user, int methods);

Parameters

In
out

the pointer where the creds are to be stored

In
transport

a smart transport

const char *
In
user

the user we saw on the url (if any)

int
In
methods

available methods for authentication

Returns

int

the return value of the callback

Versions