House Cleaning - Spell check and grammar. 🚿

This commit is contained in:
bchavez 2017-08-27 17:33:16 -07:00
parent f147951d92
commit 8928f8446f
No known key found for this signature in database
GPG Key ID: ABC24B487D6C3569
7 changed files with 9 additions and 9 deletions

View File

@ -12,7 +12,7 @@ namespace Microsoft.AspNet.Identity.CoreCompat
where TUser : IdentityUser
{
/// <summary>
/// Default constuctor which uses a new instance of a default EntityDbContext.
/// Default constructor which uses a new instance of a default EntityDbContext.
/// </summary>
public UserStore()
: this(new IdentityDbContext<TUser>())

View File

@ -435,7 +435,7 @@ namespace Microsoft.AspNetCore.Identity.EntityFrameworkCore
private DbSet<TRoleClaim> RoleClaims { get { return Context.Set<TRoleClaim>(); } }
/// <summary>
/// Creates a entity representing a role claim.
/// Creates an entity representing a role claim.
/// </summary>
/// <param name="role">The associated role.</param>
/// <param name="claim">The associated claim.</param>

View File

@ -97,7 +97,7 @@ namespace Microsoft.AspNetCore.Identity.Service
}
var rsaSecurityKey = credentials.Key as RsaSecurityKey;
// Check that the key has either an Asymetric Algorithm assigned or that at least
// Check that the key has either an Asymmetric Algorithm assigned or that at least
// one of the RSA parameters are initialized to consider the key "valid".
if (rsaSecurityKey != null &&
(rsaSecurityKey.Rsa != null || rsaSecurityKey.Parameters.Modulus != null))

View File

@ -38,7 +38,7 @@ namespace Microsoft.AspNetCore.Identity
}
/// <summary>
/// The cancellation token assocated with the current HttpContext.RequestAborted or CancellationToken.None if unavailable.
/// The cancellation token associated with the current HttpContext.RequestAborted or CancellationToken.None if unavailable.
/// </summary>
protected override CancellationToken CancellationToken => _cancel;
}

View File

@ -46,7 +46,7 @@ namespace Microsoft.AspNetCore.Identity
}
/// <summary>
/// The cancellation token assocated with the current HttpContext.RequestAborted or CancellationToken.None if unavailable.
/// The cancellation token associated with the current HttpContext.RequestAborted or CancellationToken.None if unavailable.
/// </summary>
protected override CancellationToken CancellationToken => _cancel;
}

View File

@ -4,7 +4,7 @@
namespace Microsoft.AspNetCore.Identity
{
/// <summary>
/// Represents all the options you can use to configure the cookies middleware uesd by the identity system.
/// Represents all the options you can use to configure the cookies middleware used by the identity system.
/// </summary>
public class IdentityConstants
{

View File

@ -178,7 +178,7 @@ namespace Microsoft.AspNetCore.Identity
/// Gets a flag indicating whether the backing user store supports a user authenticator.
/// </summary>
/// <value>
/// true if the backing user store supports a user authenticatior, otherwise false.
/// true if the backing user store supports a user authenticator, otherwise false.
/// </value>
public virtual bool SupportsUserAuthenticatorKey
{
@ -193,7 +193,7 @@ namespace Microsoft.AspNetCore.Identity
/// Gets a flag indicating whether the backing user store supports recovery codes.
/// </summary>
/// <value>
/// true if the backing user store supports a user authenticatior, otherwise false.
/// true if the backing user store supports a user authenticator, otherwise false.
/// </value>
public virtual bool SupportsUserTwoFactorRecoveryCodes
{
@ -961,7 +961,7 @@ namespace Microsoft.AspNetCore.Identity
var existingUser = await FindByLoginAsync(login.LoginProvider, login.ProviderKey);
if (existingUser != null)
{
Logger.LogWarning(4, "AddLogin for user {userId} failed because it was already assocated with another user.", await GetUserIdAsync(user));
Logger.LogWarning(4, "AddLogin for user {userId} failed because it was already associated with another user.", await GetUserIdAsync(user));
return IdentityResult.Failed(ErrorDescriber.LoginAlreadyAssociated());
}
await loginStore.AddLoginAsync(user, login, CancellationToken);