Skip to content

Commit

Permalink
Fix parameter description in GetAuthenticatorKeyAsync (#57834)
Browse files Browse the repository at this point in the history
* Fix parameter description in GetAuthenticatorKeyAsync

Corrected the parameter description for the `user` parameter in the
`GetAuthenticatorKeyAsync` method of the `IUserAuthenticatorKeyStore<TUser>`
interface. The previous description incorrectly referred to the security
stamp, while the new description accurately refers to the authenticator key.

* Update src/Identity/Extensions.Core/src/IUserAuthenticatorKeyStore.cs

Co-authored-by: Martin Costello <martin@martincostello.com>

---------

Co-authored-by: Martin Costello <martin@martincostello.com>
  • Loading branch information
marcominerva and martincostello committed Sep 16, 2024
1 parent 7210858 commit 9dd4b0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public interface IUserAuthenticatorKeyStore<TUser> : IUserStore<TUser> where TUs
/// <summary>
/// Get the authenticator key for the specified <paramref name="user" />.
/// </summary>
/// <param name="user">The user whose security stamp should be set.</param>
/// <param name="user">The user whose authenticator key should be retrieved.</param>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> used to propagate notifications that the operation should be canceled.</param>
/// <returns>The <see cref="Task"/> that represents the asynchronous operation, containing the security stamp for the specified <paramref name="user"/>.</returns>
Task<string?> GetAuthenticatorKeyAsync(TUser user, CancellationToken cancellationToken);
Expand Down

0 comments on commit 9dd4b0f

Please sign in to comment.