Skip to content

Commit

Permalink
C#: Regenerate Microsoft.AspNetCore.App stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
hvitved committed Sep 5, 2023
1 parent ddb3f95 commit aff8207
Show file tree
Hide file tree
Showing 133 changed files with 8,865 additions and 11,960 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// This file contains auto-generated code.
// Generated from `Microsoft.AspNetCore.Antiforgery, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.

namespace Microsoft
{
namespace AspNetCore
Expand All @@ -9,56 +8,50 @@ namespace Antiforgery
{
public class AntiforgeryOptions
{
public AntiforgeryOptions() => throw null;
public Microsoft.AspNetCore.Http.CookieBuilder Cookie { get => throw null; set => throw null; }
public static string DefaultCookiePrefix;
public string FormFieldName { get => throw null; set => throw null; }
public string HeaderName { get => throw null; set => throw null; }
public bool SuppressXFrameOptionsHeader { get => throw null; set => throw null; }
public AntiforgeryOptions() => throw null;
public Microsoft.AspNetCore.Http.CookieBuilder Cookie { get => throw null; set { } }
public string FormFieldName { get => throw null; set { } }
public string HeaderName { get => throw null; set { } }
public bool SuppressXFrameOptionsHeader { get => throw null; set { } }
}

public class AntiforgeryTokenSet
{
public AntiforgeryTokenSet(string requestToken, string cookieToken, string formFieldName, string headerName) => throw null;
public string CookieToken { get => throw null; }
public string RequestToken { get => throw null; }
public string FormFieldName { get => throw null; }
public string HeaderName { get => throw null; }
public string RequestToken { get => throw null; }
public string CookieToken { get => throw null; }
}

public class AntiforgeryValidationException : System.Exception
{
public AntiforgeryValidationException(string message) => throw null;
public AntiforgeryValidationException(string message, System.Exception innerException) => throw null;
}

public interface IAntiforgery
{
Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet GetAndStoreTokens(Microsoft.AspNetCore.Http.HttpContext httpContext);
Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet GetTokens(Microsoft.AspNetCore.Http.HttpContext httpContext);
System.Threading.Tasks.Task<bool> IsRequestValidAsync(Microsoft.AspNetCore.Http.HttpContext httpContext);
void SetCookieTokenAndHeader(Microsoft.AspNetCore.Http.HttpContext httpContext);
System.Threading.Tasks.Task ValidateRequestAsync(Microsoft.AspNetCore.Http.HttpContext httpContext);
void SetCookieTokenAndHeader(Microsoft.AspNetCore.Http.HttpContext httpContext);
}

public interface IAntiforgeryAdditionalDataProvider
{
string GetAdditionalData(Microsoft.AspNetCore.Http.HttpContext context);
bool ValidateAdditionalData(Microsoft.AspNetCore.Http.HttpContext context, string additionalData);
}

}
}
namespace Extensions
{
namespace DependencyInjection
{
public static class AntiforgeryServiceCollectionExtensions
public static partial class AntiforgeryServiceCollectionExtensions
{
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAntiforgery(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null;
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAntiforgery(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action<Microsoft.AspNetCore.Antiforgery.AntiforgeryOptions> setupAction) => throw null;
}

}
}
}

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// This file contains auto-generated code.
// Generated from `Microsoft.AspNetCore.Authentication.Core, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60`.

namespace Microsoft
{
namespace AspNetCore
Expand All @@ -10,66 +9,60 @@ namespace Authentication
public class AuthenticationFeature : Microsoft.AspNetCore.Authentication.IAuthenticationFeature
{
public AuthenticationFeature() => throw null;
public Microsoft.AspNetCore.Http.PathString OriginalPath { get => throw null; set => throw null; }
public Microsoft.AspNetCore.Http.PathString OriginalPathBase { get => throw null; set => throw null; }
public Microsoft.AspNetCore.Http.PathString OriginalPathBase { get => throw null; set { } }
public Microsoft.AspNetCore.Http.PathString OriginalPath { get => throw null; set { } }
}

public class AuthenticationHandlerProvider : Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider
{
public AuthenticationHandlerProvider(Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider schemes) => throw null;
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.IAuthenticationHandler> GetHandlerAsync(Microsoft.AspNetCore.Http.HttpContext context, string authenticationScheme) => throw null;
public Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider Schemes { get => throw null; }
}

public class AuthenticationSchemeProvider : Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider
{
public virtual void AddScheme(Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme) => throw null;
public AuthenticationSchemeProvider(Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authentication.AuthenticationOptions> options) => throw null;
protected AuthenticationSchemeProvider(Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authentication.AuthenticationOptions> options, System.Collections.Generic.IDictionary<string, Microsoft.AspNetCore.Authentication.AuthenticationScheme> schemes) => throw null;
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authentication.AuthenticationScheme>> GetAllSchemesAsync() => throw null;
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme> GetDefaultAuthenticateSchemeAsync() => throw null;
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme> GetDefaultChallengeSchemeAsync() => throw null;
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme> GetDefaultForbidSchemeAsync() => throw null;
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme> GetDefaultSignInSchemeAsync() => throw null;
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme> GetDefaultSignOutSchemeAsync() => throw null;
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authentication.AuthenticationScheme>> GetRequestHandlerSchemesAsync() => throw null;
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticationScheme> GetSchemeAsync(string name) => throw null;
public virtual void RemoveScheme(string name) => throw null;
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authentication.AuthenticationScheme>> GetRequestHandlerSchemesAsync() => throw null;
public virtual bool TryAddScheme(Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme) => throw null;
public virtual void AddScheme(Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme) => throw null;
public virtual void RemoveScheme(string name) => throw null;
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authentication.AuthenticationScheme>> GetAllSchemesAsync() => throw null;
}

public class AuthenticationService : Microsoft.AspNetCore.Authentication.IAuthenticationService
{
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult> AuthenticateAsync(Microsoft.AspNetCore.Http.HttpContext context, string scheme) => throw null;
public AuthenticationService(Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider schemes, Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider handlers, Microsoft.AspNetCore.Authentication.IClaimsTransformation transform, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authentication.AuthenticationOptions> options) => throw null;
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult> AuthenticateAsync(Microsoft.AspNetCore.Http.HttpContext context, string scheme) => throw null;
public virtual System.Threading.Tasks.Task ChallengeAsync(Microsoft.AspNetCore.Http.HttpContext context, string scheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties) => throw null;
public virtual System.Threading.Tasks.Task ForbidAsync(Microsoft.AspNetCore.Http.HttpContext context, string scheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties) => throw null;
public Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider Handlers { get => throw null; }
public Microsoft.AspNetCore.Authentication.AuthenticationOptions Options { get => throw null; }
public Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider Schemes { get => throw null; }
public virtual System.Threading.Tasks.Task SignInAsync(Microsoft.AspNetCore.Http.HttpContext context, string scheme, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties) => throw null;
public virtual System.Threading.Tasks.Task SignOutAsync(Microsoft.AspNetCore.Http.HttpContext context, string scheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties) => throw null;
public Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider Schemes { get => throw null; }
public Microsoft.AspNetCore.Authentication.IAuthenticationHandlerProvider Handlers { get => throw null; }
public Microsoft.AspNetCore.Authentication.IClaimsTransformation Transform { get => throw null; }
public Microsoft.AspNetCore.Authentication.AuthenticationOptions Options { get => throw null; }
}

public class NoopClaimsTransformation : Microsoft.AspNetCore.Authentication.IClaimsTransformation
{
public NoopClaimsTransformation() => throw null;
public virtual System.Threading.Tasks.Task<System.Security.Claims.ClaimsPrincipal> TransformAsync(System.Security.Claims.ClaimsPrincipal principal) => throw null;
public NoopClaimsTransformation() => throw null;
}

}
}
namespace Extensions
{
namespace DependencyInjection
{
public static class AuthenticationCoreServiceCollectionExtensions
public static partial class AuthenticationCoreServiceCollectionExtensions
{
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAuthenticationCore(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) => throw null;
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAuthenticationCore(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action<Microsoft.AspNetCore.Authentication.AuthenticationOptions> configureOptions) => throw null;
}

}
}
}
Loading

0 comments on commit aff8207

Please sign in to comment.