@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,11 +2,13 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Authentication
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Authentication, Microsoft.AspNetCore.Authentication.Abstractions, Microsoft.AspNetCore.Authentication.Core, 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";
|
|
11
|
+
import type { OAuthEvents } from "../../Microsoft.AspNetCore.Authentication.OAuth/internal/index.js";
|
|
10
12
|
import type { IDataProtectionProvider, IDataProtector } from "../../Microsoft.AspNetCore.DataProtection/internal/index.js";
|
|
11
13
|
import * as Microsoft_AspNetCore_Http_Internal from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
12
14
|
import type { CookieBuilder, CookieOptions, CookieSecurePolicy, HttpContext, HttpRequest, HttpResponse, PathString, RequestDelegate, SameSiteMode } from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
@@ -29,8 +31,8 @@ import type { IOptions_1, IOptionsMonitor_1 } from "@tsonic/microsoft-extensions
|
|
|
29
31
|
export interface IAuthenticateResultFeature$instance {
|
|
30
32
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticateResultFeature: never;
|
|
31
33
|
|
|
32
|
-
get AuthenticateResult(): AuthenticateResult |
|
|
33
|
-
set AuthenticateResult(value: AuthenticateResult |
|
|
34
|
+
get AuthenticateResult(): AuthenticateResult | null;
|
|
35
|
+
set AuthenticateResult(value: AuthenticateResult | null);
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
|
|
@@ -59,7 +61,7 @@ export interface IAuthenticationHandler$instance {
|
|
|
59
61
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
60
62
|
|
|
61
63
|
AuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
62
|
-
ChallengeAsync(properties: AuthenticationProperties): Task;
|
|
64
|
+
ChallengeAsync(properties: AuthenticationProperties | null): Task;
|
|
63
65
|
InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
|
|
64
66
|
}
|
|
65
67
|
|
|
@@ -69,7 +71,7 @@ export type IAuthenticationHandler = IAuthenticationHandler$instance;
|
|
|
69
71
|
export interface IAuthenticationHandlerProvider$instance {
|
|
70
72
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandlerProvider: never;
|
|
71
73
|
|
|
72
|
-
GetHandlerAsync(context: HttpContext, authenticationScheme: string): Task_1<IAuthenticationHandler |
|
|
74
|
+
GetHandlerAsync(context: HttpContext, authenticationScheme: string): Task_1<IAuthenticationHandler | null>;
|
|
73
75
|
}
|
|
74
76
|
|
|
75
77
|
|
|
@@ -78,7 +80,7 @@ export type IAuthenticationHandlerProvider = IAuthenticationHandlerProvider$inst
|
|
|
78
80
|
export interface IAuthenticationRequestHandler$instance extends IAuthenticationHandler {
|
|
79
81
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationRequestHandler: never;
|
|
80
82
|
|
|
81
|
-
ChallengeAsync(properties: AuthenticationProperties): Task;
|
|
83
|
+
ChallengeAsync(properties: AuthenticationProperties | null): Task;
|
|
82
84
|
HandleRequestAsync(): Task_1<System_Internal.Boolean>;
|
|
83
85
|
InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
|
|
84
86
|
AuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
@@ -94,7 +96,7 @@ export interface IAuthenticationSchemeProvider$instance {
|
|
|
94
96
|
|
|
95
97
|
AddScheme(scheme: AuthenticationScheme): void;
|
|
96
98
|
GetAllSchemesAsync(): Task_1<IEnumerable_1<AuthenticationScheme>>;
|
|
97
|
-
GetSchemeAsync(name: string): Task_1<AuthenticationScheme |
|
|
99
|
+
GetSchemeAsync(name: string): Task_1<AuthenticationScheme | null>;
|
|
98
100
|
RemoveScheme(name: string): void;
|
|
99
101
|
TryAddScheme(scheme: AuthenticationScheme): boolean;
|
|
100
102
|
}
|
|
@@ -105,9 +107,9 @@ export type IAuthenticationSchemeProvider = IAuthenticationSchemeProvider$instan
|
|
|
105
107
|
export interface IAuthenticationService$instance {
|
|
106
108
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationService: never;
|
|
107
109
|
|
|
108
|
-
AuthenticateAsync(context: HttpContext, scheme: string): Task_1<AuthenticateResult>;
|
|
109
|
-
ChallengeAsync(context: HttpContext, scheme: string, properties: AuthenticationProperties): Task;
|
|
110
|
-
SignInAsync(context: HttpContext, scheme: string, principal: ClaimsPrincipal, properties: AuthenticationProperties): Task;
|
|
110
|
+
AuthenticateAsync(context: HttpContext, scheme: string | null): Task_1<AuthenticateResult>;
|
|
111
|
+
ChallengeAsync(context: HttpContext, scheme: string | null, properties: AuthenticationProperties | null): Task;
|
|
112
|
+
SignInAsync(context: HttpContext, scheme: string | null, principal: ClaimsPrincipal, properties: AuthenticationProperties | null): Task;
|
|
111
113
|
}
|
|
112
114
|
|
|
113
115
|
|
|
@@ -118,12 +120,14 @@ export interface IAuthenticationSignInHandler$instance extends IAuthenticationSi
|
|
|
118
120
|
|
|
119
121
|
AuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
120
122
|
InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
|
|
121
|
-
SignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties): Task;
|
|
122
|
-
SignOutAsync(properties: AuthenticationProperties): Task;
|
|
123
|
-
ChallengeAsync(properties: AuthenticationProperties): Task;
|
|
123
|
+
SignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties | null): Task;
|
|
124
|
+
SignOutAsync(properties: AuthenticationProperties | null): Task;
|
|
125
|
+
ChallengeAsync(properties: AuthenticationProperties | null): Task;
|
|
124
126
|
}
|
|
125
127
|
|
|
126
128
|
|
|
129
|
+
export interface IAuthenticationSignInHandler$instance extends IAuthenticationSignOutHandler$instance {}
|
|
130
|
+
|
|
127
131
|
export type IAuthenticationSignInHandler = IAuthenticationSignInHandler$instance;
|
|
128
132
|
|
|
129
133
|
export interface IAuthenticationSignOutHandler$instance extends IAuthenticationHandler {
|
|
@@ -131,8 +135,8 @@ export interface IAuthenticationSignOutHandler$instance extends IAuthenticationH
|
|
|
131
135
|
|
|
132
136
|
AuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
133
137
|
InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
|
|
134
|
-
SignOutAsync(properties: AuthenticationProperties): Task;
|
|
135
|
-
ChallengeAsync(properties: AuthenticationProperties): Task;
|
|
138
|
+
SignOutAsync(properties: AuthenticationProperties | null): Task;
|
|
139
|
+
ChallengeAsync(properties: AuthenticationProperties | null): Task;
|
|
136
140
|
}
|
|
137
141
|
|
|
138
142
|
|
|
@@ -149,27 +153,27 @@ export interface IClaimsTransformation$instance {
|
|
|
149
153
|
|
|
150
154
|
export type IClaimsTransformation = IClaimsTransformation$instance;
|
|
151
155
|
|
|
152
|
-
export interface IDataSerializer_1$instance<TModel> {
|
|
156
|
+
export interface IDataSerializer_1$instance<TModel extends unknown> {
|
|
153
157
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IDataSerializer_1: never;
|
|
154
158
|
|
|
155
|
-
Deserialize(data: byte[]): TModel |
|
|
159
|
+
Deserialize(data: byte[]): TModel | null;
|
|
156
160
|
Serialize(model: TModel): byte[];
|
|
157
161
|
}
|
|
158
162
|
|
|
159
163
|
|
|
160
|
-
export type IDataSerializer_1<TModel> = IDataSerializer_1$instance<TModel>;
|
|
164
|
+
export type IDataSerializer_1<TModel extends unknown> = IDataSerializer_1$instance<TModel>;
|
|
161
165
|
|
|
162
|
-
export interface ISecureDataFormat_1$instance<TData> {
|
|
166
|
+
export interface ISecureDataFormat_1$instance<TData extends unknown> {
|
|
163
167
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_ISecureDataFormat_1: never;
|
|
164
168
|
|
|
165
|
-
Protect(data: TData, purpose: string): string;
|
|
169
|
+
Protect(data: TData, purpose: string | null): string;
|
|
166
170
|
Protect(data: TData): string;
|
|
167
|
-
Unprotect(protectedText: string, purpose: string): TData |
|
|
168
|
-
Unprotect(protectedText: string): TData |
|
|
171
|
+
Unprotect(protectedText: string | null, purpose: string | null): TData | null;
|
|
172
|
+
Unprotect(protectedText: string | null): TData | null;
|
|
169
173
|
}
|
|
170
174
|
|
|
171
175
|
|
|
172
|
-
export type ISecureDataFormat_1<TData> = ISecureDataFormat_1$instance<TData>;
|
|
176
|
+
export type ISecureDataFormat_1<TData extends unknown> = ISecureDataFormat_1$instance<TData>;
|
|
173
177
|
|
|
174
178
|
export interface ISystemClock$instance {
|
|
175
179
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_ISystemClock: never;
|
|
@@ -184,10 +188,10 @@ export interface AccessDeniedContext$instance extends HandleRequestContext_1<Rem
|
|
|
184
188
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AccessDeniedContext: never;
|
|
185
189
|
|
|
186
190
|
AccessDeniedPath: PathString;
|
|
187
|
-
get Properties(): AuthenticationProperties |
|
|
188
|
-
set Properties(value: AuthenticationProperties |
|
|
189
|
-
get ReturnUrl(): string |
|
|
190
|
-
set ReturnUrl(value: string |
|
|
191
|
+
get Properties(): AuthenticationProperties | null;
|
|
192
|
+
set Properties(value: AuthenticationProperties | null);
|
|
193
|
+
get ReturnUrl(): string | null;
|
|
194
|
+
set ReturnUrl(value: string | null);
|
|
191
195
|
ReturnUrlParameter: string;
|
|
192
196
|
}
|
|
193
197
|
|
|
@@ -202,23 +206,23 @@ export type AccessDeniedContext = AccessDeniedContext$instance;
|
|
|
202
206
|
export interface AuthenticateResult$instance {
|
|
203
207
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticateResult: never;
|
|
204
208
|
|
|
205
|
-
get Failure(): Exception |
|
|
206
|
-
set Failure(value: Exception |
|
|
209
|
+
get Failure(): Exception | null;
|
|
210
|
+
set Failure(value: Exception | null);
|
|
207
211
|
None: boolean;
|
|
208
|
-
readonly Principal: ClaimsPrincipal |
|
|
209
|
-
get Properties(): AuthenticationProperties |
|
|
210
|
-
set Properties(value: AuthenticationProperties |
|
|
212
|
+
readonly Principal: ClaimsPrincipal | null;
|
|
213
|
+
get Properties(): AuthenticationProperties | null;
|
|
214
|
+
set Properties(value: AuthenticationProperties | null);
|
|
211
215
|
readonly Succeeded: boolean;
|
|
212
|
-
get Ticket(): AuthenticationTicket |
|
|
213
|
-
set Ticket(value: AuthenticationTicket |
|
|
216
|
+
get Ticket(): AuthenticationTicket | null;
|
|
217
|
+
set Ticket(value: AuthenticationTicket | null);
|
|
214
218
|
Clone(): AuthenticateResult;
|
|
215
219
|
}
|
|
216
220
|
|
|
217
221
|
|
|
218
222
|
export const AuthenticateResult: (abstract new() => AuthenticateResult) & {
|
|
219
|
-
Fail(failure: Exception, properties: AuthenticationProperties): AuthenticateResult;
|
|
223
|
+
Fail(failure: Exception, properties: AuthenticationProperties | null): AuthenticateResult;
|
|
220
224
|
Fail(failure: Exception): AuthenticateResult;
|
|
221
|
-
Fail(failureMessage: string, properties: AuthenticationProperties): AuthenticateResult;
|
|
225
|
+
Fail(failureMessage: string, properties: AuthenticationProperties | null): AuthenticateResult;
|
|
222
226
|
Fail(failureMessage: string): AuthenticateResult;
|
|
223
227
|
NoResult(): AuthenticateResult;
|
|
224
228
|
Success(ticket: AuthenticationTicket): AuthenticateResult;
|
|
@@ -231,10 +235,10 @@ export interface AuthenticationBuilder$instance {
|
|
|
231
235
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationBuilder: never;
|
|
232
236
|
|
|
233
237
|
readonly Services: IServiceCollection;
|
|
234
|
-
AddPolicyScheme(authenticationScheme: string, displayName: string, configureOptions: Action_1<PolicySchemeOptions>): AuthenticationBuilder;
|
|
235
|
-
AddRemoteScheme<TOptions extends RemoteAuthenticationOptions, THandler extends RemoteAuthenticationHandler_1<TOptions>>(authenticationScheme: string, displayName: string, configureOptions: Action_1<TOptions>): AuthenticationBuilder;
|
|
236
|
-
AddScheme<TOptions extends AuthenticationSchemeOptions, THandler extends AuthenticationHandler_1<TOptions>>(authenticationScheme: string, displayName: string, configureOptions: Action_1<TOptions>): AuthenticationBuilder;
|
|
237
|
-
AddScheme<TOptions extends AuthenticationSchemeOptions, THandler extends AuthenticationHandler_1<TOptions>>(authenticationScheme: string, configureOptions: Action_1<TOptions>): AuthenticationBuilder;
|
|
238
|
+
AddPolicyScheme(authenticationScheme: string, displayName: string | null, configureOptions: Action_1<PolicySchemeOptions>): AuthenticationBuilder;
|
|
239
|
+
AddRemoteScheme<TOptions extends unknown & RemoteAuthenticationOptions, THandler extends unknown & RemoteAuthenticationHandler_1<TOptions>>(authenticationScheme: string, displayName: string | null, configureOptions: Action_1<TOptions> | null): AuthenticationBuilder;
|
|
240
|
+
AddScheme<TOptions extends unknown & AuthenticationSchemeOptions, THandler extends unknown & AuthenticationHandler_1<TOptions>>(authenticationScheme: string, displayName: string | null, configureOptions: Action_1<TOptions> | null): AuthenticationBuilder;
|
|
241
|
+
AddScheme<TOptions extends unknown & AuthenticationSchemeOptions, THandler extends unknown & AuthenticationHandler_1<TOptions>>(authenticationScheme: string, configureOptions: Action_1<TOptions> | null): AuthenticationBuilder;
|
|
238
242
|
}
|
|
239
243
|
|
|
240
244
|
|
|
@@ -254,8 +258,8 @@ export interface AuthenticationFailureException$instance extends Exception {
|
|
|
254
258
|
|
|
255
259
|
|
|
256
260
|
export const AuthenticationFailureException: {
|
|
257
|
-
new(message: string): AuthenticationFailureException;
|
|
258
|
-
new(message: string, innerException: Exception): AuthenticationFailureException;
|
|
261
|
+
new(message: string | null): AuthenticationFailureException;
|
|
262
|
+
new(message: string | null, innerException: Exception | null): AuthenticationFailureException;
|
|
259
263
|
};
|
|
260
264
|
|
|
261
265
|
|
|
@@ -283,38 +287,38 @@ export interface __AuthenticationFeature$views {
|
|
|
283
287
|
export type AuthenticationFeature = AuthenticationFeature$instance & __AuthenticationFeature$views;
|
|
284
288
|
|
|
285
289
|
|
|
286
|
-
export interface AuthenticationHandler_1$instance<TOptions extends AuthenticationSchemeOptions> extends IAuthenticationHandler$instance {
|
|
290
|
+
export interface AuthenticationHandler_1$instance<TOptions extends unknown & AuthenticationSchemeOptions> extends IAuthenticationHandler$instance {
|
|
287
291
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationHandler_1: never;
|
|
288
292
|
|
|
289
293
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
290
294
|
|
|
291
295
|
readonly ClaimsIssuer: string;
|
|
292
|
-
Events: unknown;
|
|
296
|
+
Events: RemoteAuthenticationEvents | unknown;
|
|
293
297
|
Options: TOptions;
|
|
294
298
|
Scheme: AuthenticationScheme;
|
|
295
299
|
AuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
296
|
-
ChallengeAsync(properties: AuthenticationProperties): Task;
|
|
300
|
+
ChallengeAsync(properties: AuthenticationProperties | null): Task;
|
|
297
301
|
CreateEventsAsync(): Task_1<unknown>;
|
|
298
|
-
ForbidAsync(properties: AuthenticationProperties): Task;
|
|
302
|
+
ForbidAsync(properties: AuthenticationProperties | null): Task;
|
|
299
303
|
HandleAuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
300
304
|
HandleChallengeAsync(properties: AuthenticationProperties): Task;
|
|
301
305
|
HandleForbiddenAsync(properties: AuthenticationProperties): Task;
|
|
302
306
|
InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
|
|
303
307
|
InitializeEventsAsync(): Task;
|
|
304
308
|
InitializeHandlerAsync(): Task;
|
|
305
|
-
ResolveTarget(scheme: string): string |
|
|
309
|
+
ResolveTarget(scheme: string | null): string | null;
|
|
306
310
|
}
|
|
307
311
|
|
|
308
312
|
|
|
309
|
-
export const AuthenticationHandler_1: (abstract new<TOptions extends AuthenticationSchemeOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder, clock: ISystemClock) => AuthenticationHandler_1<TOptions>) & (abstract new<TOptions extends AuthenticationSchemeOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder) => AuthenticationHandler_1<TOptions>) & {
|
|
313
|
+
export const AuthenticationHandler_1: (abstract new<TOptions extends unknown & AuthenticationSchemeOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder, clock: ISystemClock) => AuthenticationHandler_1<TOptions>) & (abstract new<TOptions extends unknown & AuthenticationSchemeOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder) => AuthenticationHandler_1<TOptions>) & {
|
|
310
314
|
};
|
|
311
315
|
|
|
312
316
|
|
|
313
|
-
export interface __AuthenticationHandler_1$views<TOptions extends AuthenticationSchemeOptions> {
|
|
317
|
+
export interface __AuthenticationHandler_1$views<TOptions extends unknown & AuthenticationSchemeOptions> {
|
|
314
318
|
As_IAuthenticationHandler(): IAuthenticationHandler$instance;
|
|
315
319
|
}
|
|
316
320
|
|
|
317
|
-
export type AuthenticationHandler_1<TOptions extends AuthenticationSchemeOptions> = AuthenticationHandler_1$instance<TOptions> & __AuthenticationHandler_1$views<TOptions>;
|
|
321
|
+
export type AuthenticationHandler_1<TOptions extends unknown & AuthenticationSchemeOptions> = AuthenticationHandler_1$instance<TOptions> & __AuthenticationHandler_1$views<TOptions>;
|
|
318
322
|
|
|
319
323
|
|
|
320
324
|
export interface AuthenticationHandlerProvider$instance extends IAuthenticationHandlerProvider$instance {
|
|
@@ -323,7 +327,7 @@ export interface AuthenticationHandlerProvider$instance extends IAuthenticationH
|
|
|
323
327
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandlerProvider: never;
|
|
324
328
|
|
|
325
329
|
readonly Schemes: IAuthenticationSchemeProvider;
|
|
326
|
-
GetHandlerAsync(context: HttpContext, authenticationScheme: string): Task_1<IAuthenticationHandler |
|
|
330
|
+
GetHandlerAsync(context: HttpContext, authenticationScheme: string): Task_1<IAuthenticationHandler | null>;
|
|
327
331
|
}
|
|
328
332
|
|
|
329
333
|
|
|
@@ -357,23 +361,23 @@ export type AuthenticationMiddleware = AuthenticationMiddleware$instance;
|
|
|
357
361
|
export interface AuthenticationOptions$instance {
|
|
358
362
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationOptions: never;
|
|
359
363
|
|
|
360
|
-
get DefaultAuthenticateScheme(): string |
|
|
361
|
-
set DefaultAuthenticateScheme(value: string |
|
|
362
|
-
get DefaultChallengeScheme(): string |
|
|
363
|
-
set DefaultChallengeScheme(value: string |
|
|
364
|
-
get DefaultForbidScheme(): string |
|
|
365
|
-
set DefaultForbidScheme(value: string |
|
|
366
|
-
get DefaultScheme(): string |
|
|
367
|
-
set DefaultScheme(value: string |
|
|
368
|
-
get DefaultSignInScheme(): string |
|
|
369
|
-
set DefaultSignInScheme(value: string |
|
|
370
|
-
get DefaultSignOutScheme(): string |
|
|
371
|
-
set DefaultSignOutScheme(value: string |
|
|
364
|
+
get DefaultAuthenticateScheme(): string | null;
|
|
365
|
+
set DefaultAuthenticateScheme(value: string | null);
|
|
366
|
+
get DefaultChallengeScheme(): string | null;
|
|
367
|
+
set DefaultChallengeScheme(value: string | null);
|
|
368
|
+
get DefaultForbidScheme(): string | null;
|
|
369
|
+
set DefaultForbidScheme(value: string | null);
|
|
370
|
+
get DefaultScheme(): string | null;
|
|
371
|
+
set DefaultScheme(value: string | null);
|
|
372
|
+
get DefaultSignInScheme(): string | null;
|
|
373
|
+
set DefaultSignInScheme(value: string | null);
|
|
374
|
+
get DefaultSignOutScheme(): string | null;
|
|
375
|
+
set DefaultSignOutScheme(value: string | null);
|
|
372
376
|
RequireAuthenticatedSignIn: boolean;
|
|
373
377
|
readonly SchemeMap: IDictionary_2<System_Internal.String, AuthenticationSchemeBuilder>;
|
|
374
378
|
readonly Schemes: IEnumerable_1<AuthenticationSchemeBuilder>;
|
|
375
379
|
AddScheme(name: string, configureBuilder: Action_1<AuthenticationSchemeBuilder>): void;
|
|
376
|
-
AddScheme<THandler extends IAuthenticationHandler>(name: string, displayName: string): void;
|
|
380
|
+
AddScheme<THandler extends unknown & IAuthenticationHandler>(name: string, displayName: string | null): void;
|
|
377
381
|
}
|
|
378
382
|
|
|
379
383
|
|
|
@@ -394,22 +398,22 @@ export interface AuthenticationProperties$instance {
|
|
|
394
398
|
IsPersistent: boolean;
|
|
395
399
|
get IssuedUtc(): Nullable_1<DateTimeOffset>;
|
|
396
400
|
set IssuedUtc(value: Nullable_1<DateTimeOffset> | DateTimeOffset);
|
|
397
|
-
readonly Items: IDictionary_2<System_Internal.String, string |
|
|
398
|
-
readonly Parameters: IDictionary_2<System_Internal.String, unknown |
|
|
399
|
-
get RedirectUri(): string |
|
|
400
|
-
set RedirectUri(value: string |
|
|
401
|
+
readonly Items: IDictionary_2<System_Internal.String, string | null>;
|
|
402
|
+
readonly Parameters: IDictionary_2<System_Internal.String, unknown | null>;
|
|
403
|
+
get RedirectUri(): string | null;
|
|
404
|
+
set RedirectUri(value: string | null);
|
|
401
405
|
Clone(): AuthenticationProperties;
|
|
402
|
-
GetParameter<T>(key: string): T |
|
|
403
|
-
GetString(key: string): string |
|
|
404
|
-
SetParameter<T>(key: string, value: T): void;
|
|
405
|
-
SetString(key: string, value: string): void;
|
|
406
|
+
GetParameter<T extends unknown>(key: string): T | null;
|
|
407
|
+
GetString(key: string): string | null;
|
|
408
|
+
SetParameter<T extends unknown>(key: string, value: T): void;
|
|
409
|
+
SetString(key: string, value: string | null): void;
|
|
406
410
|
}
|
|
407
411
|
|
|
408
412
|
|
|
409
413
|
export const AuthenticationProperties: {
|
|
410
414
|
new(): AuthenticationProperties;
|
|
411
|
-
new(items: IDictionary_2<System_Internal.String,
|
|
412
|
-
new(items: IDictionary_2<System_Internal.String,
|
|
415
|
+
new(items: IDictionary_2<System_Internal.String, string | null>): AuthenticationProperties;
|
|
416
|
+
new(items: IDictionary_2<System_Internal.String, string | null> | null, parameters: IDictionary_2<System_Internal.String, unknown | null> | null): AuthenticationProperties;
|
|
413
417
|
};
|
|
414
418
|
|
|
415
419
|
|
|
@@ -418,14 +422,14 @@ export type AuthenticationProperties = AuthenticationProperties$instance;
|
|
|
418
422
|
export interface AuthenticationScheme$instance {
|
|
419
423
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationScheme: never;
|
|
420
424
|
|
|
421
|
-
readonly DisplayName: string |
|
|
425
|
+
readonly DisplayName: string | null;
|
|
422
426
|
readonly HandlerType: Type;
|
|
423
427
|
readonly Name: string;
|
|
424
428
|
}
|
|
425
429
|
|
|
426
430
|
|
|
427
431
|
export const AuthenticationScheme: {
|
|
428
|
-
new(name: string, displayName: string, handlerType: Type): AuthenticationScheme;
|
|
432
|
+
new(name: string, displayName: string | null, handlerType: Type): AuthenticationScheme;
|
|
429
433
|
};
|
|
430
434
|
|
|
431
435
|
|
|
@@ -434,10 +438,10 @@ export type AuthenticationScheme = AuthenticationScheme$instance;
|
|
|
434
438
|
export interface AuthenticationSchemeBuilder$instance {
|
|
435
439
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationSchemeBuilder: never;
|
|
436
440
|
|
|
437
|
-
get DisplayName(): string |
|
|
438
|
-
set DisplayName(value: string |
|
|
439
|
-
get HandlerType(): Type |
|
|
440
|
-
set HandlerType(value: Type |
|
|
441
|
+
get DisplayName(): string | null;
|
|
442
|
+
set DisplayName(value: string | null);
|
|
443
|
+
get HandlerType(): Type | null;
|
|
444
|
+
set HandlerType(value: Type | null);
|
|
441
445
|
readonly Name: string;
|
|
442
446
|
Build(): AuthenticationScheme;
|
|
443
447
|
}
|
|
@@ -453,27 +457,27 @@ export type AuthenticationSchemeBuilder = AuthenticationSchemeBuilder$instance;
|
|
|
453
457
|
export interface AuthenticationSchemeOptions$instance {
|
|
454
458
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationSchemeOptions: never;
|
|
455
459
|
|
|
456
|
-
get ClaimsIssuer(): string |
|
|
457
|
-
set ClaimsIssuer(value: string |
|
|
458
|
-
Events: unknown;
|
|
459
|
-
get EventsType(): Type |
|
|
460
|
-
set EventsType(value: Type |
|
|
461
|
-
get ForwardAuthenticate(): string |
|
|
462
|
-
set ForwardAuthenticate(value: string |
|
|
463
|
-
get ForwardChallenge(): string |
|
|
464
|
-
set ForwardChallenge(value: string |
|
|
465
|
-
get ForwardDefault(): string |
|
|
466
|
-
set ForwardDefault(value: string |
|
|
467
|
-
get ForwardDefaultSelector(): Func_2<HttpContext, string |
|
|
468
|
-
set ForwardDefaultSelector(value: Func_2<HttpContext, string |
|
|
469
|
-
get ForwardForbid(): string |
|
|
470
|
-
set ForwardForbid(value: string |
|
|
471
|
-
get ForwardSignIn(): string |
|
|
472
|
-
set ForwardSignIn(value: string |
|
|
473
|
-
get ForwardSignOut(): string |
|
|
474
|
-
set ForwardSignOut(value: string |
|
|
475
|
-
get TimeProvider(): TimeProvider |
|
|
476
|
-
set TimeProvider(value: TimeProvider |
|
|
460
|
+
get ClaimsIssuer(): string | null;
|
|
461
|
+
set ClaimsIssuer(value: string | null);
|
|
462
|
+
Events: OAuthEvents | RemoteAuthenticationEvents | unknown;
|
|
463
|
+
get EventsType(): Type | null;
|
|
464
|
+
set EventsType(value: Type | null);
|
|
465
|
+
get ForwardAuthenticate(): string | null;
|
|
466
|
+
set ForwardAuthenticate(value: string | null);
|
|
467
|
+
get ForwardChallenge(): string | null;
|
|
468
|
+
set ForwardChallenge(value: string | null);
|
|
469
|
+
get ForwardDefault(): string | null;
|
|
470
|
+
set ForwardDefault(value: string | null);
|
|
471
|
+
get ForwardDefaultSelector(): Func_2<HttpContext, string | null> | null;
|
|
472
|
+
set ForwardDefaultSelector(value: Func_2<HttpContext, string | null> | null);
|
|
473
|
+
get ForwardForbid(): string | null;
|
|
474
|
+
set ForwardForbid(value: string | null);
|
|
475
|
+
get ForwardSignIn(): string | null;
|
|
476
|
+
set ForwardSignIn(value: string | null);
|
|
477
|
+
get ForwardSignOut(): string | null;
|
|
478
|
+
set ForwardSignOut(value: string | null);
|
|
479
|
+
get TimeProvider(): TimeProvider | null;
|
|
480
|
+
set TimeProvider(value: TimeProvider | null);
|
|
477
481
|
Validate(): void;
|
|
478
482
|
Validate(scheme: string): void;
|
|
479
483
|
}
|
|
@@ -493,13 +497,13 @@ export interface AuthenticationSchemeProvider$instance extends IAuthenticationSc
|
|
|
493
497
|
|
|
494
498
|
AddScheme(scheme: AuthenticationScheme): void;
|
|
495
499
|
GetAllSchemesAsync(): Task_1<IEnumerable_1<AuthenticationScheme>>;
|
|
496
|
-
GetDefaultAuthenticateSchemeAsync(): Task_1<AuthenticationScheme |
|
|
497
|
-
GetDefaultChallengeSchemeAsync(): Task_1<AuthenticationScheme |
|
|
498
|
-
GetDefaultForbidSchemeAsync(): Task_1<AuthenticationScheme |
|
|
499
|
-
GetDefaultSignInSchemeAsync(): Task_1<AuthenticationScheme |
|
|
500
|
-
GetDefaultSignOutSchemeAsync(): Task_1<AuthenticationScheme |
|
|
500
|
+
GetDefaultAuthenticateSchemeAsync(): Task_1<AuthenticationScheme | null>;
|
|
501
|
+
GetDefaultChallengeSchemeAsync(): Task_1<AuthenticationScheme | null>;
|
|
502
|
+
GetDefaultForbidSchemeAsync(): Task_1<AuthenticationScheme | null>;
|
|
503
|
+
GetDefaultSignInSchemeAsync(): Task_1<AuthenticationScheme | null>;
|
|
504
|
+
GetDefaultSignOutSchemeAsync(): Task_1<AuthenticationScheme | null>;
|
|
501
505
|
GetRequestHandlerSchemesAsync(): Task_1<IEnumerable_1<AuthenticationScheme>>;
|
|
502
|
-
GetSchemeAsync(name: string): Task_1<AuthenticationScheme |
|
|
506
|
+
GetSchemeAsync(name: string): Task_1<AuthenticationScheme | null>;
|
|
503
507
|
RemoveScheme(name: string): void;
|
|
504
508
|
TryAddScheme(scheme: AuthenticationScheme): boolean;
|
|
505
509
|
}
|
|
@@ -526,11 +530,11 @@ export interface AuthenticationService$instance extends IAuthenticationService$i
|
|
|
526
530
|
readonly Options: AuthenticationOptions;
|
|
527
531
|
readonly Schemes: IAuthenticationSchemeProvider;
|
|
528
532
|
readonly Transform: IClaimsTransformation;
|
|
529
|
-
AuthenticateAsync(context: HttpContext, scheme: string): Task_1<AuthenticateResult>;
|
|
530
|
-
ChallengeAsync(context: HttpContext, scheme: string, properties: AuthenticationProperties): Task;
|
|
531
|
-
ForbidAsync(context: HttpContext, scheme: string, properties: AuthenticationProperties): Task;
|
|
532
|
-
SignInAsync(context: HttpContext, scheme: string, principal: ClaimsPrincipal, properties: AuthenticationProperties): Task;
|
|
533
|
-
SignOutAsync(context: HttpContext, scheme: string, properties: AuthenticationProperties): Task;
|
|
533
|
+
AuthenticateAsync(context: HttpContext, scheme: string | null): Task_1<AuthenticateResult>;
|
|
534
|
+
ChallengeAsync(context: HttpContext, scheme: string | null, properties: AuthenticationProperties | null): Task;
|
|
535
|
+
ForbidAsync(context: HttpContext, scheme: string | null, properties: AuthenticationProperties | null): Task;
|
|
536
|
+
SignInAsync(context: HttpContext, scheme: string | null, principal: ClaimsPrincipal, properties: AuthenticationProperties | null): Task;
|
|
537
|
+
SignOutAsync(context: HttpContext, scheme: string | null, properties: AuthenticationProperties | null): Task;
|
|
534
538
|
}
|
|
535
539
|
|
|
536
540
|
|
|
@@ -557,7 +561,7 @@ export interface AuthenticationTicket$instance {
|
|
|
557
561
|
|
|
558
562
|
|
|
559
563
|
export const AuthenticationTicket: {
|
|
560
|
-
new(principal: ClaimsPrincipal, properties: AuthenticationProperties, authenticationScheme: string): AuthenticationTicket;
|
|
564
|
+
new(principal: ClaimsPrincipal, properties: AuthenticationProperties | null, authenticationScheme: string): AuthenticationTicket;
|
|
561
565
|
new(principal: ClaimsPrincipal, authenticationScheme: string): AuthenticationTicket;
|
|
562
566
|
};
|
|
563
567
|
|
|
@@ -579,7 +583,7 @@ export const AuthenticationToken: {
|
|
|
579
583
|
|
|
580
584
|
export type AuthenticationToken = AuthenticationToken$instance;
|
|
581
585
|
|
|
582
|
-
export interface BaseContext_1$instance<TOptions extends AuthenticationSchemeOptions> {
|
|
586
|
+
export interface BaseContext_1$instance<TOptions extends unknown & AuthenticationSchemeOptions> {
|
|
583
587
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_BaseContext_1: never;
|
|
584
588
|
|
|
585
589
|
readonly HttpContext: HttpContext;
|
|
@@ -590,13 +594,13 @@ export interface BaseContext_1$instance<TOptions extends AuthenticationSchemeOpt
|
|
|
590
594
|
}
|
|
591
595
|
|
|
592
596
|
|
|
593
|
-
export const BaseContext_1: (abstract new<TOptions extends AuthenticationSchemeOptions>(context: HttpContext, scheme: AuthenticationScheme, options: TOptions) => BaseContext_1<TOptions>) & {
|
|
597
|
+
export const BaseContext_1: (abstract new<TOptions extends unknown & AuthenticationSchemeOptions>(context: HttpContext, scheme: AuthenticationScheme, options: TOptions) => BaseContext_1<TOptions>) & {
|
|
594
598
|
};
|
|
595
599
|
|
|
596
600
|
|
|
597
|
-
export type BaseContext_1<TOptions extends AuthenticationSchemeOptions> = BaseContext_1$instance<TOptions>;
|
|
601
|
+
export type BaseContext_1<TOptions extends unknown & AuthenticationSchemeOptions> = BaseContext_1$instance<TOptions>;
|
|
598
602
|
|
|
599
|
-
export interface HandleRequestContext_1$instance<TOptions extends AuthenticationSchemeOptions> extends BaseContext_1<TOptions> {
|
|
603
|
+
export interface HandleRequestContext_1$instance<TOptions extends unknown & AuthenticationSchemeOptions> extends BaseContext_1<TOptions> {
|
|
600
604
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_HandleRequestContext_1: never;
|
|
601
605
|
|
|
602
606
|
Result: HandleRequestResult;
|
|
@@ -605,11 +609,11 @@ export interface HandleRequestContext_1$instance<TOptions extends Authentication
|
|
|
605
609
|
}
|
|
606
610
|
|
|
607
611
|
|
|
608
|
-
export const HandleRequestContext_1: (abstract new<TOptions extends AuthenticationSchemeOptions>(context: HttpContext, scheme: AuthenticationScheme, options: TOptions) => HandleRequestContext_1<TOptions>) & {
|
|
612
|
+
export const HandleRequestContext_1: (abstract new<TOptions extends unknown & AuthenticationSchemeOptions>(context: HttpContext, scheme: AuthenticationScheme, options: TOptions) => HandleRequestContext_1<TOptions>) & {
|
|
609
613
|
};
|
|
610
614
|
|
|
611
615
|
|
|
612
|
-
export type HandleRequestContext_1<TOptions extends AuthenticationSchemeOptions> = HandleRequestContext_1$instance<TOptions>;
|
|
616
|
+
export type HandleRequestContext_1<TOptions extends unknown & AuthenticationSchemeOptions> = HandleRequestContext_1$instance<TOptions>;
|
|
613
617
|
|
|
614
618
|
export interface HandleRequestResult$instance extends AuthenticateResult {
|
|
615
619
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_HandleRequestResult: never;
|
|
@@ -621,7 +625,7 @@ export interface HandleRequestResult$instance extends AuthenticateResult {
|
|
|
621
625
|
|
|
622
626
|
export const HandleRequestResult: {
|
|
623
627
|
new(): HandleRequestResult;
|
|
624
|
-
Fail(failureMessage: string, properties: AuthenticationProperties): HandleRequestResult;
|
|
628
|
+
Fail(failureMessage: string, properties: AuthenticationProperties | null): HandleRequestResult;
|
|
625
629
|
Fail(failureMessage: string): HandleRequestResult;
|
|
626
630
|
Handle(): HandleRequestResult;
|
|
627
631
|
SkipHandler(): HandleRequestResult;
|
|
@@ -651,7 +655,7 @@ export interface __NoopClaimsTransformation$views {
|
|
|
651
655
|
export type NoopClaimsTransformation = NoopClaimsTransformation$instance & __NoopClaimsTransformation$views;
|
|
652
656
|
|
|
653
657
|
|
|
654
|
-
export interface PolicySchemeHandler$instance extends SignInAuthenticationHandler_1$instance<PolicySchemeOptions
|
|
658
|
+
export interface PolicySchemeHandler$instance extends SignInAuthenticationHandler_1$instance<PolicySchemeOptions>, IAuthenticationSignInHandler$instance {
|
|
655
659
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_PolicySchemeHandler: never;
|
|
656
660
|
|
|
657
661
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
@@ -659,10 +663,10 @@ export interface PolicySchemeHandler$instance extends SignInAuthenticationHandle
|
|
|
659
663
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignOutHandler: never;
|
|
660
664
|
|
|
661
665
|
HandleAuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
662
|
-
HandleChallengeAsync(properties: AuthenticationProperties): Task;
|
|
663
|
-
HandleForbiddenAsync(properties: AuthenticationProperties): Task;
|
|
664
|
-
HandleSignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties): Task;
|
|
665
|
-
HandleSignOutAsync(properties: AuthenticationProperties): Task;
|
|
666
|
+
HandleChallengeAsync(properties: AuthenticationProperties | null): Task;
|
|
667
|
+
HandleForbiddenAsync(properties: AuthenticationProperties | null): Task;
|
|
668
|
+
HandleSignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties | null): Task;
|
|
669
|
+
HandleSignOutAsync(properties: AuthenticationProperties | null): Task;
|
|
666
670
|
}
|
|
667
671
|
|
|
668
672
|
|
|
@@ -693,32 +697,32 @@ export const PolicySchemeOptions: {
|
|
|
693
697
|
|
|
694
698
|
export type PolicySchemeOptions = PolicySchemeOptions$instance;
|
|
695
699
|
|
|
696
|
-
export interface PrincipalContext_1$instance<TOptions extends AuthenticationSchemeOptions> extends PropertiesContext_1<TOptions> {
|
|
700
|
+
export interface PrincipalContext_1$instance<TOptions extends unknown & AuthenticationSchemeOptions> extends PropertiesContext_1<TOptions> {
|
|
697
701
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_PrincipalContext_1: never;
|
|
698
702
|
|
|
699
|
-
get Principal(): ClaimsPrincipal |
|
|
700
|
-
set Principal(value: ClaimsPrincipal |
|
|
703
|
+
get Principal(): ClaimsPrincipal | null;
|
|
704
|
+
set Principal(value: ClaimsPrincipal | null);
|
|
701
705
|
}
|
|
702
706
|
|
|
703
707
|
|
|
704
|
-
export const PrincipalContext_1: (abstract new<TOptions extends AuthenticationSchemeOptions>(context: HttpContext, scheme: AuthenticationScheme, options: TOptions, properties: AuthenticationProperties) => PrincipalContext_1<TOptions>) & {
|
|
708
|
+
export const PrincipalContext_1: (abstract new<TOptions extends unknown & AuthenticationSchemeOptions>(context: HttpContext, scheme: AuthenticationScheme, options: TOptions, properties: AuthenticationProperties | null) => PrincipalContext_1<TOptions>) & {
|
|
705
709
|
};
|
|
706
710
|
|
|
707
711
|
|
|
708
|
-
export type PrincipalContext_1<TOptions extends AuthenticationSchemeOptions> = PrincipalContext_1$instance<TOptions>;
|
|
712
|
+
export type PrincipalContext_1<TOptions extends unknown & AuthenticationSchemeOptions> = PrincipalContext_1$instance<TOptions>;
|
|
709
713
|
|
|
710
|
-
export interface PropertiesContext_1$instance<TOptions extends AuthenticationSchemeOptions> extends BaseContext_1<TOptions> {
|
|
714
|
+
export interface PropertiesContext_1$instance<TOptions extends unknown & AuthenticationSchemeOptions> extends BaseContext_1<TOptions> {
|
|
711
715
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_PropertiesContext_1: never;
|
|
712
716
|
|
|
713
717
|
Properties: AuthenticationProperties;
|
|
714
718
|
}
|
|
715
719
|
|
|
716
720
|
|
|
717
|
-
export const PropertiesContext_1: (abstract new<TOptions extends AuthenticationSchemeOptions>(context: HttpContext, scheme: AuthenticationScheme, options: TOptions, properties: AuthenticationProperties) => PropertiesContext_1<TOptions>) & {
|
|
721
|
+
export const PropertiesContext_1: (abstract new<TOptions extends unknown & AuthenticationSchemeOptions>(context: HttpContext, scheme: AuthenticationScheme, options: TOptions, properties: AuthenticationProperties | null) => PropertiesContext_1<TOptions>) & {
|
|
718
722
|
};
|
|
719
723
|
|
|
720
724
|
|
|
721
|
-
export type PropertiesContext_1<TOptions extends AuthenticationSchemeOptions> = PropertiesContext_1$instance<TOptions>;
|
|
725
|
+
export type PropertiesContext_1<TOptions extends unknown & AuthenticationSchemeOptions> = PropertiesContext_1$instance<TOptions>;
|
|
722
726
|
|
|
723
727
|
export interface PropertiesDataFormat$instance extends SecureDataFormat_1$instance<AuthenticationProperties>, ISecureDataFormat_1$instance<AuthenticationProperties> {
|
|
724
728
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_PropertiesDataFormat: never;
|
|
@@ -745,8 +749,8 @@ export interface PropertiesSerializer$instance {
|
|
|
745
749
|
|
|
746
750
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IDataSerializer_1: never;
|
|
747
751
|
|
|
748
|
-
Deserialize(data: byte[]): AuthenticationProperties |
|
|
749
|
-
Read(reader: BinaryReader): AuthenticationProperties |
|
|
752
|
+
Deserialize(data: byte[]): AuthenticationProperties | null;
|
|
753
|
+
Read(reader: BinaryReader): AuthenticationProperties | null;
|
|
750
754
|
Serialize(model: AuthenticationProperties): byte[];
|
|
751
755
|
Write(writer: BinaryWriter, properties: AuthenticationProperties): void;
|
|
752
756
|
}
|
|
@@ -765,7 +769,7 @@ export interface __PropertiesSerializer$views {
|
|
|
765
769
|
export type PropertiesSerializer = PropertiesSerializer$instance & __PropertiesSerializer$views;
|
|
766
770
|
|
|
767
771
|
|
|
768
|
-
export interface RedirectContext_1$instance<TOptions extends AuthenticationSchemeOptions> extends PropertiesContext_1<TOptions> {
|
|
772
|
+
export interface RedirectContext_1$instance<TOptions extends unknown & AuthenticationSchemeOptions> extends PropertiesContext_1<TOptions> {
|
|
769
773
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_RedirectContext_1: never;
|
|
770
774
|
|
|
771
775
|
RedirectUri: string;
|
|
@@ -773,30 +777,30 @@ export interface RedirectContext_1$instance<TOptions extends AuthenticationSchem
|
|
|
773
777
|
|
|
774
778
|
|
|
775
779
|
export const RedirectContext_1: {
|
|
776
|
-
new<TOptions extends AuthenticationSchemeOptions>(context: HttpContext, scheme: AuthenticationScheme, options: TOptions, properties: AuthenticationProperties, redirectUri: string): RedirectContext_1<TOptions>;
|
|
780
|
+
new<TOptions extends unknown & AuthenticationSchemeOptions>(context: HttpContext, scheme: AuthenticationScheme, options: TOptions, properties: AuthenticationProperties, redirectUri: string): RedirectContext_1<TOptions>;
|
|
777
781
|
};
|
|
778
782
|
|
|
779
783
|
|
|
780
|
-
export type RedirectContext_1<TOptions extends AuthenticationSchemeOptions> = RedirectContext_1$instance<TOptions>;
|
|
784
|
+
export type RedirectContext_1<TOptions extends unknown & AuthenticationSchemeOptions> = RedirectContext_1$instance<TOptions>;
|
|
781
785
|
|
|
782
|
-
export interface RemoteAuthenticationContext_1$instance<TOptions extends AuthenticationSchemeOptions> extends HandleRequestContext_1<TOptions> {
|
|
786
|
+
export interface RemoteAuthenticationContext_1$instance<TOptions extends unknown & AuthenticationSchemeOptions> extends HandleRequestContext_1<TOptions> {
|
|
783
787
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_RemoteAuthenticationContext_1: never;
|
|
784
788
|
|
|
785
|
-
get Principal(): ClaimsPrincipal |
|
|
786
|
-
set Principal(value: ClaimsPrincipal |
|
|
787
|
-
get Properties(): AuthenticationProperties |
|
|
788
|
-
set Properties(value: AuthenticationProperties |
|
|
789
|
+
get Principal(): ClaimsPrincipal | null;
|
|
790
|
+
set Principal(value: ClaimsPrincipal | null);
|
|
791
|
+
get Properties(): AuthenticationProperties | null;
|
|
792
|
+
set Properties(value: AuthenticationProperties | null);
|
|
789
793
|
Fail(failure: Exception): void;
|
|
790
794
|
Fail(failureMessage: string): void;
|
|
791
795
|
Success(): void;
|
|
792
796
|
}
|
|
793
797
|
|
|
794
798
|
|
|
795
|
-
export const RemoteAuthenticationContext_1: (abstract new<TOptions extends AuthenticationSchemeOptions>(context: HttpContext, scheme: AuthenticationScheme, options: TOptions, properties: AuthenticationProperties) => RemoteAuthenticationContext_1<TOptions>) & {
|
|
799
|
+
export const RemoteAuthenticationContext_1: (abstract new<TOptions extends unknown & AuthenticationSchemeOptions>(context: HttpContext, scheme: AuthenticationScheme, options: TOptions, properties: AuthenticationProperties | null) => RemoteAuthenticationContext_1<TOptions>) & {
|
|
796
800
|
};
|
|
797
801
|
|
|
798
802
|
|
|
799
|
-
export type RemoteAuthenticationContext_1<TOptions extends AuthenticationSchemeOptions> = RemoteAuthenticationContext_1$instance<TOptions>;
|
|
803
|
+
export type RemoteAuthenticationContext_1<TOptions extends unknown & AuthenticationSchemeOptions> = RemoteAuthenticationContext_1$instance<TOptions>;
|
|
800
804
|
|
|
801
805
|
export interface RemoteAuthenticationEvents$instance {
|
|
802
806
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_RemoteAuthenticationEvents: never;
|
|
@@ -817,7 +821,7 @@ export const RemoteAuthenticationEvents: {
|
|
|
817
821
|
|
|
818
822
|
export type RemoteAuthenticationEvents = RemoteAuthenticationEvents$instance;
|
|
819
823
|
|
|
820
|
-
export interface RemoteAuthenticationHandler_1$instance<TOptions extends RemoteAuthenticationOptions> extends AuthenticationHandler_1$instance<TOptions
|
|
824
|
+
export interface RemoteAuthenticationHandler_1$instance<TOptions extends unknown & RemoteAuthenticationOptions> extends AuthenticationHandler_1$instance<TOptions>, IAuthenticationRequestHandler$instance {
|
|
821
825
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_RemoteAuthenticationHandler_1: never;
|
|
822
826
|
|
|
823
827
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
@@ -835,15 +839,15 @@ export interface RemoteAuthenticationHandler_1$instance<TOptions extends RemoteA
|
|
|
835
839
|
}
|
|
836
840
|
|
|
837
841
|
|
|
838
|
-
export const RemoteAuthenticationHandler_1: (abstract new<TOptions extends RemoteAuthenticationOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder, clock: ISystemClock) => RemoteAuthenticationHandler_1<TOptions>) & (abstract new<TOptions extends RemoteAuthenticationOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder) => RemoteAuthenticationHandler_1<TOptions>) & {
|
|
842
|
+
export const RemoteAuthenticationHandler_1: (abstract new<TOptions extends unknown & RemoteAuthenticationOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder, clock: ISystemClock) => RemoteAuthenticationHandler_1<TOptions>) & (abstract new<TOptions extends unknown & RemoteAuthenticationOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder) => RemoteAuthenticationHandler_1<TOptions>) & {
|
|
839
843
|
};
|
|
840
844
|
|
|
841
845
|
|
|
842
|
-
export interface __RemoteAuthenticationHandler_1$views<TOptions extends RemoteAuthenticationOptions> {
|
|
846
|
+
export interface __RemoteAuthenticationHandler_1$views<TOptions extends unknown & RemoteAuthenticationOptions> {
|
|
843
847
|
As_IAuthenticationHandler(): IAuthenticationHandler$instance;
|
|
844
848
|
}
|
|
845
849
|
|
|
846
|
-
export type RemoteAuthenticationHandler_1<TOptions extends RemoteAuthenticationOptions> = RemoteAuthenticationHandler_1$instance<TOptions> & __RemoteAuthenticationHandler_1$views<TOptions>;
|
|
850
|
+
export type RemoteAuthenticationHandler_1<TOptions extends unknown & RemoteAuthenticationOptions> = RemoteAuthenticationHandler_1$instance<TOptions> & __RemoteAuthenticationHandler_1$views<TOptions>;
|
|
847
851
|
|
|
848
852
|
|
|
849
853
|
export interface RemoteAuthenticationOptions$instance extends AuthenticationSchemeOptions {
|
|
@@ -851,19 +855,19 @@ export interface RemoteAuthenticationOptions$instance extends AuthenticationSche
|
|
|
851
855
|
|
|
852
856
|
AccessDeniedPath: PathString;
|
|
853
857
|
Backchannel: HttpClient;
|
|
854
|
-
get BackchannelHttpHandler(): HttpMessageHandler |
|
|
855
|
-
set BackchannelHttpHandler(value: HttpMessageHandler |
|
|
858
|
+
get BackchannelHttpHandler(): HttpMessageHandler | null;
|
|
859
|
+
set BackchannelHttpHandler(value: HttpMessageHandler | null);
|
|
856
860
|
BackchannelTimeout: TimeSpan;
|
|
857
861
|
CallbackPath: PathString;
|
|
858
862
|
CorrelationCookie: CookieBuilder;
|
|
859
|
-
get DataProtectionProvider(): IDataProtectionProvider |
|
|
860
|
-
set DataProtectionProvider(value: IDataProtectionProvider |
|
|
861
|
-
Events: unknown;
|
|
863
|
+
get DataProtectionProvider(): IDataProtectionProvider | null;
|
|
864
|
+
set DataProtectionProvider(value: IDataProtectionProvider | null);
|
|
865
|
+
Events: OAuthEvents | RemoteAuthenticationEvents | unknown;
|
|
862
866
|
RemoteAuthenticationTimeout: TimeSpan;
|
|
863
867
|
ReturnUrlParameter: string;
|
|
864
868
|
SaveTokens: boolean;
|
|
865
|
-
get SignInScheme(): string |
|
|
866
|
-
set SignInScheme(value: string |
|
|
869
|
+
get SignInScheme(): string | null;
|
|
870
|
+
set SignInScheme(value: string | null);
|
|
867
871
|
Validate(scheme: string): void;
|
|
868
872
|
Validate(): void;
|
|
869
873
|
}
|
|
@@ -879,10 +883,10 @@ export type RemoteAuthenticationOptions = RemoteAuthenticationOptions$instance;
|
|
|
879
883
|
export interface RemoteFailureContext$instance extends HandleRequestContext_1<RemoteAuthenticationOptions> {
|
|
880
884
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_RemoteFailureContext: never;
|
|
881
885
|
|
|
882
|
-
get Failure(): Exception |
|
|
883
|
-
set Failure(value: Exception |
|
|
884
|
-
get Properties(): AuthenticationProperties |
|
|
885
|
-
set Properties(value: AuthenticationProperties |
|
|
886
|
+
get Failure(): Exception | null;
|
|
887
|
+
set Failure(value: Exception | null);
|
|
888
|
+
get Properties(): AuthenticationProperties | null;
|
|
889
|
+
set Properties(value: AuthenticationProperties | null);
|
|
886
890
|
}
|
|
887
891
|
|
|
888
892
|
|
|
@@ -896,7 +900,7 @@ export type RemoteFailureContext = RemoteFailureContext$instance;
|
|
|
896
900
|
export interface RequestPathBaseCookieBuilder$instance extends CookieBuilder {
|
|
897
901
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_RequestPathBaseCookieBuilder: never;
|
|
898
902
|
|
|
899
|
-
readonly AdditionalPath: string |
|
|
903
|
+
readonly AdditionalPath: string | null;
|
|
900
904
|
Build(context: HttpContext, expiresFrom: DateTimeOffset): CookieOptions;
|
|
901
905
|
Build(context: HttpContext): CookieOptions;
|
|
902
906
|
}
|
|
@@ -909,14 +913,14 @@ export const RequestPathBaseCookieBuilder: {
|
|
|
909
913
|
|
|
910
914
|
export type RequestPathBaseCookieBuilder = RequestPathBaseCookieBuilder$instance;
|
|
911
915
|
|
|
912
|
-
export interface ResultContext_1$instance<TOptions extends AuthenticationSchemeOptions> extends BaseContext_1<TOptions> {
|
|
916
|
+
export interface ResultContext_1$instance<TOptions extends unknown & AuthenticationSchemeOptions> extends BaseContext_1<TOptions> {
|
|
913
917
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_ResultContext_1: never;
|
|
914
918
|
|
|
915
|
-
get Principal(): ClaimsPrincipal |
|
|
916
|
-
set Principal(value: ClaimsPrincipal |
|
|
919
|
+
get Principal(): ClaimsPrincipal | null;
|
|
920
|
+
set Principal(value: ClaimsPrincipal | null);
|
|
917
921
|
Properties: AuthenticationProperties;
|
|
918
|
-
get Result(): AuthenticateResult |
|
|
919
|
-
set Result(value: AuthenticateResult |
|
|
922
|
+
get Result(): AuthenticateResult | null;
|
|
923
|
+
set Result(value: AuthenticateResult | null);
|
|
920
924
|
Fail(failure: Exception): void;
|
|
921
925
|
Fail(failureMessage: string): void;
|
|
922
926
|
NoResult(): void;
|
|
@@ -924,80 +928,80 @@ export interface ResultContext_1$instance<TOptions extends AuthenticationSchemeO
|
|
|
924
928
|
}
|
|
925
929
|
|
|
926
930
|
|
|
927
|
-
export const ResultContext_1: (abstract new<TOptions extends AuthenticationSchemeOptions>(context: HttpContext, scheme: AuthenticationScheme, options: TOptions) => ResultContext_1<TOptions>) & {
|
|
931
|
+
export const ResultContext_1: (abstract new<TOptions extends unknown & AuthenticationSchemeOptions>(context: HttpContext, scheme: AuthenticationScheme, options: TOptions) => ResultContext_1<TOptions>) & {
|
|
928
932
|
};
|
|
929
933
|
|
|
930
934
|
|
|
931
|
-
export type ResultContext_1<TOptions extends AuthenticationSchemeOptions> = ResultContext_1$instance<TOptions>;
|
|
935
|
+
export type ResultContext_1<TOptions extends unknown & AuthenticationSchemeOptions> = ResultContext_1$instance<TOptions>;
|
|
932
936
|
|
|
933
|
-
export interface SecureDataFormat_1$instance<TData> {
|
|
937
|
+
export interface SecureDataFormat_1$instance<TData extends unknown> {
|
|
934
938
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_SecureDataFormat_1: never;
|
|
935
939
|
|
|
936
940
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_ISecureDataFormat_1: never;
|
|
937
941
|
|
|
938
942
|
Protect(data: TData): string;
|
|
939
|
-
Protect(data: TData, purpose: string): string;
|
|
940
|
-
Unprotect(protectedText: string): TData |
|
|
941
|
-
Unprotect(protectedText: string, purpose: string): TData |
|
|
943
|
+
Protect(data: TData, purpose: string | null): string;
|
|
944
|
+
Unprotect(protectedText: string | null): TData | null;
|
|
945
|
+
Unprotect(protectedText: string | null, purpose: string | null): TData | null;
|
|
942
946
|
}
|
|
943
947
|
|
|
944
948
|
|
|
945
949
|
export const SecureDataFormat_1: {
|
|
946
|
-
new<TData>(serializer: IDataSerializer_1<TData>, protector: IDataProtector): SecureDataFormat_1<TData>;
|
|
950
|
+
new<TData extends unknown>(serializer: IDataSerializer_1<TData>, protector: IDataProtector): SecureDataFormat_1<TData>;
|
|
947
951
|
};
|
|
948
952
|
|
|
949
953
|
|
|
950
|
-
export interface __SecureDataFormat_1$views<TData> {
|
|
954
|
+
export interface __SecureDataFormat_1$views<TData extends unknown> {
|
|
951
955
|
As_ISecureDataFormat_1(): ISecureDataFormat_1$instance<TData>;
|
|
952
956
|
}
|
|
953
957
|
|
|
954
|
-
export type SecureDataFormat_1<TData> = SecureDataFormat_1$instance<TData> & __SecureDataFormat_1$views<TData>;
|
|
958
|
+
export type SecureDataFormat_1<TData extends unknown> = SecureDataFormat_1$instance<TData> & __SecureDataFormat_1$views<TData>;
|
|
955
959
|
|
|
956
960
|
|
|
957
|
-
export interface SignInAuthenticationHandler_1$instance<TOptions extends AuthenticationSchemeOptions> extends SignOutAuthenticationHandler_1$instance<TOptions
|
|
961
|
+
export interface SignInAuthenticationHandler_1$instance<TOptions extends unknown & AuthenticationSchemeOptions> extends SignOutAuthenticationHandler_1$instance<TOptions>, IAuthenticationSignInHandler$instance {
|
|
958
962
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_SignInAuthenticationHandler_1: never;
|
|
959
963
|
|
|
960
964
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
961
965
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignInHandler: never;
|
|
962
966
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignOutHandler: never;
|
|
963
967
|
|
|
964
|
-
HandleSignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties): Task;
|
|
965
|
-
SignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties): Task;
|
|
968
|
+
HandleSignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties | null): Task;
|
|
969
|
+
SignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties | null): Task;
|
|
966
970
|
}
|
|
967
971
|
|
|
968
972
|
|
|
969
|
-
export const SignInAuthenticationHandler_1: (abstract new<TOptions extends AuthenticationSchemeOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder, clock: ISystemClock) => SignInAuthenticationHandler_1<TOptions>) & (abstract new<TOptions extends AuthenticationSchemeOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder) => SignInAuthenticationHandler_1<TOptions>) & {
|
|
973
|
+
export const SignInAuthenticationHandler_1: (abstract new<TOptions extends unknown & AuthenticationSchemeOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder, clock: ISystemClock) => SignInAuthenticationHandler_1<TOptions>) & (abstract new<TOptions extends unknown & AuthenticationSchemeOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder) => SignInAuthenticationHandler_1<TOptions>) & {
|
|
970
974
|
};
|
|
971
975
|
|
|
972
976
|
|
|
973
|
-
export interface __SignInAuthenticationHandler_1$views<TOptions extends AuthenticationSchemeOptions> {
|
|
977
|
+
export interface __SignInAuthenticationHandler_1$views<TOptions extends unknown & AuthenticationSchemeOptions> {
|
|
974
978
|
As_IAuthenticationHandler(): IAuthenticationHandler$instance;
|
|
975
979
|
As_IAuthenticationSignInHandler(): IAuthenticationSignInHandler$instance;
|
|
976
980
|
}
|
|
977
981
|
|
|
978
|
-
export type SignInAuthenticationHandler_1<TOptions extends AuthenticationSchemeOptions> = SignInAuthenticationHandler_1$instance<TOptions> & __SignInAuthenticationHandler_1$views<TOptions>;
|
|
982
|
+
export type SignInAuthenticationHandler_1<TOptions extends unknown & AuthenticationSchemeOptions> = SignInAuthenticationHandler_1$instance<TOptions> & __SignInAuthenticationHandler_1$views<TOptions>;
|
|
979
983
|
|
|
980
984
|
|
|
981
|
-
export interface SignOutAuthenticationHandler_1$instance<TOptions extends AuthenticationSchemeOptions> extends AuthenticationHandler_1$instance<TOptions
|
|
985
|
+
export interface SignOutAuthenticationHandler_1$instance<TOptions extends unknown & AuthenticationSchemeOptions> extends AuthenticationHandler_1$instance<TOptions>, IAuthenticationSignOutHandler$instance {
|
|
982
986
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_SignOutAuthenticationHandler_1: never;
|
|
983
987
|
|
|
984
988
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
985
989
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignOutHandler: never;
|
|
986
990
|
|
|
987
|
-
HandleSignOutAsync(properties: AuthenticationProperties): Task;
|
|
988
|
-
SignOutAsync(properties: AuthenticationProperties): Task;
|
|
991
|
+
HandleSignOutAsync(properties: AuthenticationProperties | null): Task;
|
|
992
|
+
SignOutAsync(properties: AuthenticationProperties | null): Task;
|
|
989
993
|
}
|
|
990
994
|
|
|
991
995
|
|
|
992
|
-
export const SignOutAuthenticationHandler_1: (abstract new<TOptions extends AuthenticationSchemeOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder, clock: ISystemClock) => SignOutAuthenticationHandler_1<TOptions>) & (abstract new<TOptions extends AuthenticationSchemeOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder) => SignOutAuthenticationHandler_1<TOptions>) & {
|
|
996
|
+
export const SignOutAuthenticationHandler_1: (abstract new<TOptions extends unknown & AuthenticationSchemeOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder, clock: ISystemClock) => SignOutAuthenticationHandler_1<TOptions>) & (abstract new<TOptions extends unknown & AuthenticationSchemeOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder) => SignOutAuthenticationHandler_1<TOptions>) & {
|
|
993
997
|
};
|
|
994
998
|
|
|
995
999
|
|
|
996
|
-
export interface __SignOutAuthenticationHandler_1$views<TOptions extends AuthenticationSchemeOptions> {
|
|
1000
|
+
export interface __SignOutAuthenticationHandler_1$views<TOptions extends unknown & AuthenticationSchemeOptions> {
|
|
997
1001
|
As_IAuthenticationHandler(): IAuthenticationHandler$instance;
|
|
998
1002
|
}
|
|
999
1003
|
|
|
1000
|
-
export type SignOutAuthenticationHandler_1<TOptions extends AuthenticationSchemeOptions> = SignOutAuthenticationHandler_1$instance<TOptions> & __SignOutAuthenticationHandler_1$views<TOptions>;
|
|
1004
|
+
export type SignOutAuthenticationHandler_1<TOptions extends unknown & AuthenticationSchemeOptions> = SignOutAuthenticationHandler_1$instance<TOptions> & __SignOutAuthenticationHandler_1$views<TOptions>;
|
|
1001
1005
|
|
|
1002
1006
|
|
|
1003
1007
|
export interface SystemClock$instance extends ISystemClock$instance {
|
|
@@ -1044,8 +1048,8 @@ export type TicketDataFormat = TicketDataFormat$instance & __TicketDataFormat$vi
|
|
|
1044
1048
|
export interface TicketReceivedContext$instance extends RemoteAuthenticationContext_1<RemoteAuthenticationOptions> {
|
|
1045
1049
|
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_TicketReceivedContext: never;
|
|
1046
1050
|
|
|
1047
|
-
get ReturnUri(): string |
|
|
1048
|
-
set ReturnUri(value: string |
|
|
1051
|
+
get ReturnUri(): string | null;
|
|
1052
|
+
set ReturnUri(value: string | null);
|
|
1049
1053
|
}
|
|
1050
1054
|
|
|
1051
1055
|
|
|
@@ -1061,8 +1065,8 @@ export interface TicketSerializer$instance {
|
|
|
1061
1065
|
|
|
1062
1066
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IDataSerializer_1: never;
|
|
1063
1067
|
|
|
1064
|
-
Deserialize(data: byte[]): AuthenticationTicket |
|
|
1065
|
-
Read(reader: BinaryReader): AuthenticationTicket |
|
|
1068
|
+
Deserialize(data: byte[]): AuthenticationTicket | null;
|
|
1069
|
+
Read(reader: BinaryReader): AuthenticationTicket | null;
|
|
1066
1070
|
ReadClaim(reader: BinaryReader, identity: ClaimsIdentity): Claim;
|
|
1067
1071
|
ReadIdentity(reader: BinaryReader): ClaimsIdentity;
|
|
1068
1072
|
Serialize(ticket: AuthenticationTicket): byte[];
|
|
@@ -1093,25 +1097,25 @@ export abstract class AuthenticationConfigurationProviderExtensions$instance {
|
|
|
1093
1097
|
export type AuthenticationConfigurationProviderExtensions = AuthenticationConfigurationProviderExtensions$instance;
|
|
1094
1098
|
|
|
1095
1099
|
export abstract class AuthenticationHttpContextExtensions$instance {
|
|
1096
|
-
static AuthenticateAsync(context: HttpContext, scheme: string): Task_1<AuthenticateResult>;
|
|
1100
|
+
static AuthenticateAsync(context: HttpContext, scheme: string | null): Task_1<AuthenticateResult>;
|
|
1097
1101
|
static AuthenticateAsync(context: HttpContext): Task_1<AuthenticateResult>;
|
|
1098
|
-
static ChallengeAsync(context: HttpContext, properties: AuthenticationProperties): Task;
|
|
1099
|
-
static ChallengeAsync(context: HttpContext, scheme: string, properties: AuthenticationProperties): Task;
|
|
1100
|
-
static ChallengeAsync(context: HttpContext, scheme: string): Task;
|
|
1102
|
+
static ChallengeAsync(context: HttpContext, properties: AuthenticationProperties | null): Task;
|
|
1103
|
+
static ChallengeAsync(context: HttpContext, scheme: string | null, properties: AuthenticationProperties | null): Task;
|
|
1104
|
+
static ChallengeAsync(context: HttpContext, scheme: string | null): Task;
|
|
1101
1105
|
static ChallengeAsync(context: HttpContext): Task;
|
|
1102
|
-
static ForbidAsync(context: HttpContext, properties: AuthenticationProperties): Task;
|
|
1103
|
-
static ForbidAsync(context: HttpContext, scheme: string, properties: AuthenticationProperties): Task;
|
|
1104
|
-
static ForbidAsync(context: HttpContext, scheme: string): Task;
|
|
1106
|
+
static ForbidAsync(context: HttpContext, properties: AuthenticationProperties | null): Task;
|
|
1107
|
+
static ForbidAsync(context: HttpContext, scheme: string | null, properties: AuthenticationProperties | null): Task;
|
|
1108
|
+
static ForbidAsync(context: HttpContext, scheme: string | null): Task;
|
|
1105
1109
|
static ForbidAsync(context: HttpContext): Task;
|
|
1106
|
-
static GetTokenAsync(context: HttpContext, scheme: string, tokenName: string): Task_1<string |
|
|
1107
|
-
static GetTokenAsync(context: HttpContext, tokenName: string): Task_1<string |
|
|
1108
|
-
static SignInAsync(context: HttpContext, principal: ClaimsPrincipal, properties: AuthenticationProperties): Task;
|
|
1110
|
+
static GetTokenAsync(context: HttpContext, scheme: string | null, tokenName: string): Task_1<string | null>;
|
|
1111
|
+
static GetTokenAsync(context: HttpContext, tokenName: string): Task_1<string | null>;
|
|
1112
|
+
static SignInAsync(context: HttpContext, principal: ClaimsPrincipal, properties: AuthenticationProperties | null): Task;
|
|
1109
1113
|
static SignInAsync(context: HttpContext, principal: ClaimsPrincipal): Task;
|
|
1110
|
-
static SignInAsync(context: HttpContext, scheme: string, principal: ClaimsPrincipal, properties: AuthenticationProperties): Task;
|
|
1111
|
-
static SignInAsync(context: HttpContext, scheme: string, principal: ClaimsPrincipal): Task;
|
|
1112
|
-
static SignOutAsync(context: HttpContext, properties: AuthenticationProperties): Task;
|
|
1113
|
-
static SignOutAsync(context: HttpContext, scheme: string, properties: AuthenticationProperties): Task;
|
|
1114
|
-
static SignOutAsync(context: HttpContext, scheme: string): Task;
|
|
1114
|
+
static SignInAsync(context: HttpContext, scheme: string | null, principal: ClaimsPrincipal, properties: AuthenticationProperties | null): Task;
|
|
1115
|
+
static SignInAsync(context: HttpContext, scheme: string | null, principal: ClaimsPrincipal): Task;
|
|
1116
|
+
static SignOutAsync(context: HttpContext, properties: AuthenticationProperties | null): Task;
|
|
1117
|
+
static SignOutAsync(context: HttpContext, scheme: string | null, properties: AuthenticationProperties | null): Task;
|
|
1118
|
+
static SignOutAsync(context: HttpContext, scheme: string | null): Task;
|
|
1115
1119
|
static SignOutAsync(context: HttpContext): Task;
|
|
1116
1120
|
}
|
|
1117
1121
|
|
|
@@ -1119,12 +1123,12 @@ export abstract class AuthenticationHttpContextExtensions$instance {
|
|
|
1119
1123
|
export type AuthenticationHttpContextExtensions = AuthenticationHttpContextExtensions$instance;
|
|
1120
1124
|
|
|
1121
1125
|
export abstract class AuthenticationTokenExtensions$instance {
|
|
1122
|
-
static GetTokenAsync(auth: IAuthenticationService, context: HttpContext, scheme: string, tokenName: string): Task_1<string |
|
|
1123
|
-
static GetTokenAsync(auth: IAuthenticationService, context: HttpContext, tokenName: string): Task_1<string |
|
|
1126
|
+
static GetTokenAsync(auth: IAuthenticationService, context: HttpContext, scheme: string | null, tokenName: string): Task_1<string | null>;
|
|
1127
|
+
static GetTokenAsync(auth: IAuthenticationService, context: HttpContext, tokenName: string): Task_1<string | null>;
|
|
1124
1128
|
static GetTokens(properties: AuthenticationProperties): IEnumerable_1<AuthenticationToken>;
|
|
1125
|
-
static GetTokenValue(properties: AuthenticationProperties, tokenName: string): string |
|
|
1129
|
+
static GetTokenValue(properties: AuthenticationProperties, tokenName: string): string | null;
|
|
1126
1130
|
static StoreTokens(properties: AuthenticationProperties, tokens: IEnumerable_1<AuthenticationToken>): void;
|
|
1127
|
-
static UpdateTokenValue(properties: AuthenticationProperties, tokenName: string, tokenValue: string): boolean;
|
|
1131
|
+
static UpdateTokenValue(properties: AuthenticationProperties, tokenName: string, tokenValue: string | null): boolean;
|
|
1128
1132
|
}
|
|
1129
1133
|
|
|
1130
1134
|
|
|
@@ -1143,8 +1147,8 @@ export abstract class ClaimActionCollectionMapExtensions$instance {
|
|
|
1143
1147
|
static DeleteClaims(collection: ClaimActionCollection, ...claimTypes: string[]): void;
|
|
1144
1148
|
static MapAll(collection: ClaimActionCollection): void;
|
|
1145
1149
|
static MapAllExcept(collection: ClaimActionCollection, ...exclusions: string[]): void;
|
|
1146
|
-
static MapCustomJson(collection: ClaimActionCollection, claimType: string, resolver: Func_2<JsonElement,
|
|
1147
|
-
static MapCustomJson(collection: ClaimActionCollection, claimType: string, valueType: string, resolver: Func_2<JsonElement,
|
|
1150
|
+
static MapCustomJson(collection: ClaimActionCollection, claimType: string, resolver: Func_2<JsonElement, string | null>): void;
|
|
1151
|
+
static MapCustomJson(collection: ClaimActionCollection, claimType: string, valueType: string, resolver: Func_2<JsonElement, string | null>): void;
|
|
1148
1152
|
static MapJsonKey(collection: ClaimActionCollection, claimType: string, jsonKey: string, valueType: string): void;
|
|
1149
1153
|
static MapJsonKey(collection: ClaimActionCollection, claimType: string, jsonKey: string): void;
|
|
1150
1154
|
static MapJsonSubKey(collection: ClaimActionCollection, claimType: string, jsonKey: string, subKey: string, valueType: string): void;
|
|
@@ -1155,7 +1159,7 @@ export abstract class ClaimActionCollectionMapExtensions$instance {
|
|
|
1155
1159
|
export type ClaimActionCollectionMapExtensions = ClaimActionCollectionMapExtensions$instance;
|
|
1156
1160
|
|
|
1157
1161
|
export abstract class JsonDocumentAuthExtensions$instance {
|
|
1158
|
-
static GetString(element: JsonElement, key: string): string |
|
|
1162
|
+
static GetString(element: JsonElement, key: string): string | null;
|
|
1159
1163
|
}
|
|
1160
1164
|
|
|
1161
1165
|
|