From 0a0e1ea0cdbe29f2fcd2291b900db98597387d77 Mon Sep 17 00:00:00 2001 From: riccikl <49199340+riccikl@users.noreply.github.com> Date: Mon, 28 Oct 2019 19:41:04 +0100 Subject: [PATCH] Fix references in documentation (#15436) --- .../Http.Abstractions/src/CookieBuilder.cs | 12 +++++----- .../Core/src/IdentityBuilderExtensions.cs | 4 ++-- .../Extensions.Core/src/IdentityBuilder.cs | 22 +++++++++---------- .../src/ApiConventionMethodAttribute.cs | 2 +- .../OpenIdConnect/src/OpenIdConnectOptions.cs | 2 +- 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/Http/Http.Abstractions/src/CookieBuilder.cs b/src/Http/Http.Abstractions/src/CookieBuilder.cs index a94d90f1cd..429de53cf3 100644 --- a/src/Http/Http.Abstractions/src/CookieBuilder.cs +++ b/src/Http/Http.Abstractions/src/CookieBuilder.cs @@ -28,7 +28,7 @@ namespace Microsoft.AspNetCore.Http /// The cookie path. /// /// - /// Determines the value that will set on . + /// Determines the value that will set on . /// public virtual string Path { get; set; } @@ -36,7 +36,7 @@ namespace Microsoft.AspNetCore.Http /// The domain to associate the cookie with. /// /// - /// Determines the value that will set on . + /// Determines the value that will set on . /// public virtual string Domain { get; set; } @@ -44,7 +44,7 @@ namespace Microsoft.AspNetCore.Http /// Indicates whether a cookie is accessible by client-side script. /// /// - /// Determines the value that will set on . + /// Determines the value that will set on . /// public virtual bool HttpOnly { get; set; } @@ -52,12 +52,12 @@ namespace Microsoft.AspNetCore.Http /// The SameSite attribute of the cookie. The default value is /// /// - /// Determines the value that will set on . + /// Determines the value that will set on . /// public virtual SameSiteMode SameSite { get; set; } = SameSiteMode.Unspecified; /// - /// The policy that will be used to determine . + /// The policy that will be used to determine . /// This is determined from the passed to . /// public virtual CookieSecurePolicy SecurePolicy { get; set; } @@ -89,7 +89,7 @@ namespace Microsoft.AspNetCore.Http /// Creates the cookie options from the given with an expiration based on and . /// /// The . - /// The time to use as the base for computing . + /// The time to use as the base for computing . /// The cookie options. public virtual CookieOptions Build(HttpContext context, DateTimeOffset expiresFrom) { diff --git a/src/Identity/Core/src/IdentityBuilderExtensions.cs b/src/Identity/Core/src/IdentityBuilderExtensions.cs index df0a1c59d0..2d77c5c3f8 100644 --- a/src/Identity/Core/src/IdentityBuilderExtensions.cs +++ b/src/Identity/Core/src/IdentityBuilderExtensions.cs @@ -39,7 +39,7 @@ namespace Microsoft.AspNetCore.Identity } /// - /// Adds a for the . + /// Adds a for the . /// /// The current instance. /// The current instance. @@ -52,7 +52,7 @@ namespace Microsoft.AspNetCore.Identity } /// - /// Adds a for the . + /// Adds a for the . /// /// The type of the sign in manager to add. /// The current instance. diff --git a/src/Identity/Extensions.Core/src/IdentityBuilder.cs b/src/Identity/Extensions.Core/src/IdentityBuilder.cs index b7502237bc..467ff301d8 100644 --- a/src/Identity/Extensions.Core/src/IdentityBuilder.cs +++ b/src/Identity/Extensions.Core/src/IdentityBuilder.cs @@ -66,7 +66,7 @@ namespace Microsoft.AspNetCore.Identity } /// - /// Adds an for the . + /// Adds an for the . /// /// The user validator type. /// The current instance. @@ -74,7 +74,7 @@ namespace Microsoft.AspNetCore.Identity => AddScoped(typeof(IUserValidator<>).MakeGenericType(UserType), typeof(TValidator)); /// - /// Adds an for the . + /// Adds an for the . /// /// The type of the claims principal factory. /// The current instance. @@ -93,7 +93,7 @@ namespace Microsoft.AspNetCore.Identity } /// - /// Adds an for the . + /// Adds an for the . /// /// The validator type used to validate passwords. /// The current instance. @@ -101,7 +101,7 @@ namespace Microsoft.AspNetCore.Identity => AddScoped(typeof(IPasswordValidator<>).MakeGenericType(UserType), typeof(TValidator)); /// - /// Adds an for the . + /// Adds an for the . /// /// The user store type. /// The current instance. @@ -118,7 +118,7 @@ namespace Microsoft.AspNetCore.Identity => AddTokenProvider(providerName, typeof(TProvider)); /// - /// Adds a token provider for the . + /// Adds a token provider for the . /// /// The name of the provider to add. /// The type of the to add. @@ -134,11 +134,11 @@ namespace Microsoft.AspNetCore.Identity options.Tokens.ProviderMap[providerName] = new TokenProviderDescriptor(provider); }); Services.AddTransient(provider); - return this; + return this; } /// - /// Adds a for the . + /// Adds a for the . /// /// The type of the user manager to add. /// The current instance. @@ -172,7 +172,7 @@ namespace Microsoft.AspNetCore.Identity } /// - /// Adds an for the . + /// Adds an for the . /// /// The role validator type. /// The current instance. @@ -191,7 +191,7 @@ namespace Microsoft.AspNetCore.Identity /// The personal data protector type. /// The personal data protector key ring type. /// The current instance. - public virtual IdentityBuilder AddPersonalDataProtection() + public virtual IdentityBuilder AddPersonalDataProtection() where TProtector : class,ILookupProtector where TKeyRing : class, ILookupProtectorKeyRing { @@ -202,7 +202,7 @@ namespace Microsoft.AspNetCore.Identity } /// - /// Adds a for the . + /// Adds a for the . /// /// The role store. /// The current instance. @@ -216,7 +216,7 @@ namespace Microsoft.AspNetCore.Identity } /// - /// Adds a for the . + /// Adds a for the . /// /// The type of the role manager to add. /// The current instance. diff --git a/src/Mvc/Mvc.Core/src/ApiConventionMethodAttribute.cs b/src/Mvc/Mvc.Core/src/ApiConventionMethodAttribute.cs index 8efb21d871..7164e9d011 100644 --- a/src/Mvc/Mvc.Core/src/ApiConventionMethodAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ApiConventionMethodAttribute.cs @@ -14,7 +14,7 @@ namespace Microsoft.AspNetCore.Mvc /// /// API conventions are used to influence the output of ApiExplorer. /// can be used to specify an exact convention method that applies - /// to an action. for details about applying conventions at + /// to an action. for details about applying conventions at /// the assembly or controller level. /// /// diff --git a/src/Security/Authentication/OpenIdConnect/src/OpenIdConnectOptions.cs b/src/Security/Authentication/OpenIdConnect/src/OpenIdConnectOptions.cs index 3c4dc4cc21..1b86c81901 100644 --- a/src/Security/Authentication/OpenIdConnect/src/OpenIdConnectOptions.cs +++ b/src/Security/Authentication/OpenIdConnect/src/OpenIdConnectOptions.cs @@ -288,7 +288,7 @@ namespace Microsoft.AspNetCore.Authentication.OpenIdConnect /// cookie gets added to the response. /// /// - /// The value of is treated as the prefix to the cookie name, and defaults to . + /// The value of is treated as the prefix to the cookie name, and defaults to . /// public CookieBuilder NonceCookie {