Spelling and grammar cleanup (#1391)

This commit is contained in:
Brian Chavez 2017-08-27 21:03:29 -07:00 committed by Justin Kotalik
parent 5b29bced0d
commit 414d596639
4 changed files with 7 additions and 7 deletions

View File

@ -31,10 +31,10 @@ namespace Microsoft.AspNetCore.Authentication.OAuth.Claims
public string ValueType { get; }
/// <summary>
/// Exhamine the given userData json, determine if the requisite data is present, and optionally add it
/// Examine the given userData json, determine if the requisite data is present, and optionally add it
/// as a new Claim on the ClaimsIdentity.
/// </summary>
/// <param name="userData">The source data to exhamine. This value may be null.</param>
/// <param name="userData">The source data to examine. This value may be null.</param>
/// <param name="identity">The identity to add Claims to.</param>
/// <param name="issuer">The value to use for Claim.Issuer when creating a Claim.</param>
public abstract void Run(JObject userData, ClaimsIdentity identity, string issuer);

View File

@ -30,7 +30,7 @@ namespace Microsoft.AspNetCore.Authorization
/// <param name="handlers">The handlers used to fulfill <see cref="IAuthorizationRequirement"/>s.</param>
/// <param name="logger">The logger used to log messages, warnings and errors.</param>
/// <param name="contextFactory">The <see cref="IAuthorizationHandlerContextFactory"/> used to create the context to handle the authorization.</param>
/// <param name="evaluator">The <see cref="IAuthorizationEvaluator"/> used to determine if authorzation was successful.</param>
/// <param name="evaluator">The <see cref="IAuthorizationEvaluator"/> used to determine if authorization was successful.</param>
/// <param name="options">The <see cref="AuthorizationOptions"/> used.</param>
public DefaultAuthorizationService(IAuthorizationPolicyProvider policyProvider, IAuthorizationHandlerProvider handlers, ILogger<DefaultAuthorizationService> logger, IAuthorizationHandlerContextFactory contextFactory, IAuthorizationEvaluator evaluator, IOptions<AuthorizationOptions> options)
{
@ -74,7 +74,7 @@ namespace Microsoft.AspNetCore.Authorization
/// <param name="resource">The resource to evaluate the requirements against.</param>
/// <param name="requirements">The requirements to evaluate.</param>
/// <returns>
/// A flag indicating whether authorization has succeded.
/// A flag indicating whether authorization has succeeded.
/// This value is <value>true</value> when the user fulfills the policy otherwise <value>false</value>.
/// </returns>
public async Task<AuthorizationResult> AuthorizeAsync(ClaimsPrincipal user, object resource, IEnumerable<IAuthorizationRequirement> requirements)
@ -136,7 +136,7 @@ namespace Microsoft.AspNetCore.Authorization
/// <param name="resource">The resource the policy should be checked with.</param>
/// <param name="policyName">The name of the policy to check against a specific context.</param>
/// <returns>
/// A flag indicating whether authorization has succeded.
/// A flag indicating whether authorization has succeeded.
/// This value is <value>true</value> when the user fulfills the policy otherwise <value>false</value>.
/// </returns>
public async Task<AuthorizationResult> AuthorizeAsync(ClaimsPrincipal user, object resource, string policyName)

View File

@ -43,7 +43,7 @@ namespace Microsoft.AspNetCore.Authorization
/// <returns>
/// A flag indicating whether authorization has succeeded.
/// Returns a flag indicating whether the user, and optional resource has fulfilled the policy.
/// <value>true</value> when the the policy has been fulfilled; otherwise <value>false</value>.
/// <value>true</value> when the policy has been fulfilled; otherwise <value>false</value>.
/// </returns>
/// <remarks>
/// Resource is an optional parameter and may be null. Please ensure that you check it is not

View File

@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace Microsoft.AspNetCore.Authorization.Infrastructure
{
/// <summary>
/// Infrastructre class which allows an <see cref="IAuthorizationRequirement"/> to
/// Infrastructure class which allows an <see cref="IAuthorizationRequirement"/> to
/// be its own <see cref="IAuthorizationHandler"/>.
/// </summary>
public class PassThroughAuthorizationHandler : IAuthorizationHandler