Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 21f888e

Browse files
committed
Updated parameter name.
1 parent 1c81104 commit 21f888e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/GitHub.Api/LoginManager.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,26 @@ public class LoginManager : ILoginManager
2323
/// <summary>
2424
/// Initializes a new instance of the <see cref="LoginManager"/> class.
2525
/// </summary>
26-
/// <param name="loginCache">The cache in which to store login details.</param>
26+
/// <param name="keychain">The keychain in which to store credentials.</param>
2727
/// <param name="twoFactorChallengeHandler">The handler for 2FA challenges.</param>
2828
/// <param name="clientId">The application's client API ID.</param>
2929
/// <param name="clientSecret">The application's client API secret.</param>
3030
/// <param name="authorizationNote">An note to store with the authorization.</param>
3131
/// <param name="fingerprint">The machine fingerprint.</param>
3232
public LoginManager(
33-
IKeychain loginCache,
33+
IKeychain keychain,
3434
ITwoFactorChallengeHandler twoFactorChallengeHandler,
3535
string clientId,
3636
string clientSecret,
3737
string authorizationNote = null,
3838
string fingerprint = null)
3939
{
40-
Guard.ArgumentNotNull(loginCache, nameof(loginCache));
40+
Guard.ArgumentNotNull(keychain, nameof(keychain));
4141
Guard.ArgumentNotNull(twoFactorChallengeHandler, nameof(twoFactorChallengeHandler));
4242
Guard.ArgumentNotEmptyString(clientId, nameof(clientId));
4343
Guard.ArgumentNotEmptyString(clientSecret, nameof(clientSecret));
4444

45-
this.keychain = loginCache;
45+
this.keychain = keychain;
4646
this.twoFactorChallengeHandler = twoFactorChallengeHandler;
4747
this.clientId = clientId;
4848
this.clientSecret = clientSecret;

0 commit comments

Comments
 (0)