git_credential_userpass_plaintext_new

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

extern (C) nothrow @nogc
int
git_credential_userpass_plaintext_new
(,
const(char)* username
,
const(char)* password
)

Parameters

out_ .git_credential**

The newly created credential object.

username const(char)*

The username of the credential.

password const(char)*

The password of the credential.

Return Value

Type: int

0 for success or an error code for failure

Meta