Rename parameter of IUserStore.SetNormalizedUserNameAsync method
Fixes https://github.com/aspnet/Identity/issues/244
This commit is contained in:
parent
d7f711bca1
commit
8672bd7797
|
|
@ -126,7 +126,7 @@ namespace Microsoft.AspNet.Identity.EntityFramework
|
|||
return Task.FromResult(user.NormalizedUserName);
|
||||
}
|
||||
|
||||
public Task SetNormalizedUserNameAsync(TUser user, string userName, CancellationToken cancellationToken = default(CancellationToken))
|
||||
public Task SetNormalizedUserNameAsync(TUser user, string normalizedName, CancellationToken cancellationToken = default(CancellationToken))
|
||||
{
|
||||
cancellationToken.ThrowIfCancellationRequested();
|
||||
ThrowIfDisposed();
|
||||
|
|
@ -134,7 +134,7 @@ namespace Microsoft.AspNet.Identity.EntityFramework
|
|||
{
|
||||
throw new ArgumentNullException("user");
|
||||
}
|
||||
user.NormalizedUserName = userName;
|
||||
user.NormalizedUserName = normalizedName;
|
||||
return Task.FromResult(0);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -51,10 +51,10 @@ namespace Microsoft.AspNet.Identity
|
|||
/// Set the normalized user name
|
||||
/// </summary>
|
||||
/// <param name="user"></param>
|
||||
/// <param name="userName"></param>
|
||||
/// <param name="normalizedName"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
Task SetNormalizedUserNameAsync(TUser user, string userName,
|
||||
Task SetNormalizedUserNameAsync(TUser user, string normalizedName,
|
||||
CancellationToken cancellationToken = default(CancellationToken));
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Reference in New Issue