@tsonic/aspnetcore 10.0.40 → 10.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.AspNetCore/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Antiforgery/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Antiforgery.d.ts +4 -0
- package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +218 -214
- package/Microsoft.AspNetCore.Authentication.BearerToken/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Authentication.BearerToken.d.ts +4 -0
- package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Authentication.Cookies.d.ts +4 -0
- package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +27 -26
- package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Authentication.OAuth.Claims.d.ts +4 -0
- package/Microsoft.AspNetCore.Authentication.OAuth.d.ts +4 -0
- package/Microsoft.AspNetCore.Authentication.d.ts +7 -2
- package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +44 -43
- package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Authorization.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Authorization.Policy.d.ts +4 -0
- package/Microsoft.AspNetCore.Authorization.d.ts +8 -4
- package/Microsoft.AspNetCore.Builder/bindings.json +0 -130
- package/Microsoft.AspNetCore.Builder/internal/index.d.ts +110 -129
- package/Microsoft.AspNetCore.Builder.Extensions/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Builder.Extensions.d.ts +4 -0
- package/Microsoft.AspNetCore.Builder.d.ts +4 -1
- package/Microsoft.AspNetCore.Components/bindings.json +4 -1
- package/Microsoft.AspNetCore.Components/internal/index.d.ts +240 -242
- package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +26 -25
- package/Microsoft.AspNetCore.Components.Authorization.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.CompilerServices/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Components.CompilerServices.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Endpoints.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +98 -100
- package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Components.Forms.Mapping.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Forms.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Infrastructure/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Components.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +16 -18
- package/Microsoft.AspNetCore.Components.RenderTree.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +21 -20
- package/Microsoft.AspNetCore.Components.Rendering.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +24 -23
- package/Microsoft.AspNetCore.Components.Routing.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Components.Sections.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Components.Server.Circuits/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Server.Circuits.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Server.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +23 -22
- package/Microsoft.AspNetCore.Components.Web.HtmlRendering/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Web.HtmlRendering.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Web.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Web.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Web.Internal/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.Components.Web.Internal.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +23 -22
- package/Microsoft.AspNetCore.Components.Web.Virtualization.d.ts +5 -1
- package/Microsoft.AspNetCore.Components.Web.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.d.ts +11 -7
- package/Microsoft.AspNetCore.Connections/internal/index.d.ts +34 -33
- package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Connections.Abstractions.d.ts +4 -0
- package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +12 -11
- package/Microsoft.AspNetCore.Connections.Features.d.ts +4 -0
- package/Microsoft.AspNetCore.Connections.d.ts +5 -1
- package/Microsoft.AspNetCore.CookiePolicy/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.CookiePolicy.d.ts +4 -0
- package/Microsoft.AspNetCore.Cors/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Cors.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.Cors.d.ts +4 -0
- package/Microsoft.AspNetCore.Cryptography.KeyDerivation/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Cryptography.KeyDerivation.d.ts +4 -0
- package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +8 -8
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/bindings.json +10 -10
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.d.ts +4 -0
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.d.ts +4 -0
- package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.DataProtection.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.DataProtection.Internal.d.ts +4 -0
- package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +16 -15
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/bindings.json +3 -3
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +7 -9
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.d.ts +4 -0
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.d.ts +4 -0
- package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.DataProtection.Repositories.d.ts +4 -0
- package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.DataProtection.XmlEncryption.d.ts +4 -0
- package/Microsoft.AspNetCore.DataProtection.d.ts +4 -0
- package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +34 -33
- package/Microsoft.AspNetCore.Diagnostics.HealthChecks/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Diagnostics.HealthChecks.d.ts +4 -0
- package/Microsoft.AspNetCore.Diagnostics.d.ts +4 -0
- package/Microsoft.AspNetCore.HostFiltering/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.HostFiltering.d.ts +4 -0
- package/Microsoft.AspNetCore.Hosting/bindings.json +20 -83
- package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +19 -27
- package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.Builder.d.ts +4 -0
- package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Hosting.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Hosting.Server.Abstractions/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Hosting.Server.Abstractions.d.ts +5 -1
- package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.Server.Features.d.ts +4 -0
- package/Microsoft.AspNetCore.Hosting.Server.d.ts +5 -1
- package/Microsoft.AspNetCore.Hosting.StaticWebAssets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.StaticWebAssets.d.ts +4 -0
- package/Microsoft.AspNetCore.Hosting.d.ts +7 -5
- package/Microsoft.AspNetCore.Html/internal/index.d.ts +14 -11
- package/Microsoft.AspNetCore.Html.d.ts +4 -0
- package/Microsoft.AspNetCore.Http/bindings.json +494 -494
- package/Microsoft.AspNetCore.Http/internal/index.d.ts +336 -338
- package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Http.Connections.Features/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Http.Connections.Features.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.Connections.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.Http.Extensions.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.Features/bindings.json +4 -1
- package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +53 -55
- package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Http.Features.Authentication.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.Features.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.Headers/internal/index.d.ts +39 -38
- package/Microsoft.AspNetCore.Http.Headers.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +117 -116
- package/Microsoft.AspNetCore.Http.HttpResults.d.ts +37 -33
- package/Microsoft.AspNetCore.Http.Json/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Http.Json.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +12 -11
- package/Microsoft.AspNetCore.Http.Metadata.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Http.Timeouts.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.d.ts +11 -7
- package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.HttpLogging.d.ts +4 -0
- package/Microsoft.AspNetCore.HttpOverrides/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.HttpOverrides.d.ts +4 -0
- package/Microsoft.AspNetCore.HttpsPolicy/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.HttpsPolicy.d.ts +4 -0
- package/Microsoft.AspNetCore.Identity/bindings.json +397 -17
- package/Microsoft.AspNetCore.Identity/internal/index.d.ts +453 -452
- package/Microsoft.AspNetCore.Identity.Data/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Identity.Data.d.ts +4 -0
- package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Identity.UI.Services.d.ts +4 -0
- package/Microsoft.AspNetCore.Identity.d.ts +44 -40
- package/Microsoft.AspNetCore.Localization/internal/index.d.ts +21 -20
- package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Localization.Routing.d.ts +4 -0
- package/Microsoft.AspNetCore.Localization.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +447 -446
- package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Mvc.Abstractions.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Mvc.ActionConstraints.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +34 -33
- package/Microsoft.AspNetCore.Mvc.ApiExplorer.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +54 -53
- package/Microsoft.AspNetCore.Mvc.ApplicationModels.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Mvc.ApplicationParts.d.ts +6 -2
- package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Mvc.Authorization.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +12 -11
- package/Microsoft.AspNetCore.Mvc.Controllers.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Core.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Mvc.Cors.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.Mvc.DataAnnotations.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Diagnostics/bindings.json +119 -119
- package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +29 -28
- package/Microsoft.AspNetCore.Mvc.Diagnostics.d.ts +5 -1
- package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +57 -56
- package/Microsoft.AspNetCore.Mvc.Filters.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +38 -37
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +20 -19
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Formatters.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Infrastructure/bindings.json +91 -0
- package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +58 -39
- package/Microsoft.AspNetCore.Mvc.Infrastructure.d.ts +6 -1
- package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Mvc.Localization.d.ts +8 -4
- package/Microsoft.AspNetCore.Mvc.ModelBinding/bindings.json +1721 -1721
- package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +272 -274
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +54 -53
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +108 -107
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/bindings.json +80 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +42 -27
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation.d.ts +6 -1
- package/Microsoft.AspNetCore.Mvc.ModelBinding.d.ts +11 -7
- package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +51 -50
- package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +10 -9
- package/Microsoft.AspNetCore.Mvc.Razor.Compilation.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Razor.Internal/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.Razor.Internal.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +4 -6
- package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Razor.d.ts +7 -3
- package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +135 -134
- package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +12 -11
- package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.RazorPages.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +61 -60
- package/Microsoft.AspNetCore.Mvc.Rendering.d.ts +6 -2
- package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +47 -46
- package/Microsoft.AspNetCore.Mvc.Routing.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +22 -24
- package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.TagHelpers.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +14 -13
- package/Microsoft.AspNetCore.Mvc.ViewComponents.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +10 -9
- package/Microsoft.AspNetCore.Mvc.ViewEngines.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/bindings.json +131 -131
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +78 -80
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.d.ts +9 -5
- package/Microsoft.AspNetCore.Mvc.d.ts +20 -16
- package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +18 -17
- package/Microsoft.AspNetCore.OutputCaching.d.ts +4 -0
- package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +14 -13
- package/Microsoft.AspNetCore.RateLimiting.d.ts +5 -1
- package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Razor.Hosting.d.ts +4 -0
- package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers.d.ts +4 -0
- package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +5 -7
- package/Microsoft.AspNetCore.Razor.TagHelpers.d.ts +4 -0
- package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.RequestDecompression.d.ts +4 -0
- package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.ResponseCaching.d.ts +4 -0
- package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.ResponseCompression.d.ts +4 -0
- package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Rewrite.d.ts +4 -0
- package/Microsoft.AspNetCore.Routing/bindings.json +185 -185
- package/Microsoft.AspNetCore.Routing/internal/index.d.ts +137 -139
- package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +49 -48
- package/Microsoft.AspNetCore.Routing.Constraints.d.ts +4 -0
- package/Microsoft.AspNetCore.Routing.Internal/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Routing.Internal.d.ts +4 -0
- package/Microsoft.AspNetCore.Routing.Matching/bindings.json +4 -1
- package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +12 -14
- package/Microsoft.AspNetCore.Routing.Matching.d.ts +6 -2
- package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +29 -28
- package/Microsoft.AspNetCore.Routing.Patterns.d.ts +4 -0
- package/Microsoft.AspNetCore.Routing.Template/internal/index.d.ts +16 -18
- package/Microsoft.AspNetCore.Routing.Template.d.ts +4 -0
- package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Routing.Tree.d.ts +4 -0
- package/Microsoft.AspNetCore.Routing.d.ts +6 -2
- package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.IISIntegration.d.ts +4 -0
- package/Microsoft.AspNetCore.Server.Kestrel/bindings.json +16 -16
- package/Microsoft.AspNetCore.Server.Kestrel/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel.Core/bindings.json +42 -42
- package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +16 -15
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/bindings.json +3 -3
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Features.d.ts +4 -0
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/bindings.json +33 -33
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +6 -8
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.d.ts +4 -0
- package/Microsoft.AspNetCore.Server.Kestrel.Core.d.ts +4 -0
- package/Microsoft.AspNetCore.Server.Kestrel.Https/bindings.json +10 -10
- package/Microsoft.AspNetCore.Server.Kestrel.Https/internal/index.d.ts +19 -18
- package/Microsoft.AspNetCore.Server.Kestrel.Https.d.ts +4 -0
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes.d.ts +4 -0
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.d.ts +4 -0
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.d.ts +4 -0
- package/Microsoft.AspNetCore.Server.Kestrel.d.ts +4 -0
- package/Microsoft.AspNetCore.Session/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.Session.d.ts +4 -0
- package/Microsoft.AspNetCore.SignalR/bindings.json +201 -201
- package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +168 -170
- package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +32 -34
- package/Microsoft.AspNetCore.SignalR.Protocol.d.ts +4 -0
- package/Microsoft.AspNetCore.SignalR.d.ts +20 -16
- package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.StaticAssets.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.StaticAssets.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.StaticAssets.d.ts +4 -0
- package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.StaticFiles.Infrastructure/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.StaticFiles.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.StaticFiles.d.ts +4 -0
- package/Microsoft.AspNetCore.WebSockets/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.WebSockets.d.ts +4 -0
- package/Microsoft.AspNetCore.WebUtilities/internal/index.d.ts +25 -24
- package/Microsoft.AspNetCore.WebUtilities.d.ts +5 -1
- package/Microsoft.AspNetCore.d.ts +4 -0
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +62 -61
- package/Microsoft.Extensions.DependencyInjection.d.ts +4 -0
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Hosting.d.ts +4 -0
- package/Microsoft.JSInterop/internal/index.d.ts +102 -77
- package/Microsoft.JSInterop.Implementation/internal/index.d.ts +16 -17
- package/Microsoft.JSInterop.Implementation.d.ts +4 -0
- package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +9 -11
- package/Microsoft.JSInterop.Infrastructure.d.ts +4 -0
- package/Microsoft.JSInterop.d.ts +6 -2
- package/Microsoft.Net.Http.Headers/internal/index.d.ts +57 -59
- package/Microsoft.Net.Http.Headers.d.ts +4 -0
- package/README.md +65 -15
- package/System.Formats.Cbor/internal/index.d.ts +4 -6
- package/System.Formats.Cbor.d.ts +4 -0
- package/System.Security.Claims/internal/index.d.ts +4 -3
- package/System.Security.Claims.d.ts +4 -0
- package/System.Threading.RateLimiting/internal/index.d.ts +31 -33
- package/System.Threading.RateLimiting.d.ts +10 -6
- package/__internal/extensions/index.d.ts +410 -431
- package/package.json +4 -4
- package/Microsoft.AspNetCore.Server.HttpSys/bindings.json +0 -2396
- package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +0 -297
- package/Microsoft.AspNetCore.Server.HttpSys.d.ts +0 -34
- package/Microsoft.AspNetCore.Server.HttpSys.js +0 -9
- package/Microsoft.AspNetCore.Server.IIS/bindings.json +0 -332
- package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +0 -68
- package/Microsoft.AspNetCore.Server.IIS.d.ts +0 -20
- package/Microsoft.AspNetCore.Server.IIS.js +0 -9
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Authentication.BearerToken
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Authentication.BearerToken
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import * as Microsoft_AspNetCore_Authentication_Internal from "../../Microsoft.AspNetCore.Authentication/internal/index.js";
|
|
@@ -51,7 +52,7 @@ export interface BearerTokenOptions$instance extends AuthenticationSchemeOptions
|
|
|
51
52
|
|
|
52
53
|
BearerTokenExpiration: TimeSpan;
|
|
53
54
|
BearerTokenProtector: ISecureDataFormat_1<AuthenticationTicket>;
|
|
54
|
-
Events: unknown;
|
|
55
|
+
Events: BearerTokenEvents | unknown;
|
|
55
56
|
RefreshTokenExpiration: TimeSpan;
|
|
56
57
|
RefreshTokenProtector: ISecureDataFormat_1<AuthenticationTicket>;
|
|
57
58
|
}
|
|
@@ -67,8 +68,8 @@ export type BearerTokenOptions = BearerTokenOptions$instance;
|
|
|
67
68
|
export interface MessageReceivedContext$instance extends ResultContext_1<BearerTokenOptions> {
|
|
68
69
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_BearerToken_MessageReceivedContext: never;
|
|
69
70
|
|
|
70
|
-
get Token(): string |
|
|
71
|
-
set Token(value: string |
|
|
71
|
+
get Token(): string | null;
|
|
72
|
+
set Token(value: string | null);
|
|
72
73
|
}
|
|
73
74
|
|
|
74
75
|
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './Microsoft.AspNetCore.Authentication.BearerToken/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { AuthenticateResult, AuthenticationProperties, AuthenticationScheme, AuthenticationSchemeOptions, AuthenticationTicket, ISecureDataFormat_1, ResultContext_1 } from './Microsoft.AspNetCore.Authentication/internal/index.js';
|
|
10
14
|
import type { HttpContext, HttpRequest, HttpResponse } from './Microsoft.AspNetCore.Http/internal/index.js';
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Authentication.Cookies
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Authentication.Cookies
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import * as Microsoft_AspNetCore_Authentication_Internal from "../../Microsoft.AspNetCore.Authentication/internal/index.js";
|
|
@@ -23,9 +24,9 @@ import type { IOptionsMonitor_1, IPostConfigureOptions_1 } from "@tsonic/microso
|
|
|
23
24
|
export interface ICookieManager$instance {
|
|
24
25
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_Cookies_ICookieManager: never;
|
|
25
26
|
|
|
26
|
-
AppendResponseCookie(context: HttpContext, key: string, value: string, options: CookieOptions): void;
|
|
27
|
+
AppendResponseCookie(context: HttpContext, key: string, value: string | null, options: CookieOptions): void;
|
|
27
28
|
DeleteCookie(context: HttpContext, key: string, options: CookieOptions): void;
|
|
28
|
-
GetRequestCookie(context: HttpContext, key: string): string |
|
|
29
|
+
GetRequestCookie(context: HttpContext, key: string): string | null;
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
|
|
@@ -40,9 +41,9 @@ export interface ITicketStore$instance {
|
|
|
40
41
|
RenewAsync(key: string, ticket: AuthenticationTicket, httpContext: HttpContext, cancellationToken: CancellationToken): Task;
|
|
41
42
|
RenewAsync(key: string, ticket: AuthenticationTicket, cancellationToken: CancellationToken): Task;
|
|
42
43
|
RenewAsync(key: string, ticket: AuthenticationTicket): Task;
|
|
43
|
-
RetrieveAsync(key: string, httpContext: HttpContext, cancellationToken: CancellationToken): Task_1<AuthenticationTicket |
|
|
44
|
-
RetrieveAsync(key: string, cancellationToken: CancellationToken): Task_1<AuthenticationTicket |
|
|
45
|
-
RetrieveAsync(key: string): Task_1<AuthenticationTicket |
|
|
44
|
+
RetrieveAsync(key: string, httpContext: HttpContext, cancellationToken: CancellationToken): Task_1<AuthenticationTicket | null>;
|
|
45
|
+
RetrieveAsync(key: string, cancellationToken: CancellationToken): Task_1<AuthenticationTicket | null>;
|
|
46
|
+
RetrieveAsync(key: string): Task_1<AuthenticationTicket | null>;
|
|
46
47
|
StoreAsync(ticket: AuthenticationTicket, httpContext: HttpContext, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
47
48
|
StoreAsync(ticket: AuthenticationTicket, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
48
49
|
StoreAsync(ticket: AuthenticationTicket): Task_1<System_Internal.String>;
|
|
@@ -59,9 +60,9 @@ export interface ChunkingCookieManager$instance extends ICookieManager$instance
|
|
|
59
60
|
get ChunkSize(): Nullable_1<System_Internal.Int32>;
|
|
60
61
|
set ChunkSize(value: Nullable_1<System_Internal.Int32> | int);
|
|
61
62
|
ThrowForPartialCookies: boolean;
|
|
62
|
-
AppendResponseCookie(context: HttpContext, key: string, value: string, options: CookieOptions): void;
|
|
63
|
+
AppendResponseCookie(context: HttpContext, key: string, value: string | null, options: CookieOptions): void;
|
|
63
64
|
DeleteCookie(context: HttpContext, key: string, options: CookieOptions): void;
|
|
64
|
-
GetRequestCookie(context: HttpContext, key: string): string |
|
|
65
|
+
GetRequestCookie(context: HttpContext, key: string): string | null;
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
|
|
@@ -109,7 +110,7 @@ export const CookieAuthenticationEvents: {
|
|
|
109
110
|
|
|
110
111
|
export type CookieAuthenticationEvents = CookieAuthenticationEvents$instance;
|
|
111
112
|
|
|
112
|
-
export interface CookieAuthenticationHandler$instance extends SignInAuthenticationHandler_1<CookieAuthenticationOptions
|
|
113
|
+
export interface CookieAuthenticationHandler$instance extends SignInAuthenticationHandler_1<CookieAuthenticationOptions>, Microsoft_AspNetCore_Authentication_Internal.IAuthenticationSignInHandler$instance {
|
|
113
114
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_Cookies_CookieAuthenticationHandler: never;
|
|
114
115
|
|
|
115
116
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
@@ -121,8 +122,8 @@ export interface CookieAuthenticationHandler$instance extends SignInAuthenticati
|
|
|
121
122
|
HandleAuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
122
123
|
HandleChallengeAsync(properties: AuthenticationProperties): Task;
|
|
123
124
|
HandleForbiddenAsync(properties: AuthenticationProperties): Task;
|
|
124
|
-
HandleSignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties): Task;
|
|
125
|
-
HandleSignOutAsync(properties: AuthenticationProperties): Task;
|
|
125
|
+
HandleSignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties | null): Task;
|
|
126
|
+
HandleSignOutAsync(properties: AuthenticationProperties | null): Task;
|
|
126
127
|
InitializeHandlerAsync(): Task;
|
|
127
128
|
}
|
|
128
129
|
|
|
@@ -147,15 +148,15 @@ export interface CookieAuthenticationOptions$instance extends AuthenticationSche
|
|
|
147
148
|
AccessDeniedPath: PathString;
|
|
148
149
|
Cookie: CookieBuilder;
|
|
149
150
|
CookieManager: ICookieManager;
|
|
150
|
-
get DataProtectionProvider(): IDataProtectionProvider |
|
|
151
|
-
set DataProtectionProvider(value: IDataProtectionProvider |
|
|
152
|
-
Events: unknown;
|
|
151
|
+
get DataProtectionProvider(): IDataProtectionProvider | null;
|
|
152
|
+
set DataProtectionProvider(value: IDataProtectionProvider | null);
|
|
153
|
+
Events: CookieAuthenticationEvents | unknown;
|
|
153
154
|
ExpireTimeSpan: TimeSpan;
|
|
154
155
|
LoginPath: PathString;
|
|
155
156
|
LogoutPath: PathString;
|
|
156
157
|
ReturnUrlParameter: string;
|
|
157
|
-
get SessionStore(): ITicketStore |
|
|
158
|
-
set SessionStore(value: ITicketStore |
|
|
158
|
+
get SessionStore(): ITicketStore | null;
|
|
159
|
+
set SessionStore(value: ITicketStore | null);
|
|
159
160
|
SlidingExpiration: boolean;
|
|
160
161
|
TicketDataFormat: ISecureDataFormat_1<AuthenticationTicket>;
|
|
161
162
|
}
|
|
@@ -175,7 +176,7 @@ export interface CookieSignedInContext$instance extends PrincipalContext_1<Cooki
|
|
|
175
176
|
|
|
176
177
|
|
|
177
178
|
export const CookieSignedInContext: {
|
|
178
|
-
new(context: HttpContext, scheme: AuthenticationScheme, principal: ClaimsPrincipal, properties: AuthenticationProperties, options: CookieAuthenticationOptions): CookieSignedInContext;
|
|
179
|
+
new(context: HttpContext, scheme: AuthenticationScheme, principal: ClaimsPrincipal, properties: AuthenticationProperties | null, options: CookieAuthenticationOptions): CookieSignedInContext;
|
|
179
180
|
};
|
|
180
181
|
|
|
181
182
|
|
|
@@ -189,7 +190,7 @@ export interface CookieSigningInContext$instance extends PrincipalContext_1<Cook
|
|
|
189
190
|
|
|
190
191
|
|
|
191
192
|
export const CookieSigningInContext: {
|
|
192
|
-
new(context: HttpContext, scheme: AuthenticationScheme, options: CookieAuthenticationOptions, principal: ClaimsPrincipal, properties: AuthenticationProperties, cookieOptions: CookieOptions): CookieSigningInContext;
|
|
193
|
+
new(context: HttpContext, scheme: AuthenticationScheme, options: CookieAuthenticationOptions, principal: ClaimsPrincipal, properties: AuthenticationProperties | null, cookieOptions: CookieOptions): CookieSigningInContext;
|
|
193
194
|
};
|
|
194
195
|
|
|
195
196
|
|
|
@@ -203,7 +204,7 @@ export interface CookieSigningOutContext$instance extends PropertiesContext_1<Co
|
|
|
203
204
|
|
|
204
205
|
|
|
205
206
|
export const CookieSigningOutContext: {
|
|
206
|
-
new(context: HttpContext, scheme: AuthenticationScheme, options: CookieAuthenticationOptions, properties: AuthenticationProperties, cookieOptions: CookieOptions): CookieSigningOutContext;
|
|
207
|
+
new(context: HttpContext, scheme: AuthenticationScheme, options: CookieAuthenticationOptions, properties: AuthenticationProperties | null, cookieOptions: CookieOptions): CookieSigningOutContext;
|
|
207
208
|
};
|
|
208
209
|
|
|
209
210
|
|
|
@@ -246,7 +247,7 @@ export interface PostConfigureCookieAuthenticationOptions$instance {
|
|
|
246
247
|
|
|
247
248
|
readonly __tsonic_iface_Microsoft_Extensions_Options_IPostConfigureOptions_1: never;
|
|
248
249
|
|
|
249
|
-
PostConfigure(name: string, options: CookieAuthenticationOptions): void;
|
|
250
|
+
PostConfigure(name: string | null, options: CookieAuthenticationOptions): void;
|
|
250
251
|
}
|
|
251
252
|
|
|
252
253
|
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './Microsoft.AspNetCore.Authentication.Cookies/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { AuthenticateResult, AuthenticationProperties, AuthenticationScheme, AuthenticationSchemeOptions, AuthenticationTicket, IAuthenticationHandler, IAuthenticationSignInHandler, IAuthenticationSignOutHandler, ISecureDataFormat_1, ISystemClock, PrincipalContext_1, PropertiesContext_1, RedirectContext_1, SignInAuthenticationHandler_1 } from './Microsoft.AspNetCore.Authentication/internal/index.js';
|
|
10
14
|
import type { IDataProtectionProvider } from './Microsoft.AspNetCore.DataProtection/internal/index.js';
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Authentication.OAuth
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Authentication.OAuth
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import type { ClaimActionCollection } from "../../Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.js";
|
|
@@ -32,8 +33,8 @@ export interface OAuthChallengeProperties$instance extends AuthenticationPropert
|
|
|
32
33
|
|
|
33
34
|
export const OAuthChallengeProperties: {
|
|
34
35
|
new(): OAuthChallengeProperties;
|
|
35
|
-
new(items: IDictionary_2<System_Internal.String,
|
|
36
|
-
new(items: IDictionary_2<System_Internal.String,
|
|
36
|
+
new(items: IDictionary_2<System_Internal.String, string | null>): OAuthChallengeProperties;
|
|
37
|
+
new(items: IDictionary_2<System_Internal.String, string | null> | null, parameters: IDictionary_2<System_Internal.String, unknown | null> | null): OAuthChallengeProperties;
|
|
37
38
|
readonly ScopeKey: string;
|
|
38
39
|
};
|
|
39
40
|
|
|
@@ -59,13 +60,13 @@ export type OAuthCodeExchangeContext = OAuthCodeExchangeContext$instance;
|
|
|
59
60
|
export interface OAuthCreatingTicketContext$instance extends ResultContext_1<OAuthOptions> {
|
|
60
61
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_OAuth_OAuthCreatingTicketContext: never;
|
|
61
62
|
|
|
62
|
-
readonly AccessToken: string |
|
|
63
|
+
readonly AccessToken: string | null;
|
|
63
64
|
readonly Backchannel: HttpClient;
|
|
64
65
|
readonly ExpiresIn: Nullable_1<TimeSpan>;
|
|
65
|
-
readonly Identity: ClaimsIdentity |
|
|
66
|
-
readonly RefreshToken: string |
|
|
66
|
+
readonly Identity: ClaimsIdentity | null;
|
|
67
|
+
readonly RefreshToken: string | null;
|
|
67
68
|
readonly TokenResponse: OAuthTokenResponse;
|
|
68
|
-
readonly TokenType: string |
|
|
69
|
+
readonly TokenType: string | null;
|
|
69
70
|
readonly User: JsonElement;
|
|
70
71
|
RunClaimActions(): void;
|
|
71
72
|
RunClaimActions(userData: JsonElement): void;
|
|
@@ -96,7 +97,7 @@ export const OAuthEvents: {
|
|
|
96
97
|
|
|
97
98
|
export type OAuthEvents = OAuthEvents$instance;
|
|
98
99
|
|
|
99
|
-
export interface OAuthHandler_1$instance<TOptions extends OAuthOptions> extends RemoteAuthenticationHandler_1<TOptions
|
|
100
|
+
export interface OAuthHandler_1$instance<TOptions extends unknown & OAuthOptions> extends RemoteAuthenticationHandler_1<TOptions>, Microsoft_AspNetCore_Authentication_Internal.IAuthenticationRequestHandler$instance {
|
|
100
101
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_OAuth_OAuthHandler_1: never;
|
|
101
102
|
|
|
102
103
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
@@ -114,16 +115,16 @@ export interface OAuthHandler_1$instance<TOptions extends OAuthOptions> extends
|
|
|
114
115
|
|
|
115
116
|
|
|
116
117
|
export const OAuthHandler_1: {
|
|
117
|
-
new<TOptions extends OAuthOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder, clock: ISystemClock): OAuthHandler_1<TOptions>;
|
|
118
|
-
new<TOptions extends OAuthOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder): OAuthHandler_1<TOptions>;
|
|
118
|
+
new<TOptions extends unknown & OAuthOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder, clock: ISystemClock): OAuthHandler_1<TOptions>;
|
|
119
|
+
new<TOptions extends unknown & OAuthOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder): OAuthHandler_1<TOptions>;
|
|
119
120
|
};
|
|
120
121
|
|
|
121
122
|
|
|
122
|
-
export interface __OAuthHandler_1$views<TOptions extends OAuthOptions> {
|
|
123
|
+
export interface __OAuthHandler_1$views<TOptions extends unknown & OAuthOptions> {
|
|
123
124
|
As_IAuthenticationHandler(): Microsoft_AspNetCore_Authentication_Internal.IAuthenticationHandler$instance;
|
|
124
125
|
}
|
|
125
126
|
|
|
126
|
-
export type OAuthHandler_1<TOptions extends OAuthOptions> = OAuthHandler_1$instance<TOptions> & __OAuthHandler_1$views<TOptions>;
|
|
127
|
+
export type OAuthHandler_1<TOptions extends unknown & OAuthOptions> = OAuthHandler_1$instance<TOptions> & __OAuthHandler_1$views<TOptions>;
|
|
127
128
|
|
|
128
129
|
|
|
129
130
|
export interface OAuthOptions$instance extends RemoteAuthenticationOptions {
|
|
@@ -134,7 +135,7 @@ export interface OAuthOptions$instance extends RemoteAuthenticationOptions {
|
|
|
134
135
|
readonly ClaimActions: ClaimActionCollection;
|
|
135
136
|
ClientId: string;
|
|
136
137
|
ClientSecret: string;
|
|
137
|
-
Events: unknown;
|
|
138
|
+
Events: OAuthEvents | RemoteAuthenticationEvents | unknown;
|
|
138
139
|
readonly Scope: ICollection_1<System_Internal.String>;
|
|
139
140
|
StateDataFormat: ISecureDataFormat_1<AuthenticationProperties>;
|
|
140
141
|
TokenEndpoint: string;
|
|
@@ -157,18 +158,18 @@ export interface OAuthTokenResponse$instance {
|
|
|
157
158
|
|
|
158
159
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
159
160
|
|
|
160
|
-
get AccessToken(): string |
|
|
161
|
-
set AccessToken(value: string |
|
|
162
|
-
get Error(): Exception |
|
|
163
|
-
set Error(value: Exception |
|
|
164
|
-
get ExpiresIn(): string |
|
|
165
|
-
set ExpiresIn(value: string |
|
|
166
|
-
get RefreshToken(): string |
|
|
167
|
-
set RefreshToken(value: string |
|
|
168
|
-
get Response(): JsonDocument |
|
|
169
|
-
set Response(value: JsonDocument |
|
|
170
|
-
get TokenType(): string |
|
|
171
|
-
set TokenType(value: string |
|
|
161
|
+
get AccessToken(): string | null;
|
|
162
|
+
set AccessToken(value: string | null);
|
|
163
|
+
get Error(): Exception | null;
|
|
164
|
+
set Error(value: Exception | null);
|
|
165
|
+
get ExpiresIn(): string | null;
|
|
166
|
+
set ExpiresIn(value: string | null);
|
|
167
|
+
get RefreshToken(): string | null;
|
|
168
|
+
set RefreshToken(value: string | null);
|
|
169
|
+
get Response(): JsonDocument | null;
|
|
170
|
+
set Response(value: JsonDocument | null);
|
|
171
|
+
get TokenType(): string | null;
|
|
172
|
+
set TokenType(value: string | null);
|
|
172
173
|
Dispose(): void;
|
|
173
174
|
}
|
|
174
175
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Authentication.OAuth.Claims
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Authentication.OAuth
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
@@ -53,13 +54,13 @@ export type ClaimActionCollection = ClaimActionCollection$instance;
|
|
|
53
54
|
export interface CustomJsonClaimAction$instance extends ClaimAction {
|
|
54
55
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_OAuth_Claims_CustomJsonClaimAction: never;
|
|
55
56
|
|
|
56
|
-
readonly Resolver: Func_2<JsonElement, string |
|
|
57
|
+
readonly Resolver: Func_2<JsonElement, string | null>;
|
|
57
58
|
Run(userData: JsonElement, identity: ClaimsIdentity, issuer: string): void;
|
|
58
59
|
}
|
|
59
60
|
|
|
60
61
|
|
|
61
62
|
export const CustomJsonClaimAction: {
|
|
62
|
-
new(claimType: string, valueType: string, resolver: Func_2<JsonElement,
|
|
63
|
+
new(claimType: string, valueType: string, resolver: Func_2<JsonElement, string | null>): CustomJsonClaimAction;
|
|
63
64
|
};
|
|
64
65
|
|
|
65
66
|
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { IEnumerable as IEnumerable__System_Collections_Generic, IEnumerator } from '@tsonic/dotnet/System.Collections.Generic.js';
|
|
10
14
|
import type { IEnumerable } from '@tsonic/dotnet/System.Collections.js';
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './Microsoft.AspNetCore.Authentication.OAuth/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { ClaimActionCollection } from './Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.js';
|
|
10
14
|
import type { AccessDeniedContext, AuthenticateResult, AuthenticationProperties, AuthenticationScheme, AuthenticationTicket, HandleRequestResult, IAuthenticationHandler, IAuthenticationRequestHandler, ISecureDataFormat_1, ISystemClock, RedirectContext_1, RemoteAuthenticationEvents, RemoteAuthenticationHandler_1, RemoteAuthenticationOptions, RemoteFailureContext, ResultContext_1, TicketReceivedContext } from './Microsoft.AspNetCore.Authentication/internal/index.js';
|
|
@@ -5,8 +5,13 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './Microsoft.AspNetCore.Authentication/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { ClaimActionCollection } from './Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.js';
|
|
14
|
+
import type { OAuthEvents } from './Microsoft.AspNetCore.Authentication.OAuth/internal/index.js';
|
|
10
15
|
import type { IDataProtectionProvider, IDataProtector } from './Microsoft.AspNetCore.DataProtection/internal/index.js';
|
|
11
16
|
import type { CookieBuilder, CookieOptions, CookieSecurePolicy, HttpContext, HttpRequest, HttpResponse, PathString, RequestDelegate, SameSiteMode } from './Microsoft.AspNetCore.Http/internal/index.js';
|
|
12
17
|
import type { IDictionary, IEnumerable, IList } from '@tsonic/dotnet/System.Collections.Generic.js';
|
|
@@ -41,8 +46,8 @@ export { RemoteFailureContext as RemoteFailureContext } from './Microsoft.AspNet
|
|
|
41
46
|
export { ResultContext_1 as ResultContext } from './Microsoft.AspNetCore.Authentication/internal/index.js';
|
|
42
47
|
export { TicketReceivedContext as TicketReceivedContext } from './Microsoft.AspNetCore.Authentication/internal/index.js';
|
|
43
48
|
export { HandleRequestResult as HandleRequestResult } from './Microsoft.AspNetCore.Authentication/internal/index.js';
|
|
44
|
-
export type IDataSerializer<TModel> = Internal.IDataSerializer_1<TModel>;
|
|
45
|
-
export type ISecureDataFormat<TData> = Internal.ISecureDataFormat_1<TData>;
|
|
49
|
+
export type IDataSerializer<TModel extends unknown> = Internal.IDataSerializer_1<TModel>;
|
|
50
|
+
export type ISecureDataFormat<TData extends unknown> = Internal.ISecureDataFormat_1<TData>;
|
|
46
51
|
export type ISystemClock = Internal.ISystemClock;
|
|
47
52
|
export { JsonDocumentAuthExtensions$instance as JsonDocumentAuthExtensions } from './Microsoft.AspNetCore.Authentication/internal/index.js';
|
|
48
53
|
export { PolicySchemeHandler as PolicySchemeHandler } from './Microsoft.AspNetCore.Authentication/internal/index.js';
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Authorization
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Authorization, Microsoft.AspNetCore.Authorization.Policy, Microsoft.AspNetCore.Metadata
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import type { PolicyAuthorizationResult } from "../../Microsoft.AspNetCore.Authorization.Policy/internal/index.js";
|
|
@@ -46,7 +47,7 @@ export type IAuthorizationHandler = IAuthorizationHandler$instance;
|
|
|
46
47
|
export interface IAuthorizationHandlerContextFactory$instance {
|
|
47
48
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationHandlerContextFactory: never;
|
|
48
49
|
|
|
49
|
-
CreateContext(requirements: IEnumerable_1<IAuthorizationRequirement>, user: ClaimsPrincipal, resource: unknown): AuthorizationHandlerContext;
|
|
50
|
+
CreateContext(requirements: IEnumerable_1<IAuthorizationRequirement>, user: ClaimsPrincipal, resource: unknown | null): AuthorizationHandlerContext;
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
|
|
@@ -75,7 +76,7 @@ export interface IAuthorizationPolicyProvider$instance {
|
|
|
75
76
|
|
|
76
77
|
readonly AllowsCachingPolicies: boolean;
|
|
77
78
|
GetDefaultPolicyAsync(): Task_1<AuthorizationPolicy>;
|
|
78
|
-
GetPolicyAsync(policyName: string): Task_1<AuthorizationPolicy |
|
|
79
|
+
GetPolicyAsync(policyName: string): Task_1<AuthorizationPolicy | null>;
|
|
79
80
|
}
|
|
80
81
|
|
|
81
82
|
|
|
@@ -101,8 +102,8 @@ export type IAuthorizationRequirementData = IAuthorizationRequirementData$instan
|
|
|
101
102
|
export interface IAuthorizationService$instance {
|
|
102
103
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationService: never;
|
|
103
104
|
|
|
104
|
-
AuthorizeAsync(user: ClaimsPrincipal, resource: unknown, requirements: IEnumerable_1<IAuthorizationRequirement>): Task_1<AuthorizationResult>;
|
|
105
|
-
AuthorizeAsync(user: ClaimsPrincipal, resource: unknown, policyName: string): Task_1<AuthorizationResult>;
|
|
105
|
+
AuthorizeAsync(user: ClaimsPrincipal, resource: unknown | null, requirements: IEnumerable_1<IAuthorizationRequirement>): Task_1<AuthorizationResult>;
|
|
106
|
+
AuthorizeAsync(user: ClaimsPrincipal, resource: unknown | null, policyName: string): Task_1<AuthorizationResult>;
|
|
106
107
|
}
|
|
107
108
|
|
|
108
109
|
|
|
@@ -111,12 +112,12 @@ export type IAuthorizationService = IAuthorizationService$instance;
|
|
|
111
112
|
export interface IAuthorizeData$instance {
|
|
112
113
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizeData: never;
|
|
113
114
|
|
|
114
|
-
get Policy(): string |
|
|
115
|
-
set Policy(value: string |
|
|
116
|
-
get Roles(): string |
|
|
117
|
-
set Roles(value: string |
|
|
118
|
-
get AuthenticationSchemes(): string |
|
|
119
|
-
set AuthenticationSchemes(value: string |
|
|
115
|
+
get Policy(): string | null;
|
|
116
|
+
set Policy(value: string | null);
|
|
117
|
+
get Roles(): string | null;
|
|
118
|
+
set Roles(value: string | null);
|
|
119
|
+
get AuthenticationSchemes(): string | null;
|
|
120
|
+
set AuthenticationSchemes(value: string | null);
|
|
120
121
|
}
|
|
121
122
|
|
|
122
123
|
|
|
@@ -149,7 +150,7 @@ export interface AuthorizationBuilder$instance {
|
|
|
149
150
|
AddPolicy(name: string, policy: AuthorizationPolicy): AuthorizationBuilder;
|
|
150
151
|
AddPolicy(name: string, configurePolicy: Action_1<AuthorizationPolicyBuilder>): AuthorizationBuilder;
|
|
151
152
|
SetDefaultPolicy(policy: AuthorizationPolicy): AuthorizationBuilder;
|
|
152
|
-
SetFallbackPolicy(policy: AuthorizationPolicy): AuthorizationBuilder;
|
|
153
|
+
SetFallbackPolicy(policy: AuthorizationPolicy | null): AuthorizationBuilder;
|
|
153
154
|
SetInvokeHandlersAfterFailure(invoke: boolean): AuthorizationBuilder;
|
|
154
155
|
}
|
|
155
156
|
|
|
@@ -194,7 +195,7 @@ export const AuthorizationFailureReason: {
|
|
|
194
195
|
|
|
195
196
|
export type AuthorizationFailureReason = AuthorizationFailureReason$instance;
|
|
196
197
|
|
|
197
|
-
export interface AuthorizationHandler_1$instance<TRequirement extends IAuthorizationRequirement> extends IAuthorizationHandler$instance {
|
|
198
|
+
export interface AuthorizationHandler_1$instance<TRequirement extends unknown & IAuthorizationRequirement> extends IAuthorizationHandler$instance {
|
|
198
199
|
readonly __tsonic_type_Microsoft_AspNetCore_Authorization_AuthorizationHandler_1: never;
|
|
199
200
|
|
|
200
201
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationHandler: never;
|
|
@@ -204,18 +205,18 @@ export interface AuthorizationHandler_1$instance<TRequirement extends IAuthoriza
|
|
|
204
205
|
}
|
|
205
206
|
|
|
206
207
|
|
|
207
|
-
export const AuthorizationHandler_1: (abstract new<TRequirement extends IAuthorizationRequirement>() => AuthorizationHandler_1<TRequirement>) & {
|
|
208
|
+
export const AuthorizationHandler_1: (abstract new<TRequirement extends unknown & IAuthorizationRequirement>() => AuthorizationHandler_1<TRequirement>) & {
|
|
208
209
|
};
|
|
209
210
|
|
|
210
211
|
|
|
211
|
-
export interface __AuthorizationHandler_1$views<TRequirement extends IAuthorizationRequirement> {
|
|
212
|
+
export interface __AuthorizationHandler_1$views<TRequirement extends unknown & IAuthorizationRequirement> {
|
|
212
213
|
As_IAuthorizationHandler(): IAuthorizationHandler$instance;
|
|
213
214
|
}
|
|
214
215
|
|
|
215
|
-
export type AuthorizationHandler_1<TRequirement extends IAuthorizationRequirement> = AuthorizationHandler_1$instance<TRequirement> & __AuthorizationHandler_1$views<TRequirement>;
|
|
216
|
+
export type AuthorizationHandler_1<TRequirement extends unknown & IAuthorizationRequirement> = AuthorizationHandler_1$instance<TRequirement> & __AuthorizationHandler_1$views<TRequirement>;
|
|
216
217
|
|
|
217
218
|
|
|
218
|
-
export interface AuthorizationHandler_2$instance<TRequirement extends IAuthorizationRequirement, TResource> extends IAuthorizationHandler$instance {
|
|
219
|
+
export interface AuthorizationHandler_2$instance<TRequirement extends unknown & IAuthorizationRequirement, TResource extends unknown> extends IAuthorizationHandler$instance {
|
|
219
220
|
readonly __tsonic_type_Microsoft_AspNetCore_Authorization_AuthorizationHandler_2: never;
|
|
220
221
|
|
|
221
222
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationHandler: never;
|
|
@@ -225,15 +226,15 @@ export interface AuthorizationHandler_2$instance<TRequirement extends IAuthoriza
|
|
|
225
226
|
}
|
|
226
227
|
|
|
227
228
|
|
|
228
|
-
export const AuthorizationHandler_2: (abstract new<TRequirement extends IAuthorizationRequirement, TResource>() => AuthorizationHandler_2<TRequirement, TResource>) & {
|
|
229
|
+
export const AuthorizationHandler_2: (abstract new<TRequirement extends unknown & IAuthorizationRequirement, TResource extends unknown>() => AuthorizationHandler_2<TRequirement, TResource>) & {
|
|
229
230
|
};
|
|
230
231
|
|
|
231
232
|
|
|
232
|
-
export interface __AuthorizationHandler_2$views<TRequirement extends IAuthorizationRequirement, TResource> {
|
|
233
|
+
export interface __AuthorizationHandler_2$views<TRequirement extends unknown & IAuthorizationRequirement, TResource extends unknown> {
|
|
233
234
|
As_IAuthorizationHandler(): IAuthorizationHandler$instance;
|
|
234
235
|
}
|
|
235
236
|
|
|
236
|
-
export type AuthorizationHandler_2<TRequirement extends IAuthorizationRequirement, TResource> = AuthorizationHandler_2$instance<TRequirement, TResource> & __AuthorizationHandler_2$views<TRequirement, TResource>;
|
|
237
|
+
export type AuthorizationHandler_2<TRequirement extends unknown & IAuthorizationRequirement, TResource extends unknown> = AuthorizationHandler_2$instance<TRequirement, TResource> & __AuthorizationHandler_2$views<TRequirement, TResource>;
|
|
237
238
|
|
|
238
239
|
|
|
239
240
|
export interface AuthorizationHandlerContext$instance {
|
|
@@ -244,7 +245,7 @@ export interface AuthorizationHandlerContext$instance {
|
|
|
244
245
|
readonly HasSucceeded: boolean;
|
|
245
246
|
readonly PendingRequirements: IEnumerable_1<IAuthorizationRequirement>;
|
|
246
247
|
readonly Requirements: IEnumerable_1<IAuthorizationRequirement>;
|
|
247
|
-
readonly Resource: unknown |
|
|
248
|
+
readonly Resource: unknown | null;
|
|
248
249
|
readonly User: ClaimsPrincipal;
|
|
249
250
|
Fail(): void;
|
|
250
251
|
Fail(reason: AuthorizationFailureReason): void;
|
|
@@ -253,7 +254,7 @@ export interface AuthorizationHandlerContext$instance {
|
|
|
253
254
|
|
|
254
255
|
|
|
255
256
|
export const AuthorizationHandlerContext: {
|
|
256
|
-
new(requirements: IEnumerable_1<IAuthorizationRequirement>, user: ClaimsPrincipal, resource: unknown): AuthorizationHandlerContext;
|
|
257
|
+
new(requirements: IEnumerable_1<IAuthorizationRequirement>, user: ClaimsPrincipal, resource: unknown | null): AuthorizationHandlerContext;
|
|
257
258
|
};
|
|
258
259
|
|
|
259
260
|
|
|
@@ -279,12 +280,12 @@ export interface AuthorizationOptions$instance {
|
|
|
279
280
|
readonly __tsonic_type_Microsoft_AspNetCore_Authorization_AuthorizationOptions: never;
|
|
280
281
|
|
|
281
282
|
DefaultPolicy: AuthorizationPolicy;
|
|
282
|
-
get FallbackPolicy(): AuthorizationPolicy |
|
|
283
|
-
set FallbackPolicy(value: AuthorizationPolicy |
|
|
283
|
+
get FallbackPolicy(): AuthorizationPolicy | null;
|
|
284
|
+
set FallbackPolicy(value: AuthorizationPolicy | null);
|
|
284
285
|
InvokeHandlersAfterFailure: boolean;
|
|
285
286
|
AddPolicy(name: string, policy: AuthorizationPolicy): void;
|
|
286
287
|
AddPolicy(name: string, configurePolicy: Action_1<AuthorizationPolicyBuilder>): void;
|
|
287
|
-
GetPolicy(name: string): AuthorizationPolicy |
|
|
288
|
+
GetPolicy(name: string): AuthorizationPolicy | null;
|
|
288
289
|
}
|
|
289
290
|
|
|
290
291
|
|
|
@@ -307,8 +308,8 @@ export const AuthorizationPolicy: {
|
|
|
307
308
|
new(requirements: IEnumerable_1<IAuthorizationRequirement>, authenticationSchemes: IEnumerable_1<System_Internal.String>): AuthorizationPolicy;
|
|
308
309
|
Combine(...policies: AuthorizationPolicy[]): AuthorizationPolicy;
|
|
309
310
|
Combine(policies: IEnumerable_1<AuthorizationPolicy>): AuthorizationPolicy;
|
|
310
|
-
CombineAsync(policyProvider: IAuthorizationPolicyProvider, authorizeData: IEnumerable_1<IAuthorizeData>, policies: IEnumerable_1<AuthorizationPolicy>): Task_1<AuthorizationPolicy |
|
|
311
|
-
CombineAsync(policyProvider: IAuthorizationPolicyProvider, authorizeData: IEnumerable_1<IAuthorizeData>): Task_1<AuthorizationPolicy |
|
|
311
|
+
CombineAsync(policyProvider: IAuthorizationPolicyProvider, authorizeData: IEnumerable_1<IAuthorizeData>, policies: IEnumerable_1<AuthorizationPolicy>): Task_1<AuthorizationPolicy | null>;
|
|
312
|
+
CombineAsync(policyProvider: IAuthorizationPolicyProvider, authorizeData: IEnumerable_1<IAuthorizeData>): Task_1<AuthorizationPolicy | null>;
|
|
312
313
|
};
|
|
313
314
|
|
|
314
315
|
|
|
@@ -346,8 +347,8 @@ export type AuthorizationPolicyBuilder = AuthorizationPolicyBuilder$instance;
|
|
|
346
347
|
export interface AuthorizationResult$instance {
|
|
347
348
|
readonly __tsonic_type_Microsoft_AspNetCore_Authorization_AuthorizationResult: never;
|
|
348
349
|
|
|
349
|
-
get Failure(): AuthorizationFailure |
|
|
350
|
-
set Failure(value: AuthorizationFailure |
|
|
350
|
+
get Failure(): AuthorizationFailure | null;
|
|
351
|
+
set Failure(value: AuthorizationFailure | null);
|
|
351
352
|
Succeeded: boolean;
|
|
352
353
|
}
|
|
353
354
|
|
|
@@ -366,12 +367,12 @@ export interface AuthorizeAttribute$instance extends Attribute, IAuthorizeData$i
|
|
|
366
367
|
|
|
367
368
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizeData: never;
|
|
368
369
|
|
|
369
|
-
get AuthenticationSchemes(): string |
|
|
370
|
-
set AuthenticationSchemes(value: string |
|
|
371
|
-
get Policy(): string |
|
|
372
|
-
set Policy(value: string |
|
|
373
|
-
get Roles(): string |
|
|
374
|
-
set Roles(value: string |
|
|
370
|
+
get AuthenticationSchemes(): string | null;
|
|
371
|
+
set AuthenticationSchemes(value: string | null);
|
|
372
|
+
get Policy(): string | null;
|
|
373
|
+
set Policy(value: string | null);
|
|
374
|
+
get Roles(): string | null;
|
|
375
|
+
set Roles(value: string | null);
|
|
375
376
|
ToString(): string;
|
|
376
377
|
}
|
|
377
378
|
|
|
@@ -415,7 +416,7 @@ export interface DefaultAuthorizationHandlerContextFactory$instance extends IAut
|
|
|
415
416
|
|
|
416
417
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationHandlerContextFactory: never;
|
|
417
418
|
|
|
418
|
-
CreateContext(requirements: IEnumerable_1<IAuthorizationRequirement>, user: ClaimsPrincipal, resource: unknown): AuthorizationHandlerContext;
|
|
419
|
+
CreateContext(requirements: IEnumerable_1<IAuthorizationRequirement>, user: ClaimsPrincipal, resource: unknown | null): AuthorizationHandlerContext;
|
|
419
420
|
}
|
|
420
421
|
|
|
421
422
|
|
|
@@ -459,8 +460,8 @@ export interface DefaultAuthorizationPolicyProvider$instance extends IAuthorizat
|
|
|
459
460
|
|
|
460
461
|
readonly AllowsCachingPolicies: boolean;
|
|
461
462
|
GetDefaultPolicyAsync(): Task_1<AuthorizationPolicy>;
|
|
462
|
-
GetFallbackPolicyAsync(): Task_1<AuthorizationPolicy |
|
|
463
|
-
GetPolicyAsync(policyName: string): Task_1<AuthorizationPolicy |
|
|
463
|
+
GetFallbackPolicyAsync(): Task_1<AuthorizationPolicy | null>;
|
|
464
|
+
GetPolicyAsync(policyName: string): Task_1<AuthorizationPolicy | null>;
|
|
464
465
|
}
|
|
465
466
|
|
|
466
467
|
|
|
@@ -481,8 +482,8 @@ export interface DefaultAuthorizationService$instance {
|
|
|
481
482
|
|
|
482
483
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationService: never;
|
|
483
484
|
|
|
484
|
-
AuthorizeAsync(user: ClaimsPrincipal, resource: unknown, requirements: IEnumerable_1<IAuthorizationRequirement>): Task_1<AuthorizationResult>;
|
|
485
|
-
AuthorizeAsync(user: ClaimsPrincipal, resource: unknown, policyName: string): Task_1<AuthorizationResult>;
|
|
485
|
+
AuthorizeAsync(user: ClaimsPrincipal, resource: unknown | null, requirements: IEnumerable_1<IAuthorizationRequirement>): Task_1<AuthorizationResult>;
|
|
486
|
+
AuthorizeAsync(user: ClaimsPrincipal, resource: unknown | null, policyName: string): Task_1<AuthorizationResult>;
|
|
486
487
|
}
|
|
487
488
|
|
|
488
489
|
|
|
@@ -500,8 +501,8 @@ export type DefaultAuthorizationService = DefaultAuthorizationService$instance &
|
|
|
500
501
|
|
|
501
502
|
export abstract class AuthorizationServiceExtensions$instance {
|
|
502
503
|
static AuthorizeAsync(service: IAuthorizationService, user: ClaimsPrincipal, policy: AuthorizationPolicy): Task_1<AuthorizationResult>;
|
|
503
|
-
static AuthorizeAsync(service: IAuthorizationService, user: ClaimsPrincipal, resource: unknown, policy: AuthorizationPolicy): Task_1<AuthorizationResult>;
|
|
504
|
-
static AuthorizeAsync(service: IAuthorizationService, user: ClaimsPrincipal, resource: unknown, requirement: IAuthorizationRequirement): Task_1<AuthorizationResult>;
|
|
504
|
+
static AuthorizeAsync(service: IAuthorizationService, user: ClaimsPrincipal, resource: unknown | null, policy: AuthorizationPolicy): Task_1<AuthorizationResult>;
|
|
505
|
+
static AuthorizeAsync(service: IAuthorizationService, user: ClaimsPrincipal, resource: unknown | null, requirement: IAuthorizationRequirement): Task_1<AuthorizationResult>;
|
|
505
506
|
static AuthorizeAsync(service: IAuthorizationService, user: ClaimsPrincipal, policyName: string): Task_1<AuthorizationResult>;
|
|
506
507
|
}
|
|
507
508
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Authorization.Infrastructure
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Authorization
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import * as Microsoft_AspNetCore_Authorization_Internal from "../../Microsoft.AspNetCore.Authorization/internal/index.js";
|
|
@@ -45,7 +46,7 @@ export interface ClaimsAuthorizationRequirement$instance extends AuthorizationHa
|
|
|
45
46
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationHandler: never;
|
|
46
47
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationRequirement: never;
|
|
47
48
|
|
|
48
|
-
readonly AllowedValues: IEnumerable_1<System_Internal.String> |
|
|
49
|
+
readonly AllowedValues: IEnumerable_1<System_Internal.String> | null;
|
|
49
50
|
readonly ClaimType: string;
|
|
50
51
|
HandleRequirementAsync(context: AuthorizationHandlerContext, requirement: ClaimsAuthorizationRequirement): Task;
|
|
51
52
|
ToString(): string;
|
|
@@ -53,7 +54,7 @@ export interface ClaimsAuthorizationRequirement$instance extends AuthorizationHa
|
|
|
53
54
|
|
|
54
55
|
|
|
55
56
|
export const ClaimsAuthorizationRequirement: {
|
|
56
|
-
new(claimType: string, allowedValues: IEnumerable_1<System_Internal.String>): ClaimsAuthorizationRequirement;
|
|
57
|
+
new(claimType: string, allowedValues: IEnumerable_1<System_Internal.String> | null): ClaimsAuthorizationRequirement;
|
|
57
58
|
};
|
|
58
59
|
|
|
59
60
|
|