git2-rs
git2-rs copied to clipboard
Implement minimal support for chained credential store helpers
Tools such as git-credential-oauth rely on a chained helper configuration to store the acquired credentials.
Unimplemented features in this PR:
- This does not pass on properties other than
usernameandpassword(Notable other properties would bepassword_expiry_utc,oauth_refresh_token). - It does not check the
password_expiry_utcproperty, and instead relies on thetimeoutconfig of the cache helper.
Note: git-credential-oauth does not seem to make use of these features at the moment.