[−][src]Type Definition git2::
Callback used to acquire credentials for when a remote is fetched.
url- the resource for which the credentials are required.
username_from_url- the username that was embedded in the url, or
Noneif it was not included.
allowed_types- a bitmask stating which cred types are ok to return.