Make credential store awaitable

The storage mechanism for credentials is very likely to be an async data
store. So might as well play it safe and make it awaitable.
This commit is contained in:
Haacked
2013-10-08 16:19:08 -07:00
parent d8ba8ae6b6
commit 90f67dd37b
9 changed files with 63 additions and 15 deletions

View File

@@ -47,7 +47,9 @@ namespace Octokit
/// Convenience property for getting and setting credentials.
/// </summary>
/// <remarks>
/// Setting the credentials will change the <see cref="ICredentialStore"/> to use
/// You can use this property if you only have a single hard-coded credential. Otherwise, pass in an
/// <see cref="ICredentialStore"/> to the constructor.
/// Setting this property will change the <see cref="ICredentialStore"/> to use
/// the default <see cref="InMemoryCredentialStore"/> with just these credentials.
/// </remarks>
public Credentials Credentials