I've thought about this a bit, but shouldn't the Credentials implementations provide their credentials as callbacks and not as normal properties?
What I've been thinking is like making the Credentials similar to an interactive prompt. Calling Username.get would end up calling the callback set to get the username.
Moreover, it would be easier to pack them in a Func<GitCredentialType, Tuple<string, string>>.
I've thought about this a bit, but shouldn't the Credentials implementations provide their credentials as callbacks and not as normal properties?
What I've been thinking is like making the Credentials similar to an interactive prompt. Calling Username.get would end up calling the callback set to get the username.
Moreover, it would be easier to pack them in a
Func<GitCredentialType, Tuple<string, string>>.