Skip to content

Commit d45fc2e

Browse files
committed
PR feedback
1 parent 8451391 commit d45fc2e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Http/Authentication.Abstractions/src/IAuthenticationService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public interface IAuthenticationService
4040
Task ForbidAsync(HttpContext context, string? scheme, AuthenticationProperties? properties);
4141

4242
/// <summary>
43-
/// Sign in a principal in for the specified authentication scheme.
43+
/// Sign a principal in for the specified authentication scheme.
4444
/// </summary>
4545
/// <param name="context">The <see cref="HttpContext"/>.</param>
4646
/// <param name="scheme">The name of the authentication scheme.</param>

src/Http/Authentication.Core/src/AuthenticationService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public virtual async Task ForbidAsync(HttpContext context, string? scheme, Authe
145145
}
146146

147147
/// <summary>
148-
/// Sign in a principal in for the specified authentication scheme.
148+
/// Sign a principal in for the specified authentication scheme.
149149
/// </summary>
150150
/// <param name="context">The <see cref="HttpContext"/>.</param>
151151
/// <param name="scheme">The name of the authentication scheme.</param>

src/Identity/Extensions.Core/src/UserManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1411,7 +1411,7 @@ public virtual async Task<IdentityResult> RemoveFromRolesAsync(TUser user, IEnum
14111411
{
14121412
try
14131413
{
1414-
var result = await ResolveFromtRolesCoreAsync(user, roles).ConfigureAwait(false);
1414+
var result = await RemoveFromRolesCoreAsync(user, roles).ConfigureAwait(false);
14151415
_metrics?.UpdateUser(typeof(TUser).FullName!, result, UserUpdateType.RemoveFromRoles);
14161416
return result;
14171417
}
@@ -1422,7 +1422,7 @@ public virtual async Task<IdentityResult> RemoveFromRolesAsync(TUser user, IEnum
14221422
}
14231423
}
14241424

1425-
private async Task<IdentityResult> ResolveFromtRolesCoreAsync(TUser user, IEnumerable<string> roles)
1425+
private async Task<IdentityResult> RemoveFromRolesCoreAsync(TUser user, IEnumerable<string> roles)
14261426
{
14271427
ThrowIfDisposed();
14281428
var userRoleStore = GetUserRoleStore();

0 commit comments

Comments
 (0)