@tsonic/aspnetcore 10.0.40 → 10.0.41

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.
Files changed (187) hide show
  1. package/Microsoft.AspNetCore/internal/index.d.ts +3 -2
  2. package/Microsoft.AspNetCore.Antiforgery/internal/index.d.ts +11 -10
  3. package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +175 -172
  4. package/Microsoft.AspNetCore.Authentication.BearerToken/internal/index.d.ts +6 -5
  5. package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +22 -21
  6. package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +23 -22
  7. package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +5 -4
  8. package/Microsoft.AspNetCore.Authentication.d.ts +2 -0
  9. package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +36 -35
  10. package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +5 -4
  11. package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +8 -7
  12. package/Microsoft.AspNetCore.Builder/internal/index.d.ts +78 -77
  13. package/Microsoft.AspNetCore.Builder.Extensions/internal/index.d.ts +9 -8
  14. package/Microsoft.AspNetCore.Components/bindings.json +4 -1
  15. package/Microsoft.AspNetCore.Components/internal/index.d.ts +226 -228
  16. package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +26 -25
  17. package/Microsoft.AspNetCore.Components.CompilerServices/internal/index.d.ts +7 -6
  18. package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +3 -2
  19. package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure/internal/index.d.ts +3 -2
  20. package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +73 -75
  21. package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +14 -13
  22. package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +2 -4
  23. package/Microsoft.AspNetCore.Components.Infrastructure/internal/index.d.ts +3 -2
  24. package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +15 -17
  25. package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +20 -19
  26. package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +24 -23
  27. package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +13 -12
  28. package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +9 -8
  29. package/Microsoft.AspNetCore.Components.Server.Circuits/internal/index.d.ts +3 -2
  30. package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage/internal/index.d.ts +6 -5
  31. package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +37 -36
  32. package/Microsoft.AspNetCore.Components.Web.HtmlRendering/internal/index.d.ts +3 -2
  33. package/Microsoft.AspNetCore.Components.Web.Infrastructure/internal/index.d.ts +3 -2
  34. package/Microsoft.AspNetCore.Components.Web.Internal/internal/index.d.ts +3 -5
  35. package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +15 -14
  36. package/Microsoft.AspNetCore.Components.d.ts +1 -1
  37. package/Microsoft.AspNetCore.Connections/internal/index.d.ts +31 -30
  38. package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +3 -2
  39. package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +15 -14
  40. package/Microsoft.AspNetCore.CookiePolicy/internal/index.d.ts +3 -2
  41. package/Microsoft.AspNetCore.Cors/internal/index.d.ts +6 -5
  42. package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +11 -10
  43. package/Microsoft.AspNetCore.Cryptography.KeyDerivation/internal/index.d.ts +3 -2
  44. package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +5 -7
  45. package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +8 -7
  46. package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +9 -8
  47. package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +4 -3
  48. package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +4 -3
  49. package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +16 -15
  50. package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +7 -9
  51. package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +5 -4
  52. package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +9 -8
  53. package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +33 -32
  54. package/Microsoft.AspNetCore.Diagnostics.HealthChecks/internal/index.d.ts +5 -4
  55. package/Microsoft.AspNetCore.HostFiltering/internal/index.d.ts +3 -2
  56. package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +12 -11
  57. package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +3 -2
  58. package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +3 -2
  59. package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +4 -3
  60. package/Microsoft.AspNetCore.Hosting.Server.Abstractions/internal/index.d.ts +4 -3
  61. package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +3 -2
  62. package/Microsoft.AspNetCore.Hosting.StaticWebAssets/internal/index.d.ts +3 -2
  63. package/Microsoft.AspNetCore.Html/internal/index.d.ts +13 -12
  64. package/Microsoft.AspNetCore.Http/bindings.json +470 -530
  65. package/Microsoft.AspNetCore.Http/internal/index.d.ts +313 -318
  66. package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +22 -21
  67. package/Microsoft.AspNetCore.Http.Connections.Features/internal/index.d.ts +5 -4
  68. package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +3 -5
  69. package/Microsoft.AspNetCore.Http.Features/bindings.json +4 -1
  70. package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +54 -56
  71. package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +7 -6
  72. package/Microsoft.AspNetCore.Http.Headers/internal/index.d.ts +37 -36
  73. package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +63 -62
  74. package/Microsoft.AspNetCore.Http.Json/internal/index.d.ts +3 -2
  75. package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +12 -11
  76. package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +8 -7
  77. package/Microsoft.AspNetCore.Http.d.ts +4 -4
  78. package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +5 -4
  79. package/Microsoft.AspNetCore.HttpOverrides/internal/index.d.ts +3 -5
  80. package/Microsoft.AspNetCore.HttpsPolicy/internal/index.d.ts +3 -2
  81. package/Microsoft.AspNetCore.Identity/bindings.json +397 -17
  82. package/Microsoft.AspNetCore.Identity/internal/index.d.ts +249 -248
  83. package/Microsoft.AspNetCore.Identity.Data/internal/index.d.ts +17 -16
  84. package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +3 -2
  85. package/Microsoft.AspNetCore.Localization/internal/index.d.ts +17 -16
  86. package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +4 -3
  87. package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +394 -393
  88. package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +17 -16
  89. package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +7 -6
  90. package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +34 -33
  91. package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +72 -71
  92. package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +3 -2
  93. package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +6 -5
  94. package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +22 -21
  95. package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +3 -2
  96. package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +5 -4
  97. package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +11 -10
  98. package/Microsoft.AspNetCore.Mvc.Diagnostics/bindings.json +99 -119
  99. package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +91 -91
  100. package/Microsoft.AspNetCore.Mvc.Diagnostics.d.ts +1 -1
  101. package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +59 -58
  102. package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +27 -26
  103. package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +17 -16
  104. package/Microsoft.AspNetCore.Mvc.Infrastructure/bindings.json +91 -0
  105. package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +50 -33
  106. package/Microsoft.AspNetCore.Mvc.Infrastructure.d.ts +1 -0
  107. package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +18 -17
  108. package/Microsoft.AspNetCore.Mvc.ModelBinding/bindings.json +1721 -1721
  109. package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +261 -263
  110. package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +36 -35
  111. package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +108 -107
  112. package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/bindings.json +80 -0
  113. package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +58 -43
  114. package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation.d.ts +2 -1
  115. package/Microsoft.AspNetCore.Mvc.ModelBinding.d.ts +7 -7
  116. package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +37 -36
  117. package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +10 -9
  118. package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure/internal/index.d.ts +3 -2
  119. package/Microsoft.AspNetCore.Mvc.Razor.Internal/internal/index.d.ts +5 -4
  120. package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +2 -4
  121. package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +140 -139
  122. package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +13 -12
  123. package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +137 -136
  124. package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +45 -44
  125. package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +4 -6
  126. package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +4 -3
  127. package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +24 -23
  128. package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +9 -8
  129. package/Microsoft.AspNetCore.Mvc.ViewFeatures/bindings.json +131 -131
  130. package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +181 -183
  131. package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +4 -3
  132. package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure/internal/index.d.ts +5 -4
  133. package/Microsoft.AspNetCore.Mvc.ViewFeatures.d.ts +1 -1
  134. package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +17 -16
  135. package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +9 -8
  136. package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +4 -3
  137. package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers/internal/index.d.ts +8 -7
  138. package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +15 -17
  139. package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +4 -3
  140. package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +7 -6
  141. package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +5 -4
  142. package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +3 -2
  143. package/Microsoft.AspNetCore.Routing/bindings.json +185 -185
  144. package/Microsoft.AspNetCore.Routing/internal/index.d.ts +135 -137
  145. package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +25 -24
  146. package/Microsoft.AspNetCore.Routing.Internal/internal/index.d.ts +3 -2
  147. package/Microsoft.AspNetCore.Routing.Matching/bindings.json +4 -1
  148. package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +13 -15
  149. package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +32 -31
  150. package/Microsoft.AspNetCore.Routing.Template/internal/index.d.ts +16 -18
  151. package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +5 -4
  152. package/Microsoft.AspNetCore.Routing.d.ts +1 -1
  153. package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +9 -11
  154. package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +4 -3
  155. package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +3 -2
  156. package/Microsoft.AspNetCore.Server.Kestrel/internal/index.d.ts +3 -2
  157. package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +15 -14
  158. package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +7 -6
  159. package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +2 -4
  160. package/Microsoft.AspNetCore.Server.Kestrel.Https/internal/index.d.ts +19 -18
  161. package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes/internal/index.d.ts +7 -6
  162. package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic/internal/index.d.ts +3 -2
  163. package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.d.ts +3 -2
  164. package/Microsoft.AspNetCore.Session/internal/index.d.ts +3 -5
  165. package/Microsoft.AspNetCore.SignalR/bindings.json +131 -131
  166. package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +104 -106
  167. package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +32 -34
  168. package/Microsoft.AspNetCore.SignalR.d.ts +1 -1
  169. package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +3 -2
  170. package/Microsoft.AspNetCore.StaticAssets.Infrastructure/internal/index.d.ts +5 -4
  171. package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +2 -4
  172. package/Microsoft.AspNetCore.StaticFiles.Infrastructure/internal/index.d.ts +7 -6
  173. package/Microsoft.AspNetCore.WebSockets/internal/index.d.ts +5 -4
  174. package/Microsoft.AspNetCore.WebUtilities/internal/index.d.ts +25 -24
  175. package/Microsoft.AspNetCore.WebUtilities.d.ts +1 -1
  176. package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +30 -29
  177. package/Microsoft.Extensions.Hosting/internal/index.d.ts +3 -2
  178. package/Microsoft.JSInterop/internal/index.d.ts +46 -48
  179. package/Microsoft.JSInterop.Implementation/internal/index.d.ts +8 -10
  180. package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +9 -11
  181. package/Microsoft.Net.Http.Headers/internal/index.d.ts +57 -59
  182. package/README.md +58 -15
  183. package/System.Formats.Cbor/internal/index.d.ts +4 -6
  184. package/System.Security.Claims/internal/index.d.ts +4 -3
  185. package/System.Threading.RateLimiting/internal/index.d.ts +13 -15
  186. package/__internal/extensions/index.d.ts +417 -419
  187. package/package.json +4 -4
@@ -2,11 +2,14 @@
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
- // Primitive type aliases from @tsonic/core
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 { JsValue, 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
10
+ import type { BearerTokenEvents } from "../../Microsoft.AspNetCore.Authentication.BearerToken/internal/index.js";
9
11
  import type { ClaimActionCollection } from "../../Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.js";
12
+ import type { OAuthEvents } from "../../Microsoft.AspNetCore.Authentication.OAuth/internal/index.js";
10
13
  import type { IDataProtectionProvider, IDataProtector } from "../../Microsoft.AspNetCore.DataProtection/internal/index.js";
11
14
  import * as Microsoft_AspNetCore_Http_Internal from "../../Microsoft.AspNetCore.Http/internal/index.js";
12
15
  import type { CookieBuilder, CookieOptions, CookieSecurePolicy, HttpContext, HttpRequest, HttpResponse, PathString, RequestDelegate, SameSiteMode } from "../../Microsoft.AspNetCore.Http/internal/index.js";
@@ -29,8 +32,8 @@ import type { IOptions_1, IOptionsMonitor_1 } from "@tsonic/microsoft-extensions
29
32
  export interface IAuthenticateResultFeature$instance {
30
33
  readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticateResultFeature: never;
31
34
 
32
- get AuthenticateResult(): AuthenticateResult | undefined;
33
- set AuthenticateResult(value: AuthenticateResult | undefined);
35
+ get AuthenticateResult(): AuthenticateResult | null;
36
+ set AuthenticateResult(value: AuthenticateResult | null);
34
37
  }
35
38
 
36
39
 
@@ -59,7 +62,7 @@ export interface IAuthenticationHandler$instance {
59
62
  readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
60
63
 
61
64
  AuthenticateAsync(): Task_1<AuthenticateResult>;
62
- ChallengeAsync(properties: AuthenticationProperties): Task;
65
+ ChallengeAsync(properties: AuthenticationProperties | null): Task;
63
66
  InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
64
67
  }
65
68
 
@@ -69,7 +72,7 @@ export type IAuthenticationHandler = IAuthenticationHandler$instance;
69
72
  export interface IAuthenticationHandlerProvider$instance {
70
73
  readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandlerProvider: never;
71
74
 
72
- GetHandlerAsync(context: HttpContext, authenticationScheme: string): Task_1<IAuthenticationHandler | undefined>;
75
+ GetHandlerAsync(context: HttpContext, authenticationScheme: string): Task_1<IAuthenticationHandler | null>;
73
76
  }
74
77
 
75
78
 
@@ -78,7 +81,7 @@ export type IAuthenticationHandlerProvider = IAuthenticationHandlerProvider$inst
78
81
  export interface IAuthenticationRequestHandler$instance extends IAuthenticationHandler {
79
82
  readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationRequestHandler: never;
80
83
 
81
- ChallengeAsync(properties: AuthenticationProperties): Task;
84
+ ChallengeAsync(properties: AuthenticationProperties | null): Task;
82
85
  HandleRequestAsync(): Task_1<System_Internal.Boolean>;
83
86
  InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
84
87
  AuthenticateAsync(): Task_1<AuthenticateResult>;
@@ -94,7 +97,7 @@ export interface IAuthenticationSchemeProvider$instance {
94
97
 
95
98
  AddScheme(scheme: AuthenticationScheme): void;
96
99
  GetAllSchemesAsync(): Task_1<IEnumerable_1<AuthenticationScheme>>;
97
- GetSchemeAsync(name: string): Task_1<AuthenticationScheme | undefined>;
100
+ GetSchemeAsync(name: string): Task_1<AuthenticationScheme | null>;
98
101
  RemoveScheme(name: string): void;
99
102
  TryAddScheme(scheme: AuthenticationScheme): boolean;
100
103
  }
@@ -105,9 +108,9 @@ export type IAuthenticationSchemeProvider = IAuthenticationSchemeProvider$instan
105
108
  export interface IAuthenticationService$instance {
106
109
  readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationService: never;
107
110
 
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;
111
+ AuthenticateAsync(context: HttpContext, scheme: string | null): Task_1<AuthenticateResult>;
112
+ ChallengeAsync(context: HttpContext, scheme: string | null, properties: AuthenticationProperties | null): Task;
113
+ SignInAsync(context: HttpContext, scheme: string | null, principal: ClaimsPrincipal, properties: AuthenticationProperties | null): Task;
111
114
  }
112
115
 
113
116
 
@@ -118,9 +121,9 @@ export interface IAuthenticationSignInHandler$instance extends IAuthenticationSi
118
121
 
119
122
  AuthenticateAsync(): Task_1<AuthenticateResult>;
120
123
  InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
121
- SignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties): Task;
122
- SignOutAsync(properties: AuthenticationProperties): Task;
123
- ChallengeAsync(properties: AuthenticationProperties): Task;
124
+ SignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties | null): Task;
125
+ SignOutAsync(properties: AuthenticationProperties | null): Task;
126
+ ChallengeAsync(properties: AuthenticationProperties | null): Task;
124
127
  }
125
128
 
126
129
 
@@ -131,8 +134,8 @@ export interface IAuthenticationSignOutHandler$instance extends IAuthenticationH
131
134
 
132
135
  AuthenticateAsync(): Task_1<AuthenticateResult>;
133
136
  InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
134
- SignOutAsync(properties: AuthenticationProperties): Task;
135
- ChallengeAsync(properties: AuthenticationProperties): Task;
137
+ SignOutAsync(properties: AuthenticationProperties | null): Task;
138
+ ChallengeAsync(properties: AuthenticationProperties | null): Task;
136
139
  }
137
140
 
138
141
 
@@ -152,7 +155,7 @@ export type IClaimsTransformation = IClaimsTransformation$instance;
152
155
  export interface IDataSerializer_1$instance<TModel> {
153
156
  readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IDataSerializer_1: never;
154
157
 
155
- Deserialize(data: byte[]): TModel | undefined;
158
+ Deserialize(data: byte[]): TModel | null;
156
159
  Serialize(model: TModel): byte[];
157
160
  }
158
161
 
@@ -162,10 +165,10 @@ export type IDataSerializer_1<TModel> = IDataSerializer_1$instance<TModel>;
162
165
  export interface ISecureDataFormat_1$instance<TData> {
163
166
  readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_ISecureDataFormat_1: never;
164
167
 
165
- Protect(data: TData, purpose: string): string;
168
+ Protect(data: TData, purpose: string | null): string;
166
169
  Protect(data: TData): string;
167
- Unprotect(protectedText: string, purpose: string): TData | undefined;
168
- Unprotect(protectedText: string): TData | undefined;
170
+ Unprotect(protectedText: string | null, purpose: string | null): TData | null;
171
+ Unprotect(protectedText: string | null): TData | null;
169
172
  }
170
173
 
171
174
 
@@ -184,10 +187,10 @@ export interface AccessDeniedContext$instance extends HandleRequestContext_1<Rem
184
187
  readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AccessDeniedContext: never;
185
188
 
186
189
  AccessDeniedPath: PathString;
187
- get Properties(): AuthenticationProperties | undefined;
188
- set Properties(value: AuthenticationProperties | undefined);
189
- get ReturnUrl(): string | undefined;
190
- set ReturnUrl(value: string | undefined);
190
+ get Properties(): AuthenticationProperties | null;
191
+ set Properties(value: AuthenticationProperties | null);
192
+ get ReturnUrl(): string | null;
193
+ set ReturnUrl(value: string | null);
191
194
  ReturnUrlParameter: string;
192
195
  }
193
196
 
@@ -202,23 +205,23 @@ export type AccessDeniedContext = AccessDeniedContext$instance;
202
205
  export interface AuthenticateResult$instance {
203
206
  readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticateResult: never;
204
207
 
205
- get Failure(): Exception | undefined;
206
- set Failure(value: Exception | undefined);
208
+ get Failure(): Exception | null;
209
+ set Failure(value: Exception | null);
207
210
  None: boolean;
208
- readonly Principal: ClaimsPrincipal | undefined;
209
- get Properties(): AuthenticationProperties | undefined;
210
- set Properties(value: AuthenticationProperties | undefined);
211
+ readonly Principal: ClaimsPrincipal | null;
212
+ get Properties(): AuthenticationProperties | null;
213
+ set Properties(value: AuthenticationProperties | null);
211
214
  readonly Succeeded: boolean;
212
- get Ticket(): AuthenticationTicket | undefined;
213
- set Ticket(value: AuthenticationTicket | undefined);
215
+ get Ticket(): AuthenticationTicket | null;
216
+ set Ticket(value: AuthenticationTicket | null);
214
217
  Clone(): AuthenticateResult;
215
218
  }
216
219
 
217
220
 
218
221
  export const AuthenticateResult: (abstract new() => AuthenticateResult) & {
219
- Fail(failure: Exception, properties: AuthenticationProperties): AuthenticateResult;
222
+ Fail(failure: Exception, properties: AuthenticationProperties | null): AuthenticateResult;
220
223
  Fail(failure: Exception): AuthenticateResult;
221
- Fail(failureMessage: string, properties: AuthenticationProperties): AuthenticateResult;
224
+ Fail(failureMessage: string, properties: AuthenticationProperties | null): AuthenticateResult;
222
225
  Fail(failureMessage: string): AuthenticateResult;
223
226
  NoResult(): AuthenticateResult;
224
227
  Success(ticket: AuthenticationTicket): AuthenticateResult;
@@ -231,10 +234,10 @@ export interface AuthenticationBuilder$instance {
231
234
  readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationBuilder: never;
232
235
 
233
236
  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;
237
+ AddPolicyScheme(authenticationScheme: string, displayName: string | null, configureOptions: Action_1<PolicySchemeOptions>): AuthenticationBuilder;
238
+ AddRemoteScheme<TOptions extends RemoteAuthenticationOptions, THandler extends RemoteAuthenticationHandler_1<TOptions>>(authenticationScheme: string, displayName: string | null, configureOptions: Action_1<TOptions> | null): AuthenticationBuilder;
239
+ AddScheme<TOptions extends AuthenticationSchemeOptions, THandler extends AuthenticationHandler_1<TOptions>>(authenticationScheme: string, displayName: string | null, configureOptions: Action_1<TOptions> | null): AuthenticationBuilder;
240
+ AddScheme<TOptions extends AuthenticationSchemeOptions, THandler extends AuthenticationHandler_1<TOptions>>(authenticationScheme: string, configureOptions: Action_1<TOptions> | null): AuthenticationBuilder;
238
241
  }
239
242
 
240
243
 
@@ -254,8 +257,8 @@ export interface AuthenticationFailureException$instance extends Exception {
254
257
 
255
258
 
256
259
  export const AuthenticationFailureException: {
257
- new(message: string): AuthenticationFailureException;
258
- new(message: string, innerException: Exception): AuthenticationFailureException;
260
+ new(message: string | null): AuthenticationFailureException;
261
+ new(message: string | null, innerException: Exception | null): AuthenticationFailureException;
259
262
  };
260
263
 
261
264
 
@@ -289,20 +292,20 @@ export interface AuthenticationHandler_1$instance<TOptions extends Authenticatio
289
292
  readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
290
293
 
291
294
  readonly ClaimsIssuer: string;
292
- Events: unknown;
295
+ Events: JsValue | RemoteAuthenticationEvents;
293
296
  Options: TOptions;
294
297
  Scheme: AuthenticationScheme;
295
298
  AuthenticateAsync(): Task_1<AuthenticateResult>;
296
- ChallengeAsync(properties: AuthenticationProperties): Task;
297
- CreateEventsAsync(): Task_1<unknown>;
298
- ForbidAsync(properties: AuthenticationProperties): Task;
299
+ ChallengeAsync(properties: AuthenticationProperties | null): Task;
300
+ CreateEventsAsync(): Task_1<JsValue>;
301
+ ForbidAsync(properties: AuthenticationProperties | null): Task;
299
302
  HandleAuthenticateAsync(): Task_1<AuthenticateResult>;
300
303
  HandleChallengeAsync(properties: AuthenticationProperties): Task;
301
304
  HandleForbiddenAsync(properties: AuthenticationProperties): Task;
302
305
  InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
303
306
  InitializeEventsAsync(): Task;
304
307
  InitializeHandlerAsync(): Task;
305
- ResolveTarget(scheme: string): string | undefined;
308
+ ResolveTarget(scheme: string | null): string | null;
306
309
  }
307
310
 
308
311
 
@@ -323,7 +326,7 @@ export interface AuthenticationHandlerProvider$instance extends IAuthenticationH
323
326
  readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandlerProvider: never;
324
327
 
325
328
  readonly Schemes: IAuthenticationSchemeProvider;
326
- GetHandlerAsync(context: HttpContext, authenticationScheme: string): Task_1<IAuthenticationHandler | undefined>;
329
+ GetHandlerAsync(context: HttpContext, authenticationScheme: string): Task_1<IAuthenticationHandler | null>;
327
330
  }
328
331
 
329
332
 
@@ -357,23 +360,23 @@ export type AuthenticationMiddleware = AuthenticationMiddleware$instance;
357
360
  export interface AuthenticationOptions$instance {
358
361
  readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationOptions: never;
359
362
 
360
- get DefaultAuthenticateScheme(): string | undefined;
361
- set DefaultAuthenticateScheme(value: string | undefined);
362
- get DefaultChallengeScheme(): string | undefined;
363
- set DefaultChallengeScheme(value: string | undefined);
364
- get DefaultForbidScheme(): string | undefined;
365
- set DefaultForbidScheme(value: string | undefined);
366
- get DefaultScheme(): string | undefined;
367
- set DefaultScheme(value: string | undefined);
368
- get DefaultSignInScheme(): string | undefined;
369
- set DefaultSignInScheme(value: string | undefined);
370
- get DefaultSignOutScheme(): string | undefined;
371
- set DefaultSignOutScheme(value: string | undefined);
363
+ get DefaultAuthenticateScheme(): string | null;
364
+ set DefaultAuthenticateScheme(value: string | null);
365
+ get DefaultChallengeScheme(): string | null;
366
+ set DefaultChallengeScheme(value: string | null);
367
+ get DefaultForbidScheme(): string | null;
368
+ set DefaultForbidScheme(value: string | null);
369
+ get DefaultScheme(): string | null;
370
+ set DefaultScheme(value: string | null);
371
+ get DefaultSignInScheme(): string | null;
372
+ set DefaultSignInScheme(value: string | null);
373
+ get DefaultSignOutScheme(): string | null;
374
+ set DefaultSignOutScheme(value: string | null);
372
375
  RequireAuthenticatedSignIn: boolean;
373
376
  readonly SchemeMap: IDictionary_2<System_Internal.String, AuthenticationSchemeBuilder>;
374
377
  readonly Schemes: IEnumerable_1<AuthenticationSchemeBuilder>;
375
378
  AddScheme(name: string, configureBuilder: Action_1<AuthenticationSchemeBuilder>): void;
376
- AddScheme<THandler extends IAuthenticationHandler>(name: string, displayName: string): void;
379
+ AddScheme<THandler extends IAuthenticationHandler>(name: string, displayName: string | null): void;
377
380
  }
378
381
 
379
382
 
@@ -394,22 +397,22 @@ export interface AuthenticationProperties$instance {
394
397
  IsPersistent: boolean;
395
398
  get IssuedUtc(): Nullable_1<DateTimeOffset>;
396
399
  set IssuedUtc(value: Nullable_1<DateTimeOffset> | DateTimeOffset);
397
- readonly Items: IDictionary_2<System_Internal.String, string | undefined>;
398
- readonly Parameters: IDictionary_2<System_Internal.String, unknown | undefined>;
399
- get RedirectUri(): string | undefined;
400
- set RedirectUri(value: string | undefined);
400
+ readonly Items: IDictionary_2<System_Internal.String, string | null>;
401
+ readonly Parameters: IDictionary_2<System_Internal.String, JsValue | null>;
402
+ get RedirectUri(): string | null;
403
+ set RedirectUri(value: string | null);
401
404
  Clone(): AuthenticationProperties;
402
- GetParameter<T>(key: string): T | undefined;
403
- GetString(key: string): string | undefined;
405
+ GetParameter<T>(key: string): T | null;
406
+ GetString(key: string): string | null;
404
407
  SetParameter<T>(key: string, value: T): void;
405
- SetString(key: string, value: string): void;
408
+ SetString(key: string, value: string | null): void;
406
409
  }
407
410
 
408
411
 
409
412
  export const AuthenticationProperties: {
410
413
  new(): AuthenticationProperties;
411
- new(items: IDictionary_2<System_Internal.String, System_Internal.String>): AuthenticationProperties;
412
- new(items: IDictionary_2<System_Internal.String, System_Internal.String>, parameters: IDictionary_2<System_Internal.String, unknown>): AuthenticationProperties;
414
+ new(items: IDictionary_2<System_Internal.String, string | null>): AuthenticationProperties;
415
+ new(items: IDictionary_2<System_Internal.String, string | null> | null, parameters: IDictionary_2<System_Internal.String, JsValue | null> | null): AuthenticationProperties;
413
416
  };
414
417
 
415
418
 
@@ -418,14 +421,14 @@ export type AuthenticationProperties = AuthenticationProperties$instance;
418
421
  export interface AuthenticationScheme$instance {
419
422
  readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationScheme: never;
420
423
 
421
- readonly DisplayName: string | undefined;
424
+ readonly DisplayName: string | null;
422
425
  readonly HandlerType: Type;
423
426
  readonly Name: string;
424
427
  }
425
428
 
426
429
 
427
430
  export const AuthenticationScheme: {
428
- new(name: string, displayName: string, handlerType: Type): AuthenticationScheme;
431
+ new(name: string, displayName: string | null, handlerType: Type): AuthenticationScheme;
429
432
  };
430
433
 
431
434
 
@@ -434,10 +437,10 @@ export type AuthenticationScheme = AuthenticationScheme$instance;
434
437
  export interface AuthenticationSchemeBuilder$instance {
435
438
  readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationSchemeBuilder: never;
436
439
 
437
- get DisplayName(): string | undefined;
438
- set DisplayName(value: string | undefined);
439
- get HandlerType(): Type | undefined;
440
- set HandlerType(value: Type | undefined);
440
+ get DisplayName(): string | null;
441
+ set DisplayName(value: string | null);
442
+ get HandlerType(): Type | null;
443
+ set HandlerType(value: Type | null);
441
444
  readonly Name: string;
442
445
  Build(): AuthenticationScheme;
443
446
  }
@@ -453,27 +456,27 @@ export type AuthenticationSchemeBuilder = AuthenticationSchemeBuilder$instance;
453
456
  export interface AuthenticationSchemeOptions$instance {
454
457
  readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationSchemeOptions: never;
455
458
 
456
- get ClaimsIssuer(): string | undefined;
457
- set ClaimsIssuer(value: string | undefined);
458
- Events: unknown;
459
- get EventsType(): Type | undefined;
460
- set EventsType(value: Type | undefined);
461
- get ForwardAuthenticate(): string | undefined;
462
- set ForwardAuthenticate(value: string | undefined);
463
- get ForwardChallenge(): string | undefined;
464
- set ForwardChallenge(value: string | undefined);
465
- get ForwardDefault(): string | undefined;
466
- set ForwardDefault(value: string | undefined);
467
- get ForwardDefaultSelector(): Func_2<HttpContext, string | undefined> | undefined;
468
- set ForwardDefaultSelector(value: Func_2<HttpContext, string | undefined> | undefined);
469
- get ForwardForbid(): string | undefined;
470
- set ForwardForbid(value: string | undefined);
471
- get ForwardSignIn(): string | undefined;
472
- set ForwardSignIn(value: string | undefined);
473
- get ForwardSignOut(): string | undefined;
474
- set ForwardSignOut(value: string | undefined);
475
- get TimeProvider(): TimeProvider | undefined;
476
- set TimeProvider(value: TimeProvider | undefined);
459
+ get ClaimsIssuer(): string | null;
460
+ set ClaimsIssuer(value: string | null);
461
+ Events: BearerTokenEvents | JsValue;
462
+ get EventsType(): Type | null;
463
+ set EventsType(value: Type | null);
464
+ get ForwardAuthenticate(): string | null;
465
+ set ForwardAuthenticate(value: string | null);
466
+ get ForwardChallenge(): string | null;
467
+ set ForwardChallenge(value: string | null);
468
+ get ForwardDefault(): string | null;
469
+ set ForwardDefault(value: string | null);
470
+ get ForwardDefaultSelector(): Func_2<HttpContext, string | null> | null;
471
+ set ForwardDefaultSelector(value: Func_2<HttpContext, string | null> | null);
472
+ get ForwardForbid(): string | null;
473
+ set ForwardForbid(value: string | null);
474
+ get ForwardSignIn(): string | null;
475
+ set ForwardSignIn(value: string | null);
476
+ get ForwardSignOut(): string | null;
477
+ set ForwardSignOut(value: string | null);
478
+ get TimeProvider(): TimeProvider | null;
479
+ set TimeProvider(value: TimeProvider | null);
477
480
  Validate(): void;
478
481
  Validate(scheme: string): void;
479
482
  }
@@ -493,13 +496,13 @@ export interface AuthenticationSchemeProvider$instance extends IAuthenticationSc
493
496
 
494
497
  AddScheme(scheme: AuthenticationScheme): void;
495
498
  GetAllSchemesAsync(): Task_1<IEnumerable_1<AuthenticationScheme>>;
496
- GetDefaultAuthenticateSchemeAsync(): Task_1<AuthenticationScheme | undefined>;
497
- GetDefaultChallengeSchemeAsync(): Task_1<AuthenticationScheme | undefined>;
498
- GetDefaultForbidSchemeAsync(): Task_1<AuthenticationScheme | undefined>;
499
- GetDefaultSignInSchemeAsync(): Task_1<AuthenticationScheme | undefined>;
500
- GetDefaultSignOutSchemeAsync(): Task_1<AuthenticationScheme | undefined>;
499
+ GetDefaultAuthenticateSchemeAsync(): Task_1<AuthenticationScheme | null>;
500
+ GetDefaultChallengeSchemeAsync(): Task_1<AuthenticationScheme | null>;
501
+ GetDefaultForbidSchemeAsync(): Task_1<AuthenticationScheme | null>;
502
+ GetDefaultSignInSchemeAsync(): Task_1<AuthenticationScheme | null>;
503
+ GetDefaultSignOutSchemeAsync(): Task_1<AuthenticationScheme | null>;
501
504
  GetRequestHandlerSchemesAsync(): Task_1<IEnumerable_1<AuthenticationScheme>>;
502
- GetSchemeAsync(name: string): Task_1<AuthenticationScheme | undefined>;
505
+ GetSchemeAsync(name: string): Task_1<AuthenticationScheme | null>;
503
506
  RemoveScheme(name: string): void;
504
507
  TryAddScheme(scheme: AuthenticationScheme): boolean;
505
508
  }
@@ -526,11 +529,11 @@ export interface AuthenticationService$instance extends IAuthenticationService$i
526
529
  readonly Options: AuthenticationOptions;
527
530
  readonly Schemes: IAuthenticationSchemeProvider;
528
531
  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;
532
+ AuthenticateAsync(context: HttpContext, scheme: string | null): Task_1<AuthenticateResult>;
533
+ ChallengeAsync(context: HttpContext, scheme: string | null, properties: AuthenticationProperties | null): Task;
534
+ ForbidAsync(context: HttpContext, scheme: string | null, properties: AuthenticationProperties | null): Task;
535
+ SignInAsync(context: HttpContext, scheme: string | null, principal: ClaimsPrincipal, properties: AuthenticationProperties | null): Task;
536
+ SignOutAsync(context: HttpContext, scheme: string | null, properties: AuthenticationProperties | null): Task;
534
537
  }
535
538
 
536
539
 
@@ -557,7 +560,7 @@ export interface AuthenticationTicket$instance {
557
560
 
558
561
 
559
562
  export const AuthenticationTicket: {
560
- new(principal: ClaimsPrincipal, properties: AuthenticationProperties, authenticationScheme: string): AuthenticationTicket;
563
+ new(principal: ClaimsPrincipal, properties: AuthenticationProperties | null, authenticationScheme: string): AuthenticationTicket;
561
564
  new(principal: ClaimsPrincipal, authenticationScheme: string): AuthenticationTicket;
562
565
  };
563
566
 
@@ -621,7 +624,7 @@ export interface HandleRequestResult$instance extends AuthenticateResult {
621
624
 
622
625
  export const HandleRequestResult: {
623
626
  new(): HandleRequestResult;
624
- Fail(failureMessage: string, properties: AuthenticationProperties): HandleRequestResult;
627
+ Fail(failureMessage: string, properties: AuthenticationProperties | null): HandleRequestResult;
625
628
  Fail(failureMessage: string): HandleRequestResult;
626
629
  Handle(): HandleRequestResult;
627
630
  SkipHandler(): HandleRequestResult;
@@ -659,10 +662,10 @@ export interface PolicySchemeHandler$instance extends SignInAuthenticationHandle
659
662
  readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignOutHandler: never;
660
663
 
661
664
  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;
665
+ HandleChallengeAsync(properties: AuthenticationProperties | null): Task;
666
+ HandleForbiddenAsync(properties: AuthenticationProperties | null): Task;
667
+ HandleSignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties | null): Task;
668
+ HandleSignOutAsync(properties: AuthenticationProperties | null): Task;
666
669
  }
667
670
 
668
671
 
@@ -696,12 +699,12 @@ export type PolicySchemeOptions = PolicySchemeOptions$instance;
696
699
  export interface PrincipalContext_1$instance<TOptions extends AuthenticationSchemeOptions> extends PropertiesContext_1<TOptions> {
697
700
  readonly __tsonic_type_Microsoft_AspNetCore_Authentication_PrincipalContext_1: never;
698
701
 
699
- get Principal(): ClaimsPrincipal | undefined;
700
- set Principal(value: ClaimsPrincipal | undefined);
702
+ get Principal(): ClaimsPrincipal | null;
703
+ set Principal(value: ClaimsPrincipal | null);
701
704
  }
702
705
 
703
706
 
704
- export const PrincipalContext_1: (abstract new<TOptions extends AuthenticationSchemeOptions>(context: HttpContext, scheme: AuthenticationScheme, options: TOptions, properties: AuthenticationProperties) => PrincipalContext_1<TOptions>) & {
707
+ export const PrincipalContext_1: (abstract new<TOptions extends AuthenticationSchemeOptions>(context: HttpContext, scheme: AuthenticationScheme, options: TOptions, properties: AuthenticationProperties | null) => PrincipalContext_1<TOptions>) & {
705
708
  };
706
709
 
707
710
 
@@ -714,7 +717,7 @@ export interface PropertiesContext_1$instance<TOptions extends AuthenticationSch
714
717
  }
715
718
 
716
719
 
717
- export const PropertiesContext_1: (abstract new<TOptions extends AuthenticationSchemeOptions>(context: HttpContext, scheme: AuthenticationScheme, options: TOptions, properties: AuthenticationProperties) => PropertiesContext_1<TOptions>) & {
720
+ export const PropertiesContext_1: (abstract new<TOptions extends AuthenticationSchemeOptions>(context: HttpContext, scheme: AuthenticationScheme, options: TOptions, properties: AuthenticationProperties | null) => PropertiesContext_1<TOptions>) & {
718
721
  };
719
722
 
720
723
 
@@ -745,8 +748,8 @@ export interface PropertiesSerializer$instance {
745
748
 
746
749
  readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IDataSerializer_1: never;
747
750
 
748
- Deserialize(data: byte[]): AuthenticationProperties | undefined;
749
- Read(reader: BinaryReader): AuthenticationProperties | undefined;
751
+ Deserialize(data: byte[]): AuthenticationProperties | null;
752
+ Read(reader: BinaryReader): AuthenticationProperties | null;
750
753
  Serialize(model: AuthenticationProperties): byte[];
751
754
  Write(writer: BinaryWriter, properties: AuthenticationProperties): void;
752
755
  }
@@ -782,17 +785,17 @@ export type RedirectContext_1<TOptions extends AuthenticationSchemeOptions> = Re
782
785
  export interface RemoteAuthenticationContext_1$instance<TOptions extends AuthenticationSchemeOptions> extends HandleRequestContext_1<TOptions> {
783
786
  readonly __tsonic_type_Microsoft_AspNetCore_Authentication_RemoteAuthenticationContext_1: never;
784
787
 
785
- get Principal(): ClaimsPrincipal | undefined;
786
- set Principal(value: ClaimsPrincipal | undefined);
787
- get Properties(): AuthenticationProperties | undefined;
788
- set Properties(value: AuthenticationProperties | undefined);
788
+ get Principal(): ClaimsPrincipal | null;
789
+ set Principal(value: ClaimsPrincipal | null);
790
+ get Properties(): AuthenticationProperties | null;
791
+ set Properties(value: AuthenticationProperties | null);
789
792
  Fail(failure: Exception): void;
790
793
  Fail(failureMessage: string): void;
791
794
  Success(): void;
792
795
  }
793
796
 
794
797
 
795
- export const RemoteAuthenticationContext_1: (abstract new<TOptions extends AuthenticationSchemeOptions>(context: HttpContext, scheme: AuthenticationScheme, options: TOptions, properties: AuthenticationProperties) => RemoteAuthenticationContext_1<TOptions>) & {
798
+ export const RemoteAuthenticationContext_1: (abstract new<TOptions extends AuthenticationSchemeOptions>(context: HttpContext, scheme: AuthenticationScheme, options: TOptions, properties: AuthenticationProperties | null) => RemoteAuthenticationContext_1<TOptions>) & {
796
799
  };
797
800
 
798
801
 
@@ -823,7 +826,7 @@ export interface RemoteAuthenticationHandler_1$instance<TOptions extends RemoteA
823
826
  readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
824
827
  readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationRequestHandler: never;
825
828
 
826
- CreateEventsAsync(): Task_1<unknown>;
829
+ CreateEventsAsync(): Task_1<JsValue>;
827
830
  GenerateCorrelationId(properties: AuthenticationProperties): void;
828
831
  HandleAccessDeniedErrorAsync(properties: AuthenticationProperties): Task_1<HandleRequestResult>;
829
832
  HandleAuthenticateAsync(): Task_1<AuthenticateResult>;
@@ -851,19 +854,19 @@ export interface RemoteAuthenticationOptions$instance extends AuthenticationSche
851
854
 
852
855
  AccessDeniedPath: PathString;
853
856
  Backchannel: HttpClient;
854
- get BackchannelHttpHandler(): HttpMessageHandler | undefined;
855
- set BackchannelHttpHandler(value: HttpMessageHandler | undefined);
857
+ get BackchannelHttpHandler(): HttpMessageHandler | null;
858
+ set BackchannelHttpHandler(value: HttpMessageHandler | null);
856
859
  BackchannelTimeout: TimeSpan;
857
860
  CallbackPath: PathString;
858
861
  CorrelationCookie: CookieBuilder;
859
- get DataProtectionProvider(): IDataProtectionProvider | undefined;
860
- set DataProtectionProvider(value: IDataProtectionProvider | undefined);
861
- Events: unknown;
862
+ get DataProtectionProvider(): IDataProtectionProvider | null;
863
+ set DataProtectionProvider(value: IDataProtectionProvider | null);
864
+ Events: JsValue | OAuthEvents | RemoteAuthenticationEvents;
862
865
  RemoteAuthenticationTimeout: TimeSpan;
863
866
  ReturnUrlParameter: string;
864
867
  SaveTokens: boolean;
865
- get SignInScheme(): string | undefined;
866
- set SignInScheme(value: string | undefined);
868
+ get SignInScheme(): string | null;
869
+ set SignInScheme(value: string | null);
867
870
  Validate(scheme: string): void;
868
871
  Validate(): void;
869
872
  }
@@ -879,10 +882,10 @@ export type RemoteAuthenticationOptions = RemoteAuthenticationOptions$instance;
879
882
  export interface RemoteFailureContext$instance extends HandleRequestContext_1<RemoteAuthenticationOptions> {
880
883
  readonly __tsonic_type_Microsoft_AspNetCore_Authentication_RemoteFailureContext: never;
881
884
 
882
- get Failure(): Exception | undefined;
883
- set Failure(value: Exception | undefined);
884
- get Properties(): AuthenticationProperties | undefined;
885
- set Properties(value: AuthenticationProperties | undefined);
885
+ get Failure(): Exception | null;
886
+ set Failure(value: Exception | null);
887
+ get Properties(): AuthenticationProperties | null;
888
+ set Properties(value: AuthenticationProperties | null);
886
889
  }
887
890
 
888
891
 
@@ -896,7 +899,7 @@ export type RemoteFailureContext = RemoteFailureContext$instance;
896
899
  export interface RequestPathBaseCookieBuilder$instance extends CookieBuilder {
897
900
  readonly __tsonic_type_Microsoft_AspNetCore_Authentication_RequestPathBaseCookieBuilder: never;
898
901
 
899
- readonly AdditionalPath: string | undefined;
902
+ readonly AdditionalPath: string | null;
900
903
  Build(context: HttpContext, expiresFrom: DateTimeOffset): CookieOptions;
901
904
  Build(context: HttpContext): CookieOptions;
902
905
  }
@@ -912,11 +915,11 @@ export type RequestPathBaseCookieBuilder = RequestPathBaseCookieBuilder$instance
912
915
  export interface ResultContext_1$instance<TOptions extends AuthenticationSchemeOptions> extends BaseContext_1<TOptions> {
913
916
  readonly __tsonic_type_Microsoft_AspNetCore_Authentication_ResultContext_1: never;
914
917
 
915
- get Principal(): ClaimsPrincipal | undefined;
916
- set Principal(value: ClaimsPrincipal | undefined);
918
+ get Principal(): ClaimsPrincipal | null;
919
+ set Principal(value: ClaimsPrincipal | null);
917
920
  Properties: AuthenticationProperties;
918
- get Result(): AuthenticateResult | undefined;
919
- set Result(value: AuthenticateResult | undefined);
921
+ get Result(): AuthenticateResult | null;
922
+ set Result(value: AuthenticateResult | null);
920
923
  Fail(failure: Exception): void;
921
924
  Fail(failureMessage: string): void;
922
925
  NoResult(): void;
@@ -936,9 +939,9 @@ export interface SecureDataFormat_1$instance<TData> {
936
939
  readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_ISecureDataFormat_1: never;
937
940
 
938
941
  Protect(data: TData): string;
939
- Protect(data: TData, purpose: string): string;
940
- Unprotect(protectedText: string): TData | undefined;
941
- Unprotect(protectedText: string, purpose: string): TData | undefined;
942
+ Protect(data: TData, purpose: string | null): string;
943
+ Unprotect(protectedText: string | null): TData | null;
944
+ Unprotect(protectedText: string | null, purpose: string | null): TData | null;
942
945
  }
943
946
 
944
947
 
@@ -961,8 +964,8 @@ export interface SignInAuthenticationHandler_1$instance<TOptions extends Authent
961
964
  readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignInHandler: never;
962
965
  readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignOutHandler: never;
963
966
 
964
- HandleSignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties): Task;
965
- SignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties): Task;
967
+ HandleSignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties | null): Task;
968
+ SignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties | null): Task;
966
969
  }
967
970
 
968
971
 
@@ -984,8 +987,8 @@ export interface SignOutAuthenticationHandler_1$instance<TOptions extends Authen
984
987
  readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
985
988
  readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignOutHandler: never;
986
989
 
987
- HandleSignOutAsync(properties: AuthenticationProperties): Task;
988
- SignOutAsync(properties: AuthenticationProperties): Task;
990
+ HandleSignOutAsync(properties: AuthenticationProperties | null): Task;
991
+ SignOutAsync(properties: AuthenticationProperties | null): Task;
989
992
  }
990
993
 
991
994
 
@@ -1044,8 +1047,8 @@ export type TicketDataFormat = TicketDataFormat$instance & __TicketDataFormat$vi
1044
1047
  export interface TicketReceivedContext$instance extends RemoteAuthenticationContext_1<RemoteAuthenticationOptions> {
1045
1048
  readonly __tsonic_type_Microsoft_AspNetCore_Authentication_TicketReceivedContext: never;
1046
1049
 
1047
- get ReturnUri(): string | undefined;
1048
- set ReturnUri(value: string | undefined);
1050
+ get ReturnUri(): string | null;
1051
+ set ReturnUri(value: string | null);
1049
1052
  }
1050
1053
 
1051
1054
 
@@ -1061,8 +1064,8 @@ export interface TicketSerializer$instance {
1061
1064
 
1062
1065
  readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IDataSerializer_1: never;
1063
1066
 
1064
- Deserialize(data: byte[]): AuthenticationTicket | undefined;
1065
- Read(reader: BinaryReader): AuthenticationTicket | undefined;
1067
+ Deserialize(data: byte[]): AuthenticationTicket | null;
1068
+ Read(reader: BinaryReader): AuthenticationTicket | null;
1066
1069
  ReadClaim(reader: BinaryReader, identity: ClaimsIdentity): Claim;
1067
1070
  ReadIdentity(reader: BinaryReader): ClaimsIdentity;
1068
1071
  Serialize(ticket: AuthenticationTicket): byte[];
@@ -1093,25 +1096,25 @@ export abstract class AuthenticationConfigurationProviderExtensions$instance {
1093
1096
  export type AuthenticationConfigurationProviderExtensions = AuthenticationConfigurationProviderExtensions$instance;
1094
1097
 
1095
1098
  export abstract class AuthenticationHttpContextExtensions$instance {
1096
- static AuthenticateAsync(context: HttpContext, scheme: string): Task_1<AuthenticateResult>;
1099
+ static AuthenticateAsync(context: HttpContext, scheme: string | null): Task_1<AuthenticateResult>;
1097
1100
  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;
1101
+ static ChallengeAsync(context: HttpContext, properties: AuthenticationProperties | null): Task;
1102
+ static ChallengeAsync(context: HttpContext, scheme: string | null, properties: AuthenticationProperties | null): Task;
1103
+ static ChallengeAsync(context: HttpContext, scheme: string | null): Task;
1101
1104
  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;
1105
+ static ForbidAsync(context: HttpContext, properties: AuthenticationProperties | null): Task;
1106
+ static ForbidAsync(context: HttpContext, scheme: string | null, properties: AuthenticationProperties | null): Task;
1107
+ static ForbidAsync(context: HttpContext, scheme: string | null): Task;
1105
1108
  static ForbidAsync(context: HttpContext): Task;
1106
- static GetTokenAsync(context: HttpContext, scheme: string, tokenName: string): Task_1<string | undefined>;
1107
- static GetTokenAsync(context: HttpContext, tokenName: string): Task_1<string | undefined>;
1108
- static SignInAsync(context: HttpContext, principal: ClaimsPrincipal, properties: AuthenticationProperties): Task;
1109
+ static GetTokenAsync(context: HttpContext, scheme: string | null, tokenName: string): Task_1<string | null>;
1110
+ static GetTokenAsync(context: HttpContext, tokenName: string): Task_1<string | null>;
1111
+ static SignInAsync(context: HttpContext, principal: ClaimsPrincipal, properties: AuthenticationProperties | null): Task;
1109
1112
  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;
1113
+ static SignInAsync(context: HttpContext, scheme: string | null, principal: ClaimsPrincipal, properties: AuthenticationProperties | null): Task;
1114
+ static SignInAsync(context: HttpContext, scheme: string | null, principal: ClaimsPrincipal): Task;
1115
+ static SignOutAsync(context: HttpContext, properties: AuthenticationProperties | null): Task;
1116
+ static SignOutAsync(context: HttpContext, scheme: string | null, properties: AuthenticationProperties | null): Task;
1117
+ static SignOutAsync(context: HttpContext, scheme: string | null): Task;
1115
1118
  static SignOutAsync(context: HttpContext): Task;
1116
1119
  }
1117
1120
 
@@ -1119,12 +1122,12 @@ export abstract class AuthenticationHttpContextExtensions$instance {
1119
1122
  export type AuthenticationHttpContextExtensions = AuthenticationHttpContextExtensions$instance;
1120
1123
 
1121
1124
  export abstract class AuthenticationTokenExtensions$instance {
1122
- static GetTokenAsync(auth: IAuthenticationService, context: HttpContext, scheme: string, tokenName: string): Task_1<string | undefined>;
1123
- static GetTokenAsync(auth: IAuthenticationService, context: HttpContext, tokenName: string): Task_1<string | undefined>;
1125
+ static GetTokenAsync(auth: IAuthenticationService, context: HttpContext, scheme: string | null, tokenName: string): Task_1<string | null>;
1126
+ static GetTokenAsync(auth: IAuthenticationService, context: HttpContext, tokenName: string): Task_1<string | null>;
1124
1127
  static GetTokens(properties: AuthenticationProperties): IEnumerable_1<AuthenticationToken>;
1125
- static GetTokenValue(properties: AuthenticationProperties, tokenName: string): string | undefined;
1128
+ static GetTokenValue(properties: AuthenticationProperties, tokenName: string): string | null;
1126
1129
  static StoreTokens(properties: AuthenticationProperties, tokens: IEnumerable_1<AuthenticationToken>): void;
1127
- static UpdateTokenValue(properties: AuthenticationProperties, tokenName: string, tokenValue: string): boolean;
1130
+ static UpdateTokenValue(properties: AuthenticationProperties, tokenName: string, tokenValue: string | null): boolean;
1128
1131
  }
1129
1132
 
1130
1133
 
@@ -1143,8 +1146,8 @@ export abstract class ClaimActionCollectionMapExtensions$instance {
1143
1146
  static DeleteClaims(collection: ClaimActionCollection, ...claimTypes: string[]): void;
1144
1147
  static MapAll(collection: ClaimActionCollection): void;
1145
1148
  static MapAllExcept(collection: ClaimActionCollection, ...exclusions: string[]): void;
1146
- static MapCustomJson(collection: ClaimActionCollection, claimType: string, resolver: Func_2<JsonElement, System_Internal.String>): void;
1147
- static MapCustomJson(collection: ClaimActionCollection, claimType: string, valueType: string, resolver: Func_2<JsonElement, System_Internal.String>): void;
1149
+ static MapCustomJson(collection: ClaimActionCollection, claimType: string, resolver: Func_2<JsonElement, string | null>): void;
1150
+ static MapCustomJson(collection: ClaimActionCollection, claimType: string, valueType: string, resolver: Func_2<JsonElement, string | null>): void;
1148
1151
  static MapJsonKey(collection: ClaimActionCollection, claimType: string, jsonKey: string, valueType: string): void;
1149
1152
  static MapJsonKey(collection: ClaimActionCollection, claimType: string, jsonKey: string): void;
1150
1153
  static MapJsonSubKey(collection: ClaimActionCollection, claimType: string, jsonKey: string, subKey: string, valueType: string): void;
@@ -1155,7 +1158,7 @@ export abstract class ClaimActionCollectionMapExtensions$instance {
1155
1158
  export type ClaimActionCollectionMapExtensions = ClaimActionCollectionMapExtensions$instance;
1156
1159
 
1157
1160
  export abstract class JsonDocumentAuthExtensions$instance {
1158
- static GetString(element: JsonElement, key: string): string | undefined;
1161
+ static GetString(element: JsonElement, key: string): string | null;
1159
1162
  }
1160
1163
 
1161
1164