Adding Asp.net diff between netcoreapp2.2 and netcoreapp3.0 (#3519)
* api diff * correcting asp.netcore in 2.2 * generating through full closure * removing third party binaries * switching to assembly Version
This commit is contained in:
parent
d52370b154
commit
bc827f2b64
153
release-notes/3.0/preview/api-diff/3.0 vs 2.2/Asp.Net/3.0.0.md
Normal file
153
release-notes/3.0/preview/api-diff/3.0 vs 2.2/Asp.Net/3.0.0.md
Normal file
|
@ -0,0 +1,153 @@
|
|||
# API Difference netcoreapp2.2 vs netcoreapp3.0
|
||||
|
||||
API listing follows standard diff formatting. Lines preceded by a '+' are
|
||||
additions and a '-' indicates removal.
|
||||
|
||||
* [Microsoft.AspNetCore](3.0.0_Microsoft.AspNetCore.md)
|
||||
* [Microsoft.AspNetCore.Antiforgery](3.0.0_Microsoft.AspNetCore.Antiforgery.md)
|
||||
* [Microsoft.AspNetCore.ApiAuthorization.IdentityServer](3.0.0_Microsoft.AspNetCore.ApiAuthorization.IdentityServer.md)
|
||||
* [Microsoft.AspNetCore.Authentication](3.0.0_Microsoft.AspNetCore.Authentication.md)
|
||||
* [Microsoft.AspNetCore.Authentication.Abstractions](3.0.0_Microsoft.AspNetCore.Authentication.Abstractions.md)
|
||||
* [Microsoft.AspNetCore.Authentication.AzureAD.UI](3.0.0_Microsoft.AspNetCore.Authentication.AzureAD.UI.md)
|
||||
* [Microsoft.AspNetCore.Authentication.AzureAD.UI.Views](3.0.0_Microsoft.AspNetCore.Authentication.AzureAD.UI.Views.md)
|
||||
* [Microsoft.AspNetCore.Authentication.AzureADB2C.UI](3.0.0_Microsoft.AspNetCore.Authentication.AzureADB2C.UI.md)
|
||||
* [Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Views](3.0.0_Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Views.md)
|
||||
* [Microsoft.AspNetCore.Authentication.Certificate](3.0.0_Microsoft.AspNetCore.Authentication.Certificate.md)
|
||||
* [Microsoft.AspNetCore.Authentication.Cookies](3.0.0_Microsoft.AspNetCore.Authentication.Cookies.md)
|
||||
* [Microsoft.AspNetCore.Authentication.Core](3.0.0_Microsoft.AspNetCore.Authentication.Core.md)
|
||||
* [Microsoft.AspNetCore.Authentication.Facebook](3.0.0_Microsoft.AspNetCore.Authentication.Facebook.md)
|
||||
* [Microsoft.AspNetCore.Authentication.Google](3.0.0_Microsoft.AspNetCore.Authentication.Google.md)
|
||||
* [Microsoft.AspNetCore.Authentication.JwtBearer](3.0.0_Microsoft.AspNetCore.Authentication.JwtBearer.md)
|
||||
* [Microsoft.AspNetCore.Authentication.MicrosoftAccount](3.0.0_Microsoft.AspNetCore.Authentication.MicrosoftAccount.md)
|
||||
* [Microsoft.AspNetCore.Authentication.Negotiate](3.0.0_Microsoft.AspNetCore.Authentication.Negotiate.md)
|
||||
* [Microsoft.AspNetCore.Authentication.OAuth](3.0.0_Microsoft.AspNetCore.Authentication.OAuth.md)
|
||||
* [Microsoft.AspNetCore.Authentication.OpenIdConnect](3.0.0_Microsoft.AspNetCore.Authentication.OpenIdConnect.md)
|
||||
* [Microsoft.AspNetCore.Authentication.Twitter](3.0.0_Microsoft.AspNetCore.Authentication.Twitter.md)
|
||||
* [Microsoft.AspNetCore.Authentication.WsFederation](3.0.0_Microsoft.AspNetCore.Authentication.WsFederation.md)
|
||||
* [Microsoft.AspNetCore.Authorization](3.0.0_Microsoft.AspNetCore.Authorization.md)
|
||||
* [Microsoft.AspNetCore.Authorization.Policy](3.0.0_Microsoft.AspNetCore.Authorization.Policy.md)
|
||||
* [Microsoft.AspNetCore.AzureAppServicesIntegration](3.0.0_Microsoft.AspNetCore.AzureAppServicesIntegration.md)
|
||||
* [Microsoft.AspNetCore.Blazor](3.0.0_Microsoft.AspNetCore.Blazor.md)
|
||||
* [Microsoft.AspNetCore.Blazor.HttpClient](3.0.0_Microsoft.AspNetCore.Blazor.HttpClient.md)
|
||||
* [Microsoft.AspNetCore.Blazor.Server](3.0.0_Microsoft.AspNetCore.Blazor.Server.md)
|
||||
* [Microsoft.AspNetCore.Components](3.0.0_Microsoft.AspNetCore.Components.md)
|
||||
* [Microsoft.AspNetCore.Components.Authorization](3.0.0_Microsoft.AspNetCore.Components.Authorization.md)
|
||||
* [Microsoft.AspNetCore.Components.Forms](3.0.0_Microsoft.AspNetCore.Components.Forms.md)
|
||||
* [Microsoft.AspNetCore.Components.Server](3.0.0_Microsoft.AspNetCore.Components.Server.md)
|
||||
* [Microsoft.AspNetCore.Components.Web](3.0.0_Microsoft.AspNetCore.Components.Web.md)
|
||||
* [Microsoft.AspNetCore.ConcurrencyLimiter](3.0.0_Microsoft.AspNetCore.ConcurrencyLimiter.md)
|
||||
* [Microsoft.AspNetCore.Connections.Abstractions](3.0.0_Microsoft.AspNetCore.Connections.Abstractions.md)
|
||||
* [Microsoft.AspNetCore.Cors](3.0.0_Microsoft.AspNetCore.Cors.md)
|
||||
* [Microsoft.AspNetCore.DataProtection](3.0.0_Microsoft.AspNetCore.DataProtection.md)
|
||||
* [Microsoft.AspNetCore.DataProtection.AzureStorage](3.0.0_Microsoft.AspNetCore.DataProtection.AzureStorage.md)
|
||||
* [Microsoft.AspNetCore.DataProtection.SystemWeb](3.0.0_Microsoft.AspNetCore.DataProtection.SystemWeb.md)
|
||||
* [Microsoft.AspNetCore.Diagnostics](3.0.0_Microsoft.AspNetCore.Diagnostics.md)
|
||||
* [Microsoft.AspNetCore.Diagnostics.Abstractions](3.0.0_Microsoft.AspNetCore.Diagnostics.Abstractions.md)
|
||||
* [Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore](3.0.0_Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.md)
|
||||
* [Microsoft.AspNetCore.Diagnostics.HealthChecks](3.0.0_Microsoft.AspNetCore.Diagnostics.HealthChecks.md)
|
||||
* [Microsoft.AspNetCore.HeaderPropagation](3.0.0_Microsoft.AspNetCore.HeaderPropagation.md)
|
||||
* [Microsoft.AspNetCore.Hosting](3.0.0_Microsoft.AspNetCore.Hosting.md)
|
||||
* [Microsoft.AspNetCore.Hosting.Abstractions](3.0.0_Microsoft.AspNetCore.Hosting.Abstractions.md)
|
||||
* [Microsoft.AspNetCore.Hosting.Server.Abstractions](3.0.0_Microsoft.AspNetCore.Hosting.Server.Abstractions.md)
|
||||
* [Microsoft.AspNetCore.Http](3.0.0_Microsoft.AspNetCore.Http.md)
|
||||
* [Microsoft.AspNetCore.Http.Abstractions](3.0.0_Microsoft.AspNetCore.Http.Abstractions.md)
|
||||
* [Microsoft.AspNetCore.Http.Connections](3.0.0_Microsoft.AspNetCore.Http.Connections.md)
|
||||
* [Microsoft.AspNetCore.Http.Connections.Client](3.0.0_Microsoft.AspNetCore.Http.Connections.Client.md)
|
||||
* [Microsoft.AspNetCore.Http.Connections.Common](3.0.0_Microsoft.AspNetCore.Http.Connections.Common.md)
|
||||
* [Microsoft.AspNetCore.Http.Extensions](3.0.0_Microsoft.AspNetCore.Http.Extensions.md)
|
||||
* [Microsoft.AspNetCore.Http.Features](3.0.0_Microsoft.AspNetCore.Http.Features.md)
|
||||
* [Microsoft.AspNetCore.HttpOverrides](3.0.0_Microsoft.AspNetCore.HttpOverrides.md)
|
||||
* [Microsoft.AspNetCore.Identity](3.0.0_Microsoft.AspNetCore.Identity.md)
|
||||
* [Microsoft.AspNetCore.Identity.EntityFrameworkCore](3.0.0_Microsoft.AspNetCore.Identity.EntityFrameworkCore.md)
|
||||
* [Microsoft.AspNetCore.Identity.Specification.Tests](3.0.0_Microsoft.AspNetCore.Identity.Specification.Tests.md)
|
||||
* [Microsoft.AspNetCore.Identity.UI](3.0.0_Microsoft.AspNetCore.Identity.UI.md)
|
||||
* [Microsoft.AspNetCore.Identity.UI.Views.V3](3.0.0_Microsoft.AspNetCore.Identity.UI.Views.V3.md)
|
||||
* [Microsoft.AspNetCore.Identity.UI.Views.V4](3.0.0_Microsoft.AspNetCore.Identity.UI.Views.V4.md)
|
||||
* [Microsoft.AspNetCore.JsonPatch](3.0.0_Microsoft.AspNetCore.JsonPatch.md)
|
||||
* [Microsoft.AspNetCore.Localization](3.0.0_Microsoft.AspNetCore.Localization.md)
|
||||
* [Microsoft.AspNetCore.Metadata](3.0.0_Microsoft.AspNetCore.Metadata.md)
|
||||
* [Microsoft.AspNetCore.Mvc](3.0.0_Microsoft.AspNetCore.Mvc.md)
|
||||
* [Microsoft.AspNetCore.Mvc.Abstractions](3.0.0_Microsoft.AspNetCore.Mvc.Abstractions.md)
|
||||
* [Microsoft.AspNetCore.Mvc.ApiExplorer](3.0.0_Microsoft.AspNetCore.Mvc.ApiExplorer.md)
|
||||
* [Microsoft.AspNetCore.Mvc.Components.Prerendering](3.0.0_Microsoft.AspNetCore.Mvc.Components.Prerendering.md)
|
||||
* [Microsoft.AspNetCore.Mvc.Core](3.0.0_Microsoft.AspNetCore.Mvc.Core.md)
|
||||
* [Microsoft.AspNetCore.Mvc.Cors](3.0.0_Microsoft.AspNetCore.Mvc.Cors.md)
|
||||
* [Microsoft.AspNetCore.Mvc.DataAnnotations](3.0.0_Microsoft.AspNetCore.Mvc.DataAnnotations.md)
|
||||
* [Microsoft.AspNetCore.Mvc.Formatters.Json](3.0.0_Microsoft.AspNetCore.Mvc.Formatters.Json.md)
|
||||
* [Microsoft.AspNetCore.Mvc.Formatters.Xml](3.0.0_Microsoft.AspNetCore.Mvc.Formatters.Xml.md)
|
||||
* [Microsoft.AspNetCore.Mvc.Localization](3.0.0_Microsoft.AspNetCore.Mvc.Localization.md)
|
||||
* [Microsoft.AspNetCore.Mvc.NewtonsoftJson](3.0.0_Microsoft.AspNetCore.Mvc.NewtonsoftJson.md)
|
||||
* [Microsoft.AspNetCore.Mvc.Razor](3.0.0_Microsoft.AspNetCore.Mvc.Razor.md)
|
||||
* [Microsoft.AspNetCore.Mvc.Razor.Extensions](3.0.0_Microsoft.AspNetCore.Mvc.Razor.Extensions.md)
|
||||
* [Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation](3.0.0_Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.md)
|
||||
* [Microsoft.AspNetCore.Mvc.RazorPages](3.0.0_Microsoft.AspNetCore.Mvc.RazorPages.md)
|
||||
* [Microsoft.AspNetCore.Mvc.TagHelpers](3.0.0_Microsoft.AspNetCore.Mvc.TagHelpers.md)
|
||||
* [Microsoft.AspNetCore.Mvc.Testing](3.0.0_Microsoft.AspNetCore.Mvc.Testing.md)
|
||||
* [Microsoft.AspNetCore.Mvc.ViewFeatures](3.0.0_Microsoft.AspNetCore.Mvc.ViewFeatures.md)
|
||||
* [Microsoft.AspNetCore.Mvc.WebApiCompatShim](3.0.0_Microsoft.AspNetCore.Mvc.WebApiCompatShim.md)
|
||||
* [Microsoft.AspNetCore.Owin](3.0.0_Microsoft.AspNetCore.Owin.md)
|
||||
* [Microsoft.AspNetCore.Razor](3.0.0_Microsoft.AspNetCore.Razor.md)
|
||||
* [Microsoft.AspNetCore.Razor.Language](3.0.0_Microsoft.AspNetCore.Razor.Language.md)
|
||||
* [Microsoft.AspNetCore.ResponseCaching](3.0.0_Microsoft.AspNetCore.ResponseCaching.md)
|
||||
* [Microsoft.AspNetCore.Rewrite](3.0.0_Microsoft.AspNetCore.Rewrite.md)
|
||||
* [Microsoft.AspNetCore.Routing](3.0.0_Microsoft.AspNetCore.Routing.md)
|
||||
* [Microsoft.AspNetCore.Routing.Abstractions](3.0.0_Microsoft.AspNetCore.Routing.Abstractions.md)
|
||||
* [Microsoft.AspNetCore.Server.HttpSys](3.0.0_Microsoft.AspNetCore.Server.HttpSys.md)
|
||||
* [Microsoft.AspNetCore.Server.IIS](3.0.0_Microsoft.AspNetCore.Server.IIS.md)
|
||||
* [Microsoft.AspNetCore.Server.IISIntegration](3.0.0_Microsoft.AspNetCore.Server.IISIntegration.md)
|
||||
* [Microsoft.AspNetCore.Server.Kestrel.Core](3.0.0_Microsoft.AspNetCore.Server.Kestrel.Core.md)
|
||||
* [Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions](3.0.0_Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.md)
|
||||
* [Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv](3.0.0_Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.md)
|
||||
* [Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets](3.0.0_Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.md)
|
||||
* [Microsoft.AspNetCore.Session](3.0.0_Microsoft.AspNetCore.Session.md)
|
||||
* [Microsoft.AspNetCore.SignalR](3.0.0_Microsoft.AspNetCore.SignalR.md)
|
||||
* [Microsoft.AspNetCore.SignalR.Client](3.0.0_Microsoft.AspNetCore.SignalR.Client.md)
|
||||
* [Microsoft.AspNetCore.SignalR.Client.Core](3.0.0_Microsoft.AspNetCore.SignalR.Client.Core.md)
|
||||
* [Microsoft.AspNetCore.SignalR.Common](3.0.0_Microsoft.AspNetCore.SignalR.Common.md)
|
||||
* [Microsoft.AspNetCore.SignalR.Core](3.0.0_Microsoft.AspNetCore.SignalR.Core.md)
|
||||
* [Microsoft.AspNetCore.SignalR.Protocols.Json](3.0.0_Microsoft.AspNetCore.SignalR.Protocols.Json.md)
|
||||
* [Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson](3.0.0_Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson.md)
|
||||
* [Microsoft.AspNetCore.SignalR.Redis](3.0.0_Microsoft.AspNetCore.SignalR.Redis.md)
|
||||
* [Microsoft.AspNetCore.SignalR.StackExchangeRedis](3.0.0_Microsoft.AspNetCore.SignalR.StackExchangeRedis.md)
|
||||
* [Microsoft.AspNetCore.StaticFiles](3.0.0_Microsoft.AspNetCore.StaticFiles.md)
|
||||
* [Microsoft.AspNetCore.TestHost](3.0.0_Microsoft.AspNetCore.TestHost.md)
|
||||
* [Microsoft.AspNetCore.WebSockets](3.0.0_Microsoft.AspNetCore.WebSockets.md)
|
||||
* [Microsoft.AspNetCore.WebUtilities](3.0.0_Microsoft.AspNetCore.WebUtilities.md)
|
||||
* [Microsoft.CodeAnalysis.Razor](3.0.0_Microsoft.CodeAnalysis.Razor.md)
|
||||
* [Microsoft.Extensions.Caching.Memory](3.0.0_Microsoft.Extensions.Caching.Memory.md)
|
||||
* [Microsoft.Extensions.Configuration](3.0.0_Microsoft.Extensions.Configuration.md)
|
||||
* [Microsoft.Extensions.Configuration.Abstractions](3.0.0_Microsoft.Extensions.Configuration.Abstractions.md)
|
||||
* [Microsoft.Extensions.Configuration.AzureKeyVault](3.0.0_Microsoft.Extensions.Configuration.AzureKeyVault.md)
|
||||
* [Microsoft.Extensions.Configuration.FileExtensions](3.0.0_Microsoft.Extensions.Configuration.FileExtensions.md)
|
||||
* [Microsoft.Extensions.Configuration.Ini](3.0.0_Microsoft.Extensions.Configuration.Ini.md)
|
||||
* [Microsoft.Extensions.Configuration.Json](3.0.0_Microsoft.Extensions.Configuration.Json.md)
|
||||
* [Microsoft.Extensions.Configuration.KeyPerFile](3.0.0_Microsoft.Extensions.Configuration.KeyPerFile.md)
|
||||
* [Microsoft.Extensions.Configuration.NewtonsoftJson](3.0.0_Microsoft.Extensions.Configuration.NewtonsoftJson.md)
|
||||
* [Microsoft.Extensions.Configuration.UserSecrets](3.0.0_Microsoft.Extensions.Configuration.UserSecrets.md)
|
||||
* [Microsoft.Extensions.Configuration.Xml](3.0.0_Microsoft.Extensions.Configuration.Xml.md)
|
||||
* [Microsoft.Extensions.DependencyInjection](3.0.0_Microsoft.Extensions.DependencyInjection.md)
|
||||
* [Microsoft.Extensions.DependencyInjection.Abstractions](3.0.0_Microsoft.Extensions.DependencyInjection.Abstractions.md)
|
||||
* [Microsoft.Extensions.DependencyInjection.Specification.Tests](3.0.0_Microsoft.Extensions.DependencyInjection.Specification.Tests.md)
|
||||
* [Microsoft.Extensions.DependencyModel](3.0.0_Microsoft.Extensions.DependencyModel.md)
|
||||
* [Microsoft.Extensions.Diagnostics.HealthChecks](3.0.0_Microsoft.Extensions.Diagnostics.HealthChecks.md)
|
||||
* [Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions](3.0.0_Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.md)
|
||||
* [Microsoft.Extensions.Hosting](3.0.0_Microsoft.Extensions.Hosting.md)
|
||||
* [Microsoft.Extensions.Hosting.Abstractions](3.0.0_Microsoft.Extensions.Hosting.Abstractions.md)
|
||||
* [Microsoft.Extensions.Hosting.Systemd](3.0.0_Microsoft.Extensions.Hosting.Systemd.md)
|
||||
* [Microsoft.Extensions.Hosting.WindowsServices](3.0.0_Microsoft.Extensions.Hosting.WindowsServices.md)
|
||||
* [Microsoft.Extensions.Http.Polly](3.0.0_Microsoft.Extensions.Http.Polly.md)
|
||||
* [Microsoft.Extensions.Identity.Core](3.0.0_Microsoft.Extensions.Identity.Core.md)
|
||||
* [Microsoft.Extensions.Localization.Abstractions](3.0.0_Microsoft.Extensions.Localization.Abstractions.md)
|
||||
* [Microsoft.Extensions.Logging](3.0.0_Microsoft.Extensions.Logging.md)
|
||||
* [Microsoft.Extensions.Logging.Abstractions](3.0.0_Microsoft.Extensions.Logging.Abstractions.md)
|
||||
* [Microsoft.Extensions.Logging.AzureAppServices](3.0.0_Microsoft.Extensions.Logging.AzureAppServices.md)
|
||||
* [Microsoft.Extensions.Logging.Configuration](3.0.0_Microsoft.Extensions.Logging.Configuration.md)
|
||||
* [Microsoft.Extensions.Logging.Console](3.0.0_Microsoft.Extensions.Logging.Console.md)
|
||||
* [Microsoft.Extensions.Logging.Debug](3.0.0_Microsoft.Extensions.Logging.Debug.md)
|
||||
* [Microsoft.Extensions.Logging.EventLog](3.0.0_Microsoft.Extensions.Logging.EventLog.md)
|
||||
* [Microsoft.Extensions.Logging.EventSource](3.0.0_Microsoft.Extensions.Logging.EventSource.md)
|
||||
* [Microsoft.Extensions.Logging.TraceSource](3.0.0_Microsoft.Extensions.Logging.TraceSource.md)
|
||||
* [Microsoft.Extensions.ObjectPool](3.0.0_Microsoft.Extensions.ObjectPool.md)
|
||||
* [Microsoft.Extensions.Options](3.0.0_Microsoft.Extensions.Options.md)
|
||||
* [Microsoft.JSInterop](3.0.0_Microsoft.JSInterop.md)
|
||||
* [Mono.WebAssembly.Interop](3.0.0_Mono.WebAssembly.Interop.md)
|
|
@ -0,0 +1,240 @@
|
|||
# Microsoft.AspNetCore.Antiforgery
|
||||
|
||||
``` diff
|
||||
{
|
||||
namespace Microsoft.AspNetCore.Antiforgery {
|
||||
public class AntiforgeryOptions {
|
||||
- public string CookieDomain { get; set; }
|
||||
|
||||
- public string CookieName { get; set; }
|
||||
|
||||
- public PathString? CookiePath { get; set; }
|
||||
|
||||
- public bool RequireSsl { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
- namespace Microsoft.AspNetCore.Antiforgery.Internal {
|
||||
{
|
||||
- public class AntiforgeryFeature : IAntiforgeryFeature {
|
||||
{
|
||||
- public AntiforgeryFeature();
|
||||
|
||||
- public AntiforgeryToken CookieToken { get; set; }
|
||||
|
||||
- public bool HaveDeserializedCookieToken { get; set; }
|
||||
|
||||
- public bool HaveDeserializedRequestToken { get; set; }
|
||||
|
||||
- public bool HaveGeneratedNewCookieToken { get; set; }
|
||||
|
||||
- public bool HaveStoredNewCookieToken { get; set; }
|
||||
|
||||
- public AntiforgeryToken NewCookieToken { get; set; }
|
||||
|
||||
- public string NewCookieTokenString { get; set; }
|
||||
|
||||
- public AntiforgeryToken NewRequestToken { get; set; }
|
||||
|
||||
- public string NewRequestTokenString { get; set; }
|
||||
|
||||
- public AntiforgeryToken RequestToken { get; set; }
|
||||
|
||||
- }
|
||||
- public class AntiforgeryOptionsSetup : ConfigureOptions<AntiforgeryOptions> {
|
||||
{
|
||||
- public AntiforgeryOptionsSetup(IOptions<DataProtectionOptions> dataProtectionOptionsAccessor);
|
||||
|
||||
- public static void ConfigureOptions(AntiforgeryOptions options, DataProtectionOptions dataProtectionOptions);
|
||||
|
||||
- }
|
||||
- public class AntiforgerySerializationContext {
|
||||
{
|
||||
- public AntiforgerySerializationContext();
|
||||
|
||||
- public BinaryReader Reader { get; private set; }
|
||||
|
||||
- public SHA256 Sha256 { get; private set; }
|
||||
|
||||
- public MemoryStream Stream { get; private set; }
|
||||
|
||||
- public BinaryWriter Writer { get; private set; }
|
||||
|
||||
- public char[] GetChars(int count);
|
||||
|
||||
- public void Reset();
|
||||
|
||||
- }
|
||||
- public class AntiforgerySerializationContextPooledObjectPolicy : IPooledObjectPolicy<AntiforgerySerializationContext> {
|
||||
{
|
||||
- public AntiforgerySerializationContextPooledObjectPolicy();
|
||||
|
||||
- public AntiforgerySerializationContext Create();
|
||||
|
||||
- public bool Return(AntiforgerySerializationContext obj);
|
||||
|
||||
- }
|
||||
- public sealed class AntiforgeryToken {
|
||||
{
|
||||
- public AntiforgeryToken();
|
||||
|
||||
- public string AdditionalData { get; set; }
|
||||
|
||||
- public BinaryBlob ClaimUid { get; set; }
|
||||
|
||||
- public bool IsCookieToken { get; set; }
|
||||
|
||||
- public BinaryBlob SecurityToken { get; set; }
|
||||
|
||||
- public string Username { get; set; }
|
||||
|
||||
- }
|
||||
- public sealed class BinaryBlob : IEquatable<BinaryBlob> {
|
||||
{
|
||||
- public BinaryBlob(int bitLength);
|
||||
|
||||
- public BinaryBlob(int bitLength, byte[] data);
|
||||
|
||||
- public int BitLength { get; }
|
||||
|
||||
- public bool Equals(BinaryBlob other);
|
||||
|
||||
- public override bool Equals(object obj);
|
||||
|
||||
- public byte[] GetData();
|
||||
|
||||
- public override int GetHashCode();
|
||||
|
||||
- }
|
||||
- public static class CryptographyAlgorithms {
|
||||
{
|
||||
- public static SHA256 CreateSHA256();
|
||||
|
||||
- }
|
||||
- public class DefaultAntiforgery : IAntiforgery {
|
||||
{
|
||||
- public DefaultAntiforgery(IOptions<AntiforgeryOptions> antiforgeryOptionsAccessor, IAntiforgeryTokenGenerator tokenGenerator, IAntiforgeryTokenSerializer tokenSerializer, IAntiforgeryTokenStore tokenStore, ILoggerFactory loggerFactory);
|
||||
|
||||
- public AntiforgeryTokenSet GetAndStoreTokens(HttpContext httpContext);
|
||||
|
||||
- public AntiforgeryTokenSet GetTokens(HttpContext httpContext);
|
||||
|
||||
- public Task<bool> IsRequestValidAsync(HttpContext httpContext);
|
||||
|
||||
- public void SetCookieTokenAndHeader(HttpContext httpContext);
|
||||
|
||||
- protected virtual void SetDoNotCacheHeaders(HttpContext httpContext);
|
||||
|
||||
- public Task ValidateRequestAsync(HttpContext httpContext);
|
||||
|
||||
- }
|
||||
- public class DefaultAntiforgeryAdditionalDataProvider : IAntiforgeryAdditionalDataProvider {
|
||||
{
|
||||
- public DefaultAntiforgeryAdditionalDataProvider();
|
||||
|
||||
- public virtual string GetAdditionalData(HttpContext context);
|
||||
|
||||
- public virtual bool ValidateAdditionalData(HttpContext context, string additionalData);
|
||||
|
||||
- }
|
||||
- public class DefaultAntiforgeryTokenGenerator : IAntiforgeryTokenGenerator {
|
||||
{
|
||||
- public DefaultAntiforgeryTokenGenerator(IClaimUidExtractor claimUidExtractor, IAntiforgeryAdditionalDataProvider additionalDataProvider);
|
||||
|
||||
- public AntiforgeryToken GenerateCookieToken();
|
||||
|
||||
- public AntiforgeryToken GenerateRequestToken(HttpContext httpContext, AntiforgeryToken cookieToken);
|
||||
|
||||
- public bool IsCookieTokenValid(AntiforgeryToken cookieToken);
|
||||
|
||||
- public bool TryValidateTokenSet(HttpContext httpContext, AntiforgeryToken cookieToken, AntiforgeryToken requestToken, out string message);
|
||||
|
||||
- }
|
||||
- public class DefaultAntiforgeryTokenSerializer : IAntiforgeryTokenSerializer {
|
||||
{
|
||||
- public DefaultAntiforgeryTokenSerializer(IDataProtectionProvider provider, ObjectPool<AntiforgerySerializationContext> pool);
|
||||
|
||||
- public AntiforgeryToken Deserialize(string serializedToken);
|
||||
|
||||
- public string Serialize(AntiforgeryToken token);
|
||||
|
||||
- }
|
||||
- public class DefaultAntiforgeryTokenStore : IAntiforgeryTokenStore {
|
||||
{
|
||||
- public DefaultAntiforgeryTokenStore(IOptions<AntiforgeryOptions> optionsAccessor);
|
||||
|
||||
- public string GetCookieToken(HttpContext httpContext);
|
||||
|
||||
- public Task<AntiforgeryTokenSet> GetRequestTokensAsync(HttpContext httpContext);
|
||||
|
||||
- public void SaveCookieToken(HttpContext httpContext, string token);
|
||||
|
||||
- }
|
||||
- public class DefaultClaimUidExtractor : IClaimUidExtractor {
|
||||
{
|
||||
- public DefaultClaimUidExtractor(ObjectPool<AntiforgerySerializationContext> pool);
|
||||
|
||||
- public string ExtractClaimUid(ClaimsPrincipal claimsPrincipal);
|
||||
|
||||
- public static IList<string> GetUniqueIdentifierParameters(IEnumerable<ClaimsIdentity> claimsIdentities);
|
||||
|
||||
- }
|
||||
- public interface IAntiforgeryFeature {
|
||||
{
|
||||
- AntiforgeryToken CookieToken { get; set; }
|
||||
|
||||
- bool HaveDeserializedCookieToken { get; set; }
|
||||
|
||||
- bool HaveDeserializedRequestToken { get; set; }
|
||||
|
||||
- bool HaveGeneratedNewCookieToken { get; set; }
|
||||
|
||||
- bool HaveStoredNewCookieToken { get; set; }
|
||||
|
||||
- AntiforgeryToken NewCookieToken { get; set; }
|
||||
|
||||
- string NewCookieTokenString { get; set; }
|
||||
|
||||
- AntiforgeryToken NewRequestToken { get; set; }
|
||||
|
||||
- string NewRequestTokenString { get; set; }
|
||||
|
||||
- AntiforgeryToken RequestToken { get; set; }
|
||||
|
||||
- }
|
||||
- public interface IAntiforgeryTokenGenerator {
|
||||
{
|
||||
- AntiforgeryToken GenerateCookieToken();
|
||||
|
||||
- AntiforgeryToken GenerateRequestToken(HttpContext httpContext, AntiforgeryToken cookieToken);
|
||||
|
||||
- bool IsCookieTokenValid(AntiforgeryToken cookieToken);
|
||||
|
||||
- bool TryValidateTokenSet(HttpContext httpContext, AntiforgeryToken cookieToken, AntiforgeryToken requestToken, out string message);
|
||||
|
||||
- }
|
||||
- public interface IAntiforgeryTokenSerializer {
|
||||
{
|
||||
- AntiforgeryToken Deserialize(string serializedToken);
|
||||
|
||||
- string Serialize(AntiforgeryToken token);
|
||||
|
||||
- }
|
||||
- public interface IAntiforgeryTokenStore {
|
||||
{
|
||||
- string GetCookieToken(HttpContext httpContext);
|
||||
|
||||
- Task<AntiforgeryTokenSet> GetRequestTokensAsync(HttpContext httpContext);
|
||||
|
||||
- void SaveCookieToken(HttpContext httpContext, string token);
|
||||
|
||||
- }
|
||||
- public interface IClaimUidExtractor {
|
||||
{
|
||||
- string ExtractClaimUid(ClaimsPrincipal claimsPrincipal);
|
||||
|
||||
- }
|
||||
- }
|
||||
}
|
||||
```
|
||||
|
|
@ -0,0 +1,142 @@
|
|||
# Microsoft.AspNetCore.ApiAuthorization.IdentityServer
|
||||
|
||||
``` diff
|
||||
{
|
||||
+ namespace Microsoft.AspNetCore.ApiAuthorization.IdentityServer {
|
||||
+ public class ApiAuthorizationDbContext<TUser> : IdentityDbContext<TUser>, IDisposable, IPersistedGrantDbContext where TUser : IdentityUser {
|
||||
+ public ApiAuthorizationDbContext(DbContextOptions options, IOptions<OperationalStoreOptions> operationalStoreOptions);
|
||||
+ public DbSet<DeviceFlowCodes> DeviceFlowCodes { get; set; }
|
||||
+ public DbSet<PersistedGrant> PersistedGrants { get; set; }
|
||||
+ Task<int> IdentityServer4.EntityFramework.Interfaces.IPersistedGrantDbContext.SaveChangesAsync();
|
||||
+ protected override void OnModelCreating(ModelBuilder builder);
|
||||
+ }
|
||||
+ public class ApiAuthorizationOptions {
|
||||
+ public ApiAuthorizationOptions();
|
||||
+ public ApiResourceCollection ApiResources { get; set; }
|
||||
+ public ClientCollection Clients { get; set; }
|
||||
+ public IdentityResourceCollection IdentityResources { get; set; }
|
||||
+ public SigningCredentials SigningCredential { get; set; }
|
||||
+ }
|
||||
+ public class ApiResourceBuilder {
|
||||
+ public ApiResourceBuilder();
|
||||
+ public ApiResourceBuilder(ApiResource resource);
|
||||
+ public ApiResourceBuilder AllowAllClients();
|
||||
+ public static ApiResourceBuilder ApiResource(string name);
|
||||
+ public ApiResource Build();
|
||||
+ public static ApiResourceBuilder IdentityServerJwt(string name);
|
||||
+ public ApiResourceBuilder ReplaceScopes(params string[] resourceScopes);
|
||||
+ public ApiResourceBuilder WithApplicationProfile(string profile);
|
||||
+ public ApiResourceBuilder WithScopes(params string[] resourceScopes);
|
||||
+ }
|
||||
+ public class ApiResourceCollection : Collection<ApiResource> {
|
||||
+ public ApiResourceCollection();
|
||||
+ public ApiResourceCollection(IList<ApiResource> list);
|
||||
+ public ApiResource this[string key] { get; }
|
||||
+ public void AddApiResource(string name, Action<ApiResourceBuilder> configure);
|
||||
+ public void AddIdentityServerJwt(string name, Action<ApiResourceBuilder> configure);
|
||||
+ public void AddRange(params ApiResource[] resources);
|
||||
+ }
|
||||
+ public static class ApplicationProfiles {
|
||||
+ public const string API = "API";
|
||||
+ public const string IdentityServerJwt = "IdentityServerJwt";
|
||||
+ public const string IdentityServerSPA = "IdentityServerSPA";
|
||||
+ public const string NativeApp = "NativeApp";
|
||||
+ public const string SPA = "SPA";
|
||||
+ }
|
||||
+ public static class ApplicationProfilesPropertyNames {
|
||||
+ public const string Clients = "Clients";
|
||||
+ public const string Profile = "Profile";
|
||||
+ public const string Source = "Source";
|
||||
+ }
|
||||
+ public static class ApplicationProfilesPropertyValues {
|
||||
+ public const string AllowAllApplications = "*";
|
||||
+ public const string Configuration = "Configuration";
|
||||
+ public const string Default = "Default";
|
||||
+ }
|
||||
+ public class ClientBuilder {
|
||||
+ public ClientBuilder();
|
||||
+ public ClientBuilder(Client client);
|
||||
+ public Client Build();
|
||||
+ public static ClientBuilder IdentityServerSPA(string clientId);
|
||||
+ public static ClientBuilder NativeApp(string clientId);
|
||||
+ public static ClientBuilder SPA(string clientId);
|
||||
+ public ClientBuilder WithApplicationProfile(string profile);
|
||||
+ public ClientBuilder WithClientId(string clientId);
|
||||
+ public ClientBuilder WithLogoutRedirectUri(string logoutUri);
|
||||
+ public ClientBuilder WithoutClientSecrets();
|
||||
+ public ClientBuilder WithRedirectUri(string redirectUri);
|
||||
+ public ClientBuilder WithScopes(params string[] scopes);
|
||||
+ }
|
||||
+ public class ClientCollection : Collection<Client> {
|
||||
+ public ClientCollection();
|
||||
+ public ClientCollection(IList<Client> list);
|
||||
+ public Client this[string key] { get; }
|
||||
+ public void AddIdentityServerSPA(string clientId, Action<ClientBuilder> configure);
|
||||
+ public void AddNativeApp(string clientId, Action<ClientBuilder> configure);
|
||||
+ public void AddRange(params Client[] clients);
|
||||
+ public void AddSPA(string clientId, Action<ClientBuilder> configure);
|
||||
+ }
|
||||
+ public class ClientParametersTagHelper : TagHelper {
|
||||
+ public ClientParametersTagHelper(IClientRequestParametersProvider clientRequestParametersProvider);
|
||||
+ public string ClientId { get; set; }
|
||||
+ public ViewContext ViewContext { get; set; }
|
||||
+ public override void Process(TagHelperContext context, TagHelperOutput output);
|
||||
+ }
|
||||
+ public interface IClientRequestParametersProvider {
|
||||
+ IDictionary<string, string> GetClientParameters(HttpContext context, string clientId);
|
||||
+ }
|
||||
+ public class IdentityResourceBuilder {
|
||||
+ public IdentityResourceBuilder();
|
||||
+ public IdentityResourceBuilder(IdentityResource resource);
|
||||
+ public static IdentityResourceBuilder Address();
|
||||
+ public IdentityResourceBuilder AllowAllClients();
|
||||
+ public IdentityResource Build();
|
||||
+ public static IdentityResourceBuilder Email();
|
||||
+ public static IdentityResourceBuilder OpenId();
|
||||
+ public static IdentityResourceBuilder Phone();
|
||||
+ public static IdentityResourceBuilder Profile();
|
||||
+ }
|
||||
+ public class IdentityResourceCollection : Collection<IdentityResource> {
|
||||
+ public IdentityResourceCollection();
|
||||
+ public IdentityResourceCollection(IList<IdentityResource> list);
|
||||
+ public IdentityResource this[string key] { get; }
|
||||
+ public void AddAddress();
|
||||
+ public void AddAddress(Action<IdentityResourceBuilder> configure);
|
||||
+ public void AddEmail();
|
||||
+ public void AddEmail(Action<IdentityResourceBuilder> configure);
|
||||
+ public void AddOpenId();
|
||||
+ public void AddOpenId(Action<IdentityResourceBuilder> configure);
|
||||
+ public void AddPhone();
|
||||
+ public void AddPhone(Action<IdentityResourceBuilder> configure);
|
||||
+ public void AddProfile();
|
||||
+ public void AddProfile(Action<IdentityResourceBuilder> configure);
|
||||
+ public void AddRange(params IdentityResource[] identityResources);
|
||||
+ }
|
||||
+ public class IdentityServerJwtConstants {
|
||||
+ public const string IdentityServerJwtBearerScheme = "IdentityServerJwtBearer";
|
||||
+ public const string IdentityServerJwtScheme = "IdentityServerJwt";
|
||||
+ public IdentityServerJwtConstants();
|
||||
+ }
|
||||
+ }
|
||||
+ namespace Microsoft.AspNetCore.Authentication {
|
||||
+ public static class AuthenticationBuilderExtensions {
|
||||
+ public static AuthenticationBuilder AddIdentityServerJwt(this AuthenticationBuilder builder);
|
||||
+ }
|
||||
+ }
|
||||
+ namespace Microsoft.Extensions.DependencyInjection {
|
||||
+ public static class IdentityServerBuilderConfigurationExtensions {
|
||||
+ public static IIdentityServerBuilder AddApiAuthorization<TUser, TContext>(this IIdentityServerBuilder builder) where TUser : class where TContext : DbContext, IPersistedGrantDbContext;
|
||||
+ public static IIdentityServerBuilder AddApiAuthorization<TUser, TContext>(this IIdentityServerBuilder builder, Action<ApiAuthorizationOptions> configure) where TUser : class where TContext : DbContext, IPersistedGrantDbContext;
|
||||
+ public static IIdentityServerBuilder AddApiResources(this IIdentityServerBuilder builder);
|
||||
+ public static IIdentityServerBuilder AddApiResources(this IIdentityServerBuilder builder, IConfiguration configuration);
|
||||
+ public static IIdentityServerBuilder AddClients(this IIdentityServerBuilder builder);
|
||||
+ public static IIdentityServerBuilder AddClients(this IIdentityServerBuilder builder, IConfiguration configuration);
|
||||
+ public static IIdentityServerBuilder AddIdentityResources(this IIdentityServerBuilder builder);
|
||||
+ public static IIdentityServerBuilder AddIdentityResources(this IIdentityServerBuilder builder, IConfiguration configuration);
|
||||
+ public static IIdentityServerBuilder AddSigningCredentials(this IIdentityServerBuilder builder);
|
||||
+ public static IIdentityServerBuilder AddSigningCredentials(this IIdentityServerBuilder builder, IConfiguration configuration);
|
||||
+ }
|
||||
+ }
|
||||
+}
|
||||
```
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
# Microsoft.AspNetCore.Authentication.Abstractions
|
||||
|
||||
``` diff
|
||||
{
|
||||
namespace Microsoft.AspNetCore.Authentication {
|
||||
public class AuthenticationOptions {
|
||||
+ public bool RequireAuthenticatedSignIn { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
# Microsoft.AspNetCore.Authentication.AzureAD.UI.Views
|
||||
|
||||
``` diff
|
||||
{
|
||||
namespace AspNetCore {
|
||||
public class Areas_AzureAD_Pages__ViewStart : RazorPage<object> {
|
||||
- public IHostingEnvironment Environment { get; private set; }
|
||||
+ public IWebHostEnvironment Environment { get; private set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
# Microsoft.AspNetCore.Authentication.AzureAD.UI
|
||||
|
||||
``` diff
|
||||
{
|
||||
namespace Microsoft.AspNetCore.Authentication.AzureAD.UI {
|
||||
public static class AzureADDefaults {
|
||||
- public static readonly string AuthenticationScheme;
|
||||
+ public const string AuthenticationScheme = "AzureAD";
|
||||
- public static readonly string BearerAuthenticationScheme;
|
||||
+ public const string BearerAuthenticationScheme = "AzureADBearer";
|
||||
- public static readonly string CookieScheme;
|
||||
+ public const string CookieScheme = "AzureADCookie";
|
||||
- public static readonly string JwtBearerAuthenticationScheme;
|
||||
+ public const string JwtBearerAuthenticationScheme = "AzureADJwtBearer";
|
||||
- public static readonly string OpenIdScheme;
|
||||
+ public const string OpenIdScheme = "AzureADOpenID";
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
# Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Views
|
||||
|
||||
``` diff
|
||||
{
|
||||
namespace AspNetCore {
|
||||
public class Areas_AzureADB2C_Pages__ViewStart : RazorPage<object> {
|
||||
- public IHostingEnvironment Environment { get; private set; }
|
||||
+ public IWebHostEnvironment Environment { get; private set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
# Microsoft.AspNetCore.Authentication.AzureADB2C.UI
|
||||
|
||||
``` diff
|
||||
{
|
||||
namespace Microsoft.AspNetCore.Authentication.AzureADB2C.UI {
|
||||
public static class AzureADB2CDefaults {
|
||||
- public static readonly string AuthenticationScheme;
|
||||
+ public const string AuthenticationScheme = "AzureADB2C";
|
||||
- public static readonly string BearerAuthenticationScheme;
|
||||
+ public const string BearerAuthenticationScheme = "AzureADB2CBearer";
|
||||
- public static readonly string CookieScheme;
|
||||
+ public const string CookieScheme = "AzureADB2CCookie";
|
||||
- public static readonly string JwtBearerAuthenticationScheme;
|
||||
+ public const string JwtBearerAuthenticationScheme = "AzureADB2CJwtBearer";
|
||||
- public static readonly string OpenIdScheme;
|
||||
+ public const string OpenIdScheme = "AzureADB2COpenID";
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
@ -0,0 +1,52 @@
|
|||
# Microsoft.AspNetCore.Authentication.Certificate
|
||||
|
||||
``` diff
|
||||
{
|
||||
+ namespace Microsoft.AspNetCore.Authentication.Certificate {
|
||||
+ public static class CertificateAuthenticationDefaults {
|
||||
+ public const string AuthenticationScheme = "Certificate";
|
||||
+ }
|
||||
+ public class CertificateAuthenticationEvents {
|
||||
+ public CertificateAuthenticationEvents();
|
||||
+ public Func<CertificateAuthenticationFailedContext, Task> OnAuthenticationFailed { get; set; }
|
||||
+ public Func<CertificateValidatedContext, Task> OnCertificateValidated { get; set; }
|
||||
+ public virtual Task AuthenticationFailed(CertificateAuthenticationFailedContext context);
|
||||
+ public virtual Task CertificateValidated(CertificateValidatedContext context);
|
||||
+ }
|
||||
+ public class CertificateAuthenticationFailedContext : ResultContext<CertificateAuthenticationOptions> {
|
||||
+ public CertificateAuthenticationFailedContext(HttpContext context, AuthenticationScheme scheme, CertificateAuthenticationOptions options);
|
||||
+ public Exception Exception { get; set; }
|
||||
+ }
|
||||
+ public class CertificateAuthenticationOptions : AuthenticationSchemeOptions {
|
||||
+ public CertificateAuthenticationOptions();
|
||||
+ public CertificateTypes AllowedCertificateTypes { get; set; }
|
||||
+ public new CertificateAuthenticationEvents Events { get; set; }
|
||||
+ public X509RevocationFlag RevocationFlag { get; set; }
|
||||
+ public X509RevocationMode RevocationMode { get; set; }
|
||||
+ public bool ValidateCertificateUse { get; set; }
|
||||
+ public bool ValidateValidityPeriod { get; set; }
|
||||
+ }
|
||||
+ public enum CertificateTypes {
|
||||
+ All = 3,
|
||||
+ Chained = 1,
|
||||
+ SelfSigned = 2,
|
||||
+ }
|
||||
+ public class CertificateValidatedContext : ResultContext<CertificateAuthenticationOptions> {
|
||||
+ public CertificateValidatedContext(HttpContext context, AuthenticationScheme scheme, CertificateAuthenticationOptions options);
|
||||
+ public X509Certificate2 ClientCertificate { get; set; }
|
||||
+ }
|
||||
+ public static class X509Certificate2Extensions {
|
||||
+ public static bool IsSelfSigned(this X509Certificate2 certificate);
|
||||
+ }
|
||||
+ }
|
||||
+ namespace Microsoft.Extensions.DependencyInjection {
|
||||
+ public static class CertificateAuthenticationAppBuilderExtensions {
|
||||
+ public static AuthenticationBuilder AddCertificate(this AuthenticationBuilder builder);
|
||||
+ public static AuthenticationBuilder AddCertificate(this AuthenticationBuilder builder, Action<CertificateAuthenticationOptions> configureOptions);
|
||||
+ public static AuthenticationBuilder AddCertificate(this AuthenticationBuilder builder, string authenticationScheme);
|
||||
+ public static AuthenticationBuilder AddCertificate(this AuthenticationBuilder builder, string authenticationScheme, Action<CertificateAuthenticationOptions> configureOptions);
|
||||
+ }
|
||||
+ }
|
||||
+}
|
||||
```
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
# Microsoft.AspNetCore.Authentication.Cookies
|
||||
|
||||
``` diff
|
||||
{
|
||||
namespace Microsoft.AspNetCore.Authentication.Cookies {
|
||||
public class CookieAuthenticationOptions : AuthenticationSchemeOptions {
|
||||
- public string CookieDomain { get; set; }
|
||||
|
||||
- public bool CookieHttpOnly { get; set; }
|
||||
|
||||
- public string CookieName { get; set; }
|
||||
|
||||
- public string CookiePath { get; set; }
|
||||
|
||||
- public CookieSecurePolicy CookieSecure { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
- namespace Microsoft.AspNetCore.Builder {
|
||||
{
|
||||
- public static class CookieAppBuilderExtensions {
|
||||
{
|
||||
- public static IApplicationBuilder UseCookieAuthentication(this IApplicationBuilder app);
|
||||
|
||||
- public static IApplicationBuilder UseCookieAuthentication(this IApplicationBuilder app, CookieAuthenticationOptions options);
|
||||
|
||||
- }
|
||||
- }
|
||||
}
|
||||
```
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
# Microsoft.AspNetCore.Authentication.Core
|
||||
|
||||
``` diff
|
||||
{
|
||||
namespace Microsoft.AspNetCore.Authentication {
|
||||
public class AuthenticationService : IAuthenticationService {
|
||||
- public AuthenticationService(IAuthenticationSchemeProvider schemes, IAuthenticationHandlerProvider handlers, IClaimsTransformation transform);
|
||||
|
||||
+ public AuthenticationService(IAuthenticationSchemeProvider schemes, IAuthenticationHandlerProvider handlers, IClaimsTransformation transform, IOptions<AuthenticationOptions> options);
|
||||
+ public AuthenticationOptions Options { get; }
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
# Microsoft.AspNetCore.Authentication.Facebook
|
||||
|
||||
``` diff
|
||||
{
|
||||
- namespace Microsoft.AspNetCore.Builder {
|
||||
{
|
||||
- public static class FacebookAppBuilderExtensions {
|
||||
{
|
||||
- public static IApplicationBuilder UseFacebookAuthentication(this IApplicationBuilder app);
|
||||
|
||||
- public static IApplicationBuilder UseFacebookAuthentication(this IApplicationBuilder app, FacebookOptions options);
|
||||
|
||||
- }
|
||||
- }
|
||||
}
|
||||
```
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
# Microsoft.AspNetCore.Authentication.Google
|
||||
|
||||
``` diff
|
||||
{
|
||||
namespace Microsoft.AspNetCore.Authentication.Google {
|
||||
- public static class GoogleHelper {
|
||||
{
|
||||
- public static string GetEmail(JObject user);
|
||||
|
||||
- }
|
||||
}
|
||||
- namespace Microsoft.AspNetCore.Builder {
|
||||
{
|
||||
- public static class GoogleAppBuilderExtensions {
|
||||
{
|
||||
- public static IApplicationBuilder UseGoogleAuthentication(this IApplicationBuilder app);
|
||||
|
||||
- public static IApplicationBuilder UseGoogleAuthentication(this IApplicationBuilder app, GoogleOptions options);
|
||||
|
||||
- }
|
||||
- }
|
||||
}
|
||||
```
|
||||
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue