Clearing up FindByEmailAsync usage

Makes it explicit that the parameter can be any email, but the query will be based on the normalized value.
This commit is contained in:
Sébastien Ros 2016-09-13 16:06:52 -07:00 committed by GitHub
parent e131ebae47
commit 5480aa182b
1 changed files with 4 additions and 4 deletions

View File

@ -1289,11 +1289,11 @@ namespace Microsoft.AspNetCore.Identity
} }
/// <summary> /// <summary>
/// Gets the user, if any, associated with the specified, normalized email address. /// Gets the user, if any, associated with the normalized value of the specified email address.
/// </summary> /// </summary>
/// <param name="email">The normalized email address to return the user for.</param> /// <param name="email">The email address to return the user for.</param>
/// <returns> /// <returns>
/// The task object containing the results of the asynchronous lookup operation, the user if any associated with the specified normalized email address. /// The task object containing the results of the asynchronous lookup operation, the user, if any, associated with a normalized value of the specified email address.
/// </returns> /// </returns>
public virtual Task<TUser> FindByEmailAsync(string email) public virtual Task<TUser> FindByEmailAsync(string email)
{ {
@ -2291,4 +2291,4 @@ namespace Microsoft.AspNetCore.Identity
} }
} }
} }