git_transport_smart_credentials

Call the credentials callback for this transport

package extern (C) nothrow @nogc
int
git_transport_smart_credentials

Parameters

out_ libgit2_d.sys.credential.git_credential**

the pointer where the creds are to be stored

transport .git_transport*

a smart transport

user const(char)*

the user we saw on the url (if any)

methods int

available methods for authentication

Return Value

Type: int

the return value of the callback: 0 for no error, git_error_code.GIT_PASSTHROUGH to indicate that there is no callback registered (or the callback refused to provide credentials and callers should behave as if no callback was set), or < 0 for an error

Meta