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:
parent
e131ebae47
commit
5480aa182b
|
|
@ -1289,11 +1289,11 @@ namespace Microsoft.AspNetCore.Identity
|
|||
}
|
||||
|
||||
/// <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>
|
||||
/// <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>
|
||||
/// 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>
|
||||
public virtual Task<TUser> FindByEmailAsync(string email)
|
||||
{
|
||||
|
|
@ -2291,4 +2291,4 @@ namespace Microsoft.AspNetCore.Identity
|
|||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue