Fix doc comments
This commit is contained in:
parent
c907762882
commit
2084a95f0a
|
|
@ -204,7 +204,7 @@ namespace Microsoft.AspNet.Identity
|
||||||
/// <value>
|
/// <value>
|
||||||
/// true if the backing user store supports user emails, otherwise false.
|
/// true if the backing user store supports user emails, otherwise false.
|
||||||
/// </value>
|
/// </value>
|
||||||
public virtual bool SupportsUserEmail
|
public virtual bool SupportsUserEmail
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
|
|
@ -1178,7 +1178,7 @@ namespace Microsoft.AspNet.Identity
|
||||||
}
|
}
|
||||||
return await userRoleStore.IsInRoleAsync(user, role, CancellationToken);
|
return await userRoleStore.IsInRoleAsync(user, role, CancellationToken);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the email address for the specified <paramref name="user"/>.
|
/// Gets the email address for the specified <paramref name="user"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -1622,7 +1622,7 @@ namespace Microsoft.AspNet.Identity
|
||||||
Resources.NoTokenProvider, tokenProvider));
|
Resources.NoTokenProvider, tokenProvider));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make sure the token is valid
|
// Make sure the token is valid
|
||||||
var result = await _tokenProviders[tokenProvider].ValidateAsync("TwoFactor", token, this, user);
|
var result = await _tokenProviders[tokenProvider].ValidateAsync("TwoFactor", token, this, user);
|
||||||
if (!result)
|
if (!result)
|
||||||
{
|
{
|
||||||
|
|
@ -1862,7 +1862,7 @@ namespace Microsoft.AspNet.Identity
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="user">The user whose access failed count should be retrieved for.</param>
|
/// <param name="user">The user whose access failed count should be retrieved for.</param>
|
||||||
/// <returns>The <see cref="Task"/> that contains the result the asynchronous operation, the current failed access count
|
/// <returns>The <see cref="Task"/> that contains the result the asynchronous operation, the current failed access count
|
||||||
/// for the user..</returns>
|
/// for the user.</returns>
|
||||||
public virtual async Task<int> GetAccessFailedCountAsync(TUser user)
|
public virtual async Task<int> GetAccessFailedCountAsync(TUser user)
|
||||||
{
|
{
|
||||||
ThrowIfDisposed();
|
ThrowIfDisposed();
|
||||||
|
|
@ -1874,6 +1874,14 @@ namespace Microsoft.AspNet.Identity
|
||||||
return await store.GetAccessFailedCountAsync(user, CancellationToken);
|
return await store.GetAccessFailedCountAsync(user, CancellationToken);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns a list of users from the user store who have the specified <paramref name="claim"/>.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="claim">The claim to look for.</param>
|
||||||
|
/// <returns>
|
||||||
|
/// A <see cref="Task{TResult}"/> that represents the result of the asynchronous query, a list of <typeparamref name="TUser"/>s who
|
||||||
|
/// have the specified claim.
|
||||||
|
/// </returns>
|
||||||
public virtual Task<IList<TUser>> GetUsersForClaimAsync(Claim claim)
|
public virtual Task<IList<TUser>> GetUsersForClaimAsync(Claim claim)
|
||||||
{
|
{
|
||||||
ThrowIfDisposed();
|
ThrowIfDisposed();
|
||||||
|
|
@ -1886,12 +1894,12 @@ namespace Microsoft.AspNet.Identity
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns a list of users from the user store who have the specified <see cref="Claim"/>.
|
/// Returns a list of users from the user store who are members of the specified <paramref name="roleName"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="claim">The claim to look for.</param>
|
/// <param name="roleName">The name of the role whose users should be returned.</param>
|
||||||
/// <returns>
|
/// <returns>
|
||||||
/// A <see cref="Task{TResult}"/> that represents the result of the asynchronous query, a list of <typeparamref name="TUser"/>s who
|
/// A <see cref="Task{TResult}"/> that represents the result of the asynchronous query, a list of <typeparamref name="TUser"/>s who
|
||||||
/// have the specified claim.
|
/// are members of the specified role.
|
||||||
/// </returns>
|
/// </returns>
|
||||||
public virtual Task<IList<TUser>> GetUsersInRoleAsync(string roleName)
|
public virtual Task<IList<TUser>> GetUsersInRoleAsync(string roleName)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue