@tsonic/aspnetcore 10.0.2 → 10.0.5
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.Antiforgery/internal/index.d.ts +12 -0
- package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +70 -2
- package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +12 -0
- package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +5 -0
- package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +3 -0
- package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +40 -0
- package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +19 -0
- package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +6 -0
- package/Microsoft.AspNetCore.Builder/internal/index.d.ts +40 -2
- package/Microsoft.AspNetCore.Components/internal/index.d.ts +74 -1
- package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +18 -1
- package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +110 -5
- package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.Components.Forms.Mapping.d.ts +3 -0
- package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +3 -0
- package/Microsoft.AspNetCore.Components.Infrastructure.d.ts +3 -0
- package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +9 -0
- package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +28 -3
- package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +8 -2
- package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +9 -0
- package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +30 -0
- package/Microsoft.AspNetCore.Components.Web.Internal/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +7 -1
- package/Microsoft.AspNetCore.Connections/internal/index.d.ts +54 -1
- package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +44 -0
- package/Microsoft.AspNetCore.Cors/internal/index.d.ts +9 -0
- package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +16 -0
- package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +19 -0
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +12 -0
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +20 -0
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.d.ts +3 -0
- package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +11 -0
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +10 -0
- package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +12 -0
- package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +24 -0
- package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +21 -0
- package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +32 -0
- package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +4 -0
- package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +4 -0
- package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +10 -0
- package/Microsoft.AspNetCore.Hosting.Server.Abstractions/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +4 -0
- package/Microsoft.AspNetCore.Html/internal/index.d.ts +16 -0
- package/Microsoft.AspNetCore.Http/internal/index.d.ts +136 -1
- package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.Http.Connections.Features/internal/index.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +3 -0
- package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +113 -1
- package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +207 -2
- package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +46 -0
- package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.Identity/internal/index.d.ts +153 -0
- package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +4 -0
- package/Microsoft.AspNetCore.Localization/internal/index.d.ts +16 -0
- package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +348 -1
- package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +6 -0
- package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +14 -0
- package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +22 -0
- package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +97 -0
- package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +14 -0
- package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +9 -0
- package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +19 -0
- package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +5 -0
- package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +17 -0
- package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +259 -0
- package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +64 -0
- package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +71 -0
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +36 -3
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml.d.ts +3 -0
- package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +70 -0
- package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +21 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +171 -1
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +81 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +32 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.d.ts +3 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +29 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation.d.ts +3 -0
- package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +35 -0
- package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +19 -0
- package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +21 -0
- package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +21 -0
- package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +16 -0
- package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +22 -0
- package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +63 -0
- package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +14 -0
- package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +36 -0
- package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +9 -0
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +78 -0
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +8 -0
- package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +4 -0
- package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +41 -0
- package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +4 -0
- package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +4 -0
- package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +23 -0
- package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.Routing/internal/index.d.ts +104 -0
- package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +112 -0
- package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +20 -0
- package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +18 -0
- package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +4 -0
- package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +8 -0
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +14 -0
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +6 -0
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.d.ts +5 -0
- package/Microsoft.AspNetCore.Session/internal/index.d.ts +8 -0
- package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +52 -0
- package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +4 -0
- package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +8 -0
- package/Microsoft.AspNetCore.WebSockets.d.ts +3 -0
- package/Microsoft.AspNetCore.WebUtilities/internal/index.d.ts +16 -0
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +10 -0
- package/Microsoft.Extensions.Hosting.d.ts +3 -0
- package/Microsoft.JSInterop/internal/index.d.ts +32 -1
- package/Microsoft.JSInterop.Implementation/internal/index.d.ts +12 -0
- package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +2 -0
- package/Microsoft.Net.Http.Headers/internal/index.d.ts +4 -0
- package/System.Formats.Cbor/internal/index.d.ts +2 -0
- package/System.Security.Claims.d.ts +3 -0
- package/System.Threading.RateLimiting/internal/index.d.ts +25 -0
- package/__internal/extensions/index.d.ts +818 -529
- package/package.json +1 -1
|
@@ -14,6 +14,8 @@ import type { ISerializable } from "@tsonic/dotnet/System.Runtime.Serialization.
|
|
|
14
14
|
import type { Task } from "@tsonic/dotnet/System.Threading.Tasks.js";
|
|
15
15
|
|
|
16
16
|
export interface IAntiforgery$instance {
|
|
17
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Antiforgery_IAntiforgery: never;
|
|
18
|
+
|
|
17
19
|
GetAndStoreTokens(httpContext: HttpContext): AntiforgeryTokenSet;
|
|
18
20
|
IsRequestValidAsync(httpContext: HttpContext): Task<System_Internal.Boolean>;
|
|
19
21
|
SetCookieTokenAndHeader(httpContext: HttpContext): void;
|
|
@@ -24,6 +26,8 @@ export interface IAntiforgery$instance {
|
|
|
24
26
|
export type IAntiforgery = IAntiforgery$instance;
|
|
25
27
|
|
|
26
28
|
export interface IAntiforgeryAdditionalDataProvider$instance {
|
|
29
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Antiforgery_IAntiforgeryAdditionalDataProvider: never;
|
|
30
|
+
|
|
27
31
|
GetAdditionalData(context: HttpContext): string;
|
|
28
32
|
ValidateAdditionalData(context: HttpContext, additionalData: string): boolean;
|
|
29
33
|
}
|
|
@@ -32,6 +36,8 @@ export interface IAntiforgeryAdditionalDataProvider$instance {
|
|
|
32
36
|
export type IAntiforgeryAdditionalDataProvider = IAntiforgeryAdditionalDataProvider$instance;
|
|
33
37
|
|
|
34
38
|
export interface IAntiforgeryMetadata$instance {
|
|
39
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Antiforgery_IAntiforgeryMetadata: never;
|
|
40
|
+
|
|
35
41
|
readonly RequiresValidation: boolean;
|
|
36
42
|
}
|
|
37
43
|
|
|
@@ -39,6 +45,8 @@ export interface IAntiforgeryMetadata$instance {
|
|
|
39
45
|
export type IAntiforgeryMetadata = IAntiforgeryMetadata$instance;
|
|
40
46
|
|
|
41
47
|
export interface IAntiforgeryValidationFeature$instance {
|
|
48
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Antiforgery_IAntiforgeryValidationFeature: never;
|
|
49
|
+
|
|
42
50
|
readonly IsValid: boolean;
|
|
43
51
|
readonly Error: Exception | undefined;
|
|
44
52
|
}
|
|
@@ -80,6 +88,8 @@ export const AntiforgeryTokenSet: {
|
|
|
80
88
|
export type AntiforgeryTokenSet = AntiforgeryTokenSet$instance;
|
|
81
89
|
|
|
82
90
|
export interface AntiforgeryValidationException$instance extends Exception {
|
|
91
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
92
|
+
|
|
83
93
|
}
|
|
84
94
|
|
|
85
95
|
|
|
@@ -92,6 +102,8 @@ export const AntiforgeryValidationException: {
|
|
|
92
102
|
export type AntiforgeryValidationException = AntiforgeryValidationException$instance;
|
|
93
103
|
|
|
94
104
|
export interface RequireAntiforgeryTokenAttribute$instance extends Attribute {
|
|
105
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Antiforgery_IAntiforgeryMetadata: never;
|
|
106
|
+
|
|
95
107
|
readonly RequiresValidation: boolean;
|
|
96
108
|
}
|
|
97
109
|
|
|
@@ -27,6 +27,8 @@ import type { ILogger, ILoggerFactory } from "@tsonic/microsoft-extensions/Micro
|
|
|
27
27
|
import type { IOptions, IOptionsMonitor } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Options.js";
|
|
28
28
|
|
|
29
29
|
export interface IAuthenticateResultFeature$instance {
|
|
30
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticateResultFeature: never;
|
|
31
|
+
|
|
30
32
|
get AuthenticateResult(): AuthenticateResult | undefined;
|
|
31
33
|
set AuthenticateResult(value: AuthenticateResult | undefined);
|
|
32
34
|
}
|
|
@@ -35,6 +37,8 @@ export interface IAuthenticateResultFeature$instance {
|
|
|
35
37
|
export type IAuthenticateResultFeature = IAuthenticateResultFeature$instance;
|
|
36
38
|
|
|
37
39
|
export interface IAuthenticationConfigurationProvider$instance {
|
|
40
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationConfigurationProvider: never;
|
|
41
|
+
|
|
38
42
|
readonly AuthenticationConfiguration: IConfiguration;
|
|
39
43
|
}
|
|
40
44
|
|
|
@@ -42,6 +46,8 @@ export interface IAuthenticationConfigurationProvider$instance {
|
|
|
42
46
|
export type IAuthenticationConfigurationProvider = IAuthenticationConfigurationProvider$instance;
|
|
43
47
|
|
|
44
48
|
export interface IAuthenticationFeature$instance {
|
|
49
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationFeature: never;
|
|
50
|
+
|
|
45
51
|
OriginalPathBase: PathString;
|
|
46
52
|
OriginalPath: PathString;
|
|
47
53
|
}
|
|
@@ -50,6 +56,8 @@ export interface IAuthenticationFeature$instance {
|
|
|
50
56
|
export type IAuthenticationFeature = IAuthenticationFeature$instance;
|
|
51
57
|
|
|
52
58
|
export interface IAuthenticationHandler$instance {
|
|
59
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
60
|
+
|
|
53
61
|
AuthenticateAsync(): Task<AuthenticateResult>;
|
|
54
62
|
ChallengeAsync(properties: AuthenticationProperties): Task;
|
|
55
63
|
InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
|
|
@@ -59,6 +67,8 @@ export interface IAuthenticationHandler$instance {
|
|
|
59
67
|
export type IAuthenticationHandler = IAuthenticationHandler$instance;
|
|
60
68
|
|
|
61
69
|
export interface IAuthenticationHandlerProvider$instance {
|
|
70
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandlerProvider: never;
|
|
71
|
+
|
|
62
72
|
GetHandlerAsync(context: HttpContext, authenticationScheme: string): Task<IAuthenticationHandler | undefined>;
|
|
63
73
|
}
|
|
64
74
|
|
|
@@ -66,6 +76,8 @@ export interface IAuthenticationHandlerProvider$instance {
|
|
|
66
76
|
export type IAuthenticationHandlerProvider = IAuthenticationHandlerProvider$instance;
|
|
67
77
|
|
|
68
78
|
export interface IAuthenticationRequestHandler$instance extends IAuthenticationHandler {
|
|
79
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationRequestHandler: never;
|
|
80
|
+
|
|
69
81
|
ChallengeAsync(properties: AuthenticationProperties): Task;
|
|
70
82
|
HandleRequestAsync(): Task<System_Internal.Boolean>;
|
|
71
83
|
InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
|
|
@@ -78,6 +90,8 @@ export interface IAuthenticationRequestHandler$instance extends IAuthenticationH
|
|
|
78
90
|
export type IAuthenticationRequestHandler = IAuthenticationRequestHandler$instance;
|
|
79
91
|
|
|
80
92
|
export interface IAuthenticationSchemeProvider$instance {
|
|
93
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSchemeProvider: never;
|
|
94
|
+
|
|
81
95
|
AddScheme(scheme: AuthenticationScheme): void;
|
|
82
96
|
GetAllSchemesAsync(): Task<IEnumerable<AuthenticationScheme>>;
|
|
83
97
|
GetSchemeAsync(name: string): Task<AuthenticationScheme | undefined>;
|
|
@@ -89,6 +103,8 @@ export interface IAuthenticationSchemeProvider$instance {
|
|
|
89
103
|
export type IAuthenticationSchemeProvider = IAuthenticationSchemeProvider$instance;
|
|
90
104
|
|
|
91
105
|
export interface IAuthenticationService$instance {
|
|
106
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationService: never;
|
|
107
|
+
|
|
92
108
|
AuthenticateAsync(context: HttpContext, scheme: string): Task<AuthenticateResult>;
|
|
93
109
|
ChallengeAsync(context: HttpContext, scheme: string, properties: AuthenticationProperties): Task;
|
|
94
110
|
SignInAsync(context: HttpContext, scheme: string, principal: ClaimsPrincipal, properties: AuthenticationProperties): Task;
|
|
@@ -98,6 +114,8 @@ export interface IAuthenticationService$instance {
|
|
|
98
114
|
export type IAuthenticationService = IAuthenticationService$instance;
|
|
99
115
|
|
|
100
116
|
export interface IAuthenticationSignInHandler$instance extends IAuthenticationSignOutHandler, IAuthenticationHandler {
|
|
117
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignInHandler: never;
|
|
118
|
+
|
|
101
119
|
AuthenticateAsync(): Task<AuthenticateResult>;
|
|
102
120
|
InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
|
|
103
121
|
SignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties): Task;
|
|
@@ -109,6 +127,8 @@ export interface IAuthenticationSignInHandler$instance extends IAuthenticationSi
|
|
|
109
127
|
export type IAuthenticationSignInHandler = IAuthenticationSignInHandler$instance;
|
|
110
128
|
|
|
111
129
|
export interface IAuthenticationSignOutHandler$instance extends IAuthenticationHandler {
|
|
130
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignOutHandler: never;
|
|
131
|
+
|
|
112
132
|
AuthenticateAsync(): Task<AuthenticateResult>;
|
|
113
133
|
InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
|
|
114
134
|
SignOutAsync(properties: AuthenticationProperties): Task;
|
|
@@ -121,6 +141,8 @@ export interface IAuthenticationSignOutHandler$instance extends IAuthenticationH
|
|
|
121
141
|
export type IAuthenticationSignOutHandler = IAuthenticationSignOutHandler$instance;
|
|
122
142
|
|
|
123
143
|
export interface IClaimsTransformation$instance {
|
|
144
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IClaimsTransformation: never;
|
|
145
|
+
|
|
124
146
|
TransformAsync(principal: ClaimsPrincipal): Task<ClaimsPrincipal>;
|
|
125
147
|
}
|
|
126
148
|
|
|
@@ -128,6 +150,8 @@ export interface IClaimsTransformation$instance {
|
|
|
128
150
|
export type IClaimsTransformation = IClaimsTransformation$instance;
|
|
129
151
|
|
|
130
152
|
export interface IDataSerializer_1$instance<TModel> {
|
|
153
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IDataSerializer_1: never;
|
|
154
|
+
|
|
131
155
|
Deserialize(data: byte[]): TModel | undefined;
|
|
132
156
|
Serialize(model: TModel): byte[];
|
|
133
157
|
}
|
|
@@ -136,6 +160,8 @@ export interface IDataSerializer_1$instance<TModel> {
|
|
|
136
160
|
export type IDataSerializer_1<TModel> = IDataSerializer_1$instance<TModel>;
|
|
137
161
|
|
|
138
162
|
export interface ISecureDataFormat_1$instance<TData> {
|
|
163
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_ISecureDataFormat_1: never;
|
|
164
|
+
|
|
139
165
|
Protect(data: TData, purpose: string): string;
|
|
140
166
|
Protect(data: TData): string;
|
|
141
167
|
Unprotect(protectedText: string, purpose: string): TData | undefined;
|
|
@@ -146,6 +172,8 @@ export interface ISecureDataFormat_1$instance<TData> {
|
|
|
146
172
|
export type ISecureDataFormat_1<TData> = ISecureDataFormat_1$instance<TData>;
|
|
147
173
|
|
|
148
174
|
export interface ISystemClock$instance {
|
|
175
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_ISystemClock: never;
|
|
176
|
+
|
|
149
177
|
readonly UtcNow: DateTimeOffset;
|
|
150
178
|
}
|
|
151
179
|
|
|
@@ -212,6 +240,8 @@ export const AuthenticationBuilder: {
|
|
|
212
240
|
export type AuthenticationBuilder = AuthenticationBuilder$instance;
|
|
213
241
|
|
|
214
242
|
export interface AuthenticationFailureException$instance extends Exception {
|
|
243
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
244
|
+
|
|
215
245
|
}
|
|
216
246
|
|
|
217
247
|
|
|
@@ -224,6 +254,8 @@ export const AuthenticationFailureException: {
|
|
|
224
254
|
export type AuthenticationFailureException = AuthenticationFailureException$instance;
|
|
225
255
|
|
|
226
256
|
export interface AuthenticationFeature$instance {
|
|
257
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationFeature: never;
|
|
258
|
+
|
|
227
259
|
OriginalPath: PathString;
|
|
228
260
|
OriginalPathBase: PathString;
|
|
229
261
|
}
|
|
@@ -244,8 +276,10 @@ export type AuthenticationFeature = AuthenticationFeature$instance & __Authentic
|
|
|
244
276
|
|
|
245
277
|
|
|
246
278
|
export interface AuthenticationHandler_1$instance<TOptions extends AuthenticationSchemeOptions> {
|
|
279
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
280
|
+
|
|
247
281
|
readonly ClaimsIssuer: string;
|
|
248
|
-
Events:
|
|
282
|
+
Events: CookieAuthenticationEvents | unknown;
|
|
249
283
|
Options: TOptions;
|
|
250
284
|
Scheme: AuthenticationScheme;
|
|
251
285
|
AuthenticateAsync(): Task<AuthenticateResult>;
|
|
@@ -276,6 +310,8 @@ export type AuthenticationHandler_1<TOptions extends AuthenticationSchemeOptions
|
|
|
276
310
|
|
|
277
311
|
|
|
278
312
|
export interface AuthenticationHandlerProvider$instance {
|
|
313
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandlerProvider: never;
|
|
314
|
+
|
|
279
315
|
readonly Schemes: IAuthenticationSchemeProvider;
|
|
280
316
|
GetHandlerAsync(context: HttpContext, authenticationScheme: string): Task<IAuthenticationHandler | undefined>;
|
|
281
317
|
}
|
|
@@ -428,6 +464,8 @@ export const AuthenticationSchemeOptions: {
|
|
|
428
464
|
export type AuthenticationSchemeOptions = AuthenticationSchemeOptions$instance;
|
|
429
465
|
|
|
430
466
|
export interface AuthenticationSchemeProvider$instance {
|
|
467
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSchemeProvider: never;
|
|
468
|
+
|
|
431
469
|
AddScheme(scheme: AuthenticationScheme): void;
|
|
432
470
|
GetAllSchemesAsync(): Task<IEnumerable<AuthenticationScheme>>;
|
|
433
471
|
GetDefaultAuthenticateSchemeAsync(): Task<AuthenticationScheme | undefined>;
|
|
@@ -457,6 +495,8 @@ export type AuthenticationSchemeProvider = AuthenticationSchemeProvider$instance
|
|
|
457
495
|
|
|
458
496
|
|
|
459
497
|
export interface AuthenticationService$instance {
|
|
498
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationService: never;
|
|
499
|
+
|
|
460
500
|
readonly Handlers: IAuthenticationHandlerProvider;
|
|
461
501
|
readonly Options: AuthenticationOptions;
|
|
462
502
|
readonly Schemes: IAuthenticationSchemeProvider;
|
|
@@ -558,6 +598,8 @@ export const HandleRequestResult: {
|
|
|
558
598
|
export type HandleRequestResult = HandleRequestResult$instance;
|
|
559
599
|
|
|
560
600
|
export interface NoopClaimsTransformation$instance {
|
|
601
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IClaimsTransformation: never;
|
|
602
|
+
|
|
561
603
|
TransformAsync(principal: ClaimsPrincipal): Task<ClaimsPrincipal>;
|
|
562
604
|
}
|
|
563
605
|
|
|
@@ -577,6 +619,10 @@ export type NoopClaimsTransformation = NoopClaimsTransformation$instance & __Noo
|
|
|
577
619
|
|
|
578
620
|
|
|
579
621
|
export interface PolicySchemeHandler$instance extends SignInAuthenticationHandler_1$instance<PolicySchemeOptions>, IAuthenticationSignOutHandler {
|
|
622
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
623
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignInHandler: never;
|
|
624
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignOutHandler: never;
|
|
625
|
+
|
|
580
626
|
AuthenticateAsync(): Task<AuthenticateResult>;
|
|
581
627
|
ChallengeAsync(properties: AuthenticationProperties): Task;
|
|
582
628
|
HandleAuthenticateAsync(): Task<AuthenticateResult>;
|
|
@@ -639,6 +685,8 @@ export const PropertiesContext_1: (abstract new<TOptions extends AuthenticationS
|
|
|
639
685
|
export type PropertiesContext_1<TOptions extends AuthenticationSchemeOptions> = PropertiesContext_1$instance<TOptions>;
|
|
640
686
|
|
|
641
687
|
export interface PropertiesDataFormat$instance extends SecureDataFormat_1$instance<AuthenticationProperties> {
|
|
688
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_ISecureDataFormat_1: never;
|
|
689
|
+
|
|
642
690
|
Protect(data: AuthenticationProperties): string;
|
|
643
691
|
Protect(data: AuthenticationProperties, purpose: string): string;
|
|
644
692
|
Unprotect(protectedText: string): AuthenticationProperties;
|
|
@@ -659,6 +707,8 @@ export type PropertiesDataFormat = PropertiesDataFormat$instance & __PropertiesD
|
|
|
659
707
|
|
|
660
708
|
|
|
661
709
|
export interface PropertiesSerializer$instance {
|
|
710
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IDataSerializer_1: never;
|
|
711
|
+
|
|
662
712
|
Deserialize(data: byte[]): AuthenticationProperties | undefined;
|
|
663
713
|
Read(reader: BinaryReader): AuthenticationProperties | undefined;
|
|
664
714
|
Serialize(model: AuthenticationProperties): byte[];
|
|
@@ -726,6 +776,9 @@ export const RemoteAuthenticationEvents: {
|
|
|
726
776
|
export type RemoteAuthenticationEvents = RemoteAuthenticationEvents$instance;
|
|
727
777
|
|
|
728
778
|
export interface RemoteAuthenticationHandler_1$instance<TOptions extends RemoteAuthenticationOptions> extends AuthenticationHandler_1$instance<TOptions>, IAuthenticationRequestHandler {
|
|
779
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
780
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationRequestHandler: never;
|
|
781
|
+
|
|
729
782
|
AuthenticateAsync(): Task<AuthenticateResult>;
|
|
730
783
|
ChallengeAsync(properties: AuthenticationProperties): Task;
|
|
731
784
|
CreateEventsAsync(): Task<unknown>;
|
|
@@ -764,7 +817,7 @@ export interface RemoteAuthenticationOptions$instance extends AuthenticationSche
|
|
|
764
817
|
CorrelationCookie: CookieBuilder;
|
|
765
818
|
get DataProtectionProvider(): IDataProtectionProvider | undefined;
|
|
766
819
|
set DataProtectionProvider(value: IDataProtectionProvider | undefined);
|
|
767
|
-
Events: RemoteAuthenticationEvents | unknown;
|
|
820
|
+
Events: OAuthEvents | RemoteAuthenticationEvents | unknown;
|
|
768
821
|
RemoteAuthenticationTimeout: TimeSpan;
|
|
769
822
|
ReturnUrlParameter: string;
|
|
770
823
|
SaveTokens: boolean;
|
|
@@ -831,6 +884,8 @@ export const ResultContext_1: (abstract new<TOptions extends AuthenticationSchem
|
|
|
831
884
|
export type ResultContext_1<TOptions extends AuthenticationSchemeOptions> = ResultContext_1$instance<TOptions>;
|
|
832
885
|
|
|
833
886
|
export interface SecureDataFormat_1$instance<TData> {
|
|
887
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_ISecureDataFormat_1: never;
|
|
888
|
+
|
|
834
889
|
Protect(data: TData): string;
|
|
835
890
|
Protect(data: TData, purpose: string): string;
|
|
836
891
|
Unprotect(protectedText: string): TData | undefined;
|
|
@@ -851,6 +906,10 @@ export type SecureDataFormat_1<TData> = SecureDataFormat_1$instance<TData> & __S
|
|
|
851
906
|
|
|
852
907
|
|
|
853
908
|
export interface SignInAuthenticationHandler_1$instance<TOptions extends AuthenticationSchemeOptions> extends SignOutAuthenticationHandler_1$instance<TOptions>, IAuthenticationSignOutHandler {
|
|
909
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
910
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignInHandler: never;
|
|
911
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignOutHandler: never;
|
|
912
|
+
|
|
854
913
|
AuthenticateAsync(): Task<AuthenticateResult>;
|
|
855
914
|
ChallengeAsync(properties: AuthenticationProperties): Task;
|
|
856
915
|
HandleSignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties): Task;
|
|
@@ -873,6 +932,9 @@ export type SignInAuthenticationHandler_1<TOptions extends AuthenticationSchemeO
|
|
|
873
932
|
|
|
874
933
|
|
|
875
934
|
export interface SignOutAuthenticationHandler_1$instance<TOptions extends AuthenticationSchemeOptions> extends AuthenticationHandler_1$instance<TOptions>, IAuthenticationSignOutHandler {
|
|
935
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
936
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignOutHandler: never;
|
|
937
|
+
|
|
876
938
|
AuthenticateAsync(): Task<AuthenticateResult>;
|
|
877
939
|
ChallengeAsync(properties: AuthenticationProperties): Task;
|
|
878
940
|
HandleSignOutAsync(properties: AuthenticationProperties): Task;
|
|
@@ -893,6 +955,8 @@ export type SignOutAuthenticationHandler_1<TOptions extends AuthenticationScheme
|
|
|
893
955
|
|
|
894
956
|
|
|
895
957
|
export interface SystemClock$instance {
|
|
958
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_ISystemClock: never;
|
|
959
|
+
|
|
896
960
|
readonly UtcNow: DateTimeOffset;
|
|
897
961
|
}
|
|
898
962
|
|
|
@@ -912,6 +976,8 @@ export type SystemClock = SystemClock$instance & __SystemClock$views;
|
|
|
912
976
|
|
|
913
977
|
|
|
914
978
|
export interface TicketDataFormat$instance extends SecureDataFormat_1$instance<AuthenticationTicket> {
|
|
979
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_ISecureDataFormat_1: never;
|
|
980
|
+
|
|
915
981
|
Protect(data: AuthenticationTicket): string;
|
|
916
982
|
Protect(data: AuthenticationTicket, purpose: string): string;
|
|
917
983
|
Unprotect(protectedText: string): AuthenticationTicket;
|
|
@@ -945,6 +1011,8 @@ export const TicketReceivedContext: {
|
|
|
945
1011
|
export type TicketReceivedContext = TicketReceivedContext$instance;
|
|
946
1012
|
|
|
947
1013
|
export interface TicketSerializer$instance {
|
|
1014
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IDataSerializer_1: never;
|
|
1015
|
+
|
|
948
1016
|
Deserialize(data: byte[]): AuthenticationTicket | undefined;
|
|
949
1017
|
Read(reader: BinaryReader): AuthenticationTicket | undefined;
|
|
950
1018
|
ReadClaim(reader: BinaryReader, identity: ClaimsIdentity): Claim;
|
|
@@ -21,6 +21,8 @@ import * as Microsoft_Extensions_Options_Internal from "@tsonic/microsoft-extens
|
|
|
21
21
|
import type { IOptionsMonitor, IPostConfigureOptions } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Options.js";
|
|
22
22
|
|
|
23
23
|
export interface ICookieManager$instance {
|
|
24
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_Cookies_ICookieManager: never;
|
|
25
|
+
|
|
24
26
|
AppendResponseCookie(context: HttpContext, key: string, value: string, options: CookieOptions): void;
|
|
25
27
|
DeleteCookie(context: HttpContext, key: string, options: CookieOptions): void;
|
|
26
28
|
GetRequestCookie(context: HttpContext, key: string): string | undefined;
|
|
@@ -30,6 +32,8 @@ export interface ICookieManager$instance {
|
|
|
30
32
|
export type ICookieManager = ICookieManager$instance;
|
|
31
33
|
|
|
32
34
|
export interface ITicketStore$instance {
|
|
35
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_Cookies_ITicketStore: never;
|
|
36
|
+
|
|
33
37
|
RemoveAsync(key: string, httpContext: HttpContext, cancellationToken: CancellationToken): Task;
|
|
34
38
|
RemoveAsync(key: string, cancellationToken: CancellationToken): Task;
|
|
35
39
|
RemoveAsync(key: string): Task;
|
|
@@ -48,6 +52,8 @@ export interface ITicketStore$instance {
|
|
|
48
52
|
export type ITicketStore = ITicketStore$instance;
|
|
49
53
|
|
|
50
54
|
export interface ChunkingCookieManager$instance {
|
|
55
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_Cookies_ICookieManager: never;
|
|
56
|
+
|
|
51
57
|
ChunkSize: Nullable<System_Internal.Int32>;
|
|
52
58
|
ThrowForPartialCookies: boolean;
|
|
53
59
|
AppendResponseCookie(context: HttpContext, key: string, value: string, options: CookieOptions): void;
|
|
@@ -101,6 +107,10 @@ export const CookieAuthenticationEvents: {
|
|
|
101
107
|
export type CookieAuthenticationEvents = CookieAuthenticationEvents$instance;
|
|
102
108
|
|
|
103
109
|
export interface CookieAuthenticationHandler$instance extends SignInAuthenticationHandler_1<CookieAuthenticationOptions>, IAuthenticationSignOutHandler {
|
|
110
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
111
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignInHandler: never;
|
|
112
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignOutHandler: never;
|
|
113
|
+
|
|
104
114
|
AuthenticateAsync(): Task<AuthenticateResult>;
|
|
105
115
|
ChallengeAsync(properties: AuthenticationProperties): Task;
|
|
106
116
|
CreateEventsAsync(): Task<unknown>;
|
|
@@ -221,6 +231,8 @@ export const CookieValidatePrincipalContext: {
|
|
|
221
231
|
export type CookieValidatePrincipalContext = CookieValidatePrincipalContext$instance;
|
|
222
232
|
|
|
223
233
|
export interface PostConfigureCookieAuthenticationOptions$instance {
|
|
234
|
+
readonly __tsonic_iface_Microsoft_Extensions_Options_IPostConfigureOptions_1: never;
|
|
235
|
+
|
|
224
236
|
PostConfigure(name: string, options: CookieAuthenticationOptions): void;
|
|
225
237
|
}
|
|
226
238
|
|
|
@@ -89,6 +89,9 @@ export const OAuthEvents: {
|
|
|
89
89
|
export type OAuthEvents = OAuthEvents$instance;
|
|
90
90
|
|
|
91
91
|
export interface OAuthHandler_1$instance<TOptions extends OAuthOptions> extends RemoteAuthenticationHandler_1<TOptions>, IAuthenticationRequestHandler {
|
|
92
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
93
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationRequestHandler: never;
|
|
94
|
+
|
|
92
95
|
AuthenticateAsync(): Task<AuthenticateResult>;
|
|
93
96
|
BuildChallengeUrl(properties: AuthenticationProperties, redirectUri: string): string;
|
|
94
97
|
ChallengeAsync(properties: AuthenticationProperties): Task;
|
|
@@ -143,6 +146,8 @@ export const OAuthOptions: {
|
|
|
143
146
|
export type OAuthOptions = OAuthOptions$instance;
|
|
144
147
|
|
|
145
148
|
export interface OAuthTokenResponse$instance {
|
|
149
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
150
|
+
|
|
146
151
|
get AccessToken(): string | undefined;
|
|
147
152
|
set AccessToken(value: string | undefined);
|
|
148
153
|
get Error(): Exception | undefined;
|
|
@@ -29,6 +29,9 @@ export const ClaimAction: (abstract new(claimType: string, valueType: string) =>
|
|
|
29
29
|
export type ClaimAction = ClaimAction$instance;
|
|
30
30
|
|
|
31
31
|
export interface ClaimActionCollection$instance {
|
|
32
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
33
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
34
|
+
|
|
32
35
|
Add(action: ClaimAction): void;
|
|
33
36
|
Clear(): void;
|
|
34
37
|
GetEnumerator(): IEnumerator<ClaimAction>;
|
|
@@ -18,12 +18,16 @@ import type { ILogger } from "@tsonic/microsoft-extensions/Microsoft.Extensions.
|
|
|
18
18
|
import type { IOptions } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Options.js";
|
|
19
19
|
|
|
20
20
|
export interface IAllowAnonymous$instance {
|
|
21
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAllowAnonymous: never;
|
|
22
|
+
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
|
|
24
26
|
export type IAllowAnonymous = IAllowAnonymous$instance;
|
|
25
27
|
|
|
26
28
|
export interface IAuthorizationEvaluator$instance {
|
|
29
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationEvaluator: never;
|
|
30
|
+
|
|
27
31
|
Evaluate(context: AuthorizationHandlerContext): AuthorizationResult;
|
|
28
32
|
}
|
|
29
33
|
|
|
@@ -31,6 +35,8 @@ export interface IAuthorizationEvaluator$instance {
|
|
|
31
35
|
export type IAuthorizationEvaluator = IAuthorizationEvaluator$instance;
|
|
32
36
|
|
|
33
37
|
export interface IAuthorizationHandler$instance {
|
|
38
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationHandler: never;
|
|
39
|
+
|
|
34
40
|
HandleAsync(context: AuthorizationHandlerContext): Task;
|
|
35
41
|
}
|
|
36
42
|
|
|
@@ -38,6 +44,8 @@ export interface IAuthorizationHandler$instance {
|
|
|
38
44
|
export type IAuthorizationHandler = IAuthorizationHandler$instance;
|
|
39
45
|
|
|
40
46
|
export interface IAuthorizationHandlerContextFactory$instance {
|
|
47
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationHandlerContextFactory: never;
|
|
48
|
+
|
|
41
49
|
CreateContext(requirements: IEnumerable<IAuthorizationRequirement>, user: ClaimsPrincipal, resource: unknown): AuthorizationHandlerContext;
|
|
42
50
|
}
|
|
43
51
|
|
|
@@ -45,6 +53,8 @@ export interface IAuthorizationHandlerContextFactory$instance {
|
|
|
45
53
|
export type IAuthorizationHandlerContextFactory = IAuthorizationHandlerContextFactory$instance;
|
|
46
54
|
|
|
47
55
|
export interface IAuthorizationHandlerProvider$instance {
|
|
56
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationHandlerProvider: never;
|
|
57
|
+
|
|
48
58
|
GetHandlersAsync(context: AuthorizationHandlerContext): Task<IEnumerable<IAuthorizationHandler>>;
|
|
49
59
|
}
|
|
50
60
|
|
|
@@ -52,6 +62,8 @@ export interface IAuthorizationHandlerProvider$instance {
|
|
|
52
62
|
export type IAuthorizationHandlerProvider = IAuthorizationHandlerProvider$instance;
|
|
53
63
|
|
|
54
64
|
export interface IAuthorizationMiddlewareResultHandler$instance {
|
|
65
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationMiddlewareResultHandler: never;
|
|
66
|
+
|
|
55
67
|
HandleAsync(next: RequestDelegate, context: HttpContext, policy: AuthorizationPolicy, authorizeResult: PolicyAuthorizationResult): Task;
|
|
56
68
|
}
|
|
57
69
|
|
|
@@ -59,6 +71,8 @@ export interface IAuthorizationMiddlewareResultHandler$instance {
|
|
|
59
71
|
export type IAuthorizationMiddlewareResultHandler = IAuthorizationMiddlewareResultHandler$instance;
|
|
60
72
|
|
|
61
73
|
export interface IAuthorizationPolicyProvider$instance {
|
|
74
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationPolicyProvider: never;
|
|
75
|
+
|
|
62
76
|
readonly AllowsCachingPolicies: boolean;
|
|
63
77
|
GetDefaultPolicyAsync(): Task<AuthorizationPolicy>;
|
|
64
78
|
GetPolicyAsync(policyName: string): Task<AuthorizationPolicy | undefined>;
|
|
@@ -68,12 +82,16 @@ export interface IAuthorizationPolicyProvider$instance {
|
|
|
68
82
|
export type IAuthorizationPolicyProvider = IAuthorizationPolicyProvider$instance;
|
|
69
83
|
|
|
70
84
|
export interface IAuthorizationRequirement$instance {
|
|
85
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationRequirement: never;
|
|
86
|
+
|
|
71
87
|
}
|
|
72
88
|
|
|
73
89
|
|
|
74
90
|
export type IAuthorizationRequirement = IAuthorizationRequirement$instance;
|
|
75
91
|
|
|
76
92
|
export interface IAuthorizationRequirementData$instance {
|
|
93
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationRequirementData: never;
|
|
94
|
+
|
|
77
95
|
GetRequirements(): IEnumerable<IAuthorizationRequirement>;
|
|
78
96
|
}
|
|
79
97
|
|
|
@@ -81,6 +99,8 @@ export interface IAuthorizationRequirementData$instance {
|
|
|
81
99
|
export type IAuthorizationRequirementData = IAuthorizationRequirementData$instance;
|
|
82
100
|
|
|
83
101
|
export interface IAuthorizationService$instance {
|
|
102
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationService: never;
|
|
103
|
+
|
|
84
104
|
AuthorizeAsync(user: ClaimsPrincipal, resource: unknown, requirements: IEnumerable<IAuthorizationRequirement>): Task<AuthorizationResult>;
|
|
85
105
|
AuthorizeAsync(user: ClaimsPrincipal, resource: unknown, policyName: string): Task<AuthorizationResult>;
|
|
86
106
|
}
|
|
@@ -89,6 +109,8 @@ export interface IAuthorizationService$instance {
|
|
|
89
109
|
export type IAuthorizationService = IAuthorizationService$instance;
|
|
90
110
|
|
|
91
111
|
export interface IAuthorizeData$instance {
|
|
112
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizeData: never;
|
|
113
|
+
|
|
92
114
|
get Policy(): string | undefined;
|
|
93
115
|
set Policy(value: string | undefined);
|
|
94
116
|
get Roles(): string | undefined;
|
|
@@ -101,6 +123,8 @@ export interface IAuthorizeData$instance {
|
|
|
101
123
|
export type IAuthorizeData = IAuthorizeData$instance;
|
|
102
124
|
|
|
103
125
|
export interface AllowAnonymousAttribute$instance extends Attribute, IAllowAnonymous {
|
|
126
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAllowAnonymous: never;
|
|
127
|
+
|
|
104
128
|
ToString(): string;
|
|
105
129
|
}
|
|
106
130
|
|
|
@@ -163,6 +187,8 @@ export const AuthorizationFailureReason: {
|
|
|
163
187
|
export type AuthorizationFailureReason = AuthorizationFailureReason$instance;
|
|
164
188
|
|
|
165
189
|
export interface AuthorizationHandler_1$instance<TRequirement extends IAuthorizationRequirement> {
|
|
190
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationHandler: never;
|
|
191
|
+
|
|
166
192
|
HandleAsync(context: AuthorizationHandlerContext): Task;
|
|
167
193
|
HandleRequirementAsync(context: AuthorizationHandlerContext, requirement: TRequirement): Task;
|
|
168
194
|
}
|
|
@@ -182,6 +208,8 @@ export type AuthorizationHandler_1<TRequirement extends IAuthorizationRequiremen
|
|
|
182
208
|
|
|
183
209
|
|
|
184
210
|
export interface AuthorizationHandler_2$instance<TRequirement extends IAuthorizationRequirement, TResource> {
|
|
211
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationHandler: never;
|
|
212
|
+
|
|
185
213
|
HandleAsync(context: AuthorizationHandlerContext): Task;
|
|
186
214
|
HandleRequirementAsync(context: AuthorizationHandlerContext, requirement: TRequirement, resource: TResource): Task;
|
|
187
215
|
}
|
|
@@ -314,6 +342,8 @@ export const AuthorizationResult: {
|
|
|
314
342
|
export type AuthorizationResult = AuthorizationResult$instance;
|
|
315
343
|
|
|
316
344
|
export interface AuthorizeAttribute$instance extends Attribute {
|
|
345
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizeData: never;
|
|
346
|
+
|
|
317
347
|
get AuthenticationSchemes(): string | undefined;
|
|
318
348
|
set AuthenticationSchemes(value: string | undefined);
|
|
319
349
|
get Policy(): string | undefined;
|
|
@@ -340,6 +370,8 @@ export type AuthorizeAttribute = AuthorizeAttribute$instance & __AuthorizeAttrib
|
|
|
340
370
|
|
|
341
371
|
|
|
342
372
|
export interface DefaultAuthorizationEvaluator$instance {
|
|
373
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationEvaluator: never;
|
|
374
|
+
|
|
343
375
|
Evaluate(context: AuthorizationHandlerContext): AuthorizationResult;
|
|
344
376
|
}
|
|
345
377
|
|
|
@@ -359,6 +391,8 @@ export type DefaultAuthorizationEvaluator = DefaultAuthorizationEvaluator$instan
|
|
|
359
391
|
|
|
360
392
|
|
|
361
393
|
export interface DefaultAuthorizationHandlerContextFactory$instance {
|
|
394
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationHandlerContextFactory: never;
|
|
395
|
+
|
|
362
396
|
CreateContext(requirements: IEnumerable<IAuthorizationRequirement>, user: ClaimsPrincipal, resource: unknown): AuthorizationHandlerContext;
|
|
363
397
|
}
|
|
364
398
|
|
|
@@ -378,6 +412,8 @@ export type DefaultAuthorizationHandlerContextFactory = DefaultAuthorizationHand
|
|
|
378
412
|
|
|
379
413
|
|
|
380
414
|
export interface DefaultAuthorizationHandlerProvider$instance {
|
|
415
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationHandlerProvider: never;
|
|
416
|
+
|
|
381
417
|
GetHandlersAsync(context: AuthorizationHandlerContext): Task<IEnumerable<IAuthorizationHandler>>;
|
|
382
418
|
}
|
|
383
419
|
|
|
@@ -397,6 +433,8 @@ export type DefaultAuthorizationHandlerProvider = DefaultAuthorizationHandlerPro
|
|
|
397
433
|
|
|
398
434
|
|
|
399
435
|
export interface DefaultAuthorizationPolicyProvider$instance {
|
|
436
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationPolicyProvider: never;
|
|
437
|
+
|
|
400
438
|
readonly AllowsCachingPolicies: boolean;
|
|
401
439
|
GetDefaultPolicyAsync(): Task<AuthorizationPolicy>;
|
|
402
440
|
GetFallbackPolicyAsync(): Task<AuthorizationPolicy | undefined>;
|
|
@@ -419,6 +457,8 @@ export type DefaultAuthorizationPolicyProvider = DefaultAuthorizationPolicyProvi
|
|
|
419
457
|
|
|
420
458
|
|
|
421
459
|
export interface DefaultAuthorizationService$instance {
|
|
460
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationService: never;
|
|
461
|
+
|
|
422
462
|
AuthorizeAsync(user: ClaimsPrincipal, resource: unknown, requirements: IEnumerable<IAuthorizationRequirement>): Task<AuthorizationResult>;
|
|
423
463
|
AuthorizeAsync(user: ClaimsPrincipal, resource: unknown, policyName: string): Task<AuthorizationResult>;
|
|
424
464
|
}
|
|
@@ -15,6 +15,9 @@ import type { Task } from "@tsonic/dotnet/System.Threading.Tasks.js";
|
|
|
15
15
|
import type { IOptions } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Options.js";
|
|
16
16
|
|
|
17
17
|
export interface AssertionRequirement$instance extends IAuthorizationRequirement {
|
|
18
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationHandler: never;
|
|
19
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationRequirement: never;
|
|
20
|
+
|
|
18
21
|
readonly Handler: Func<AuthorizationHandlerContext, Task<System_Internal.Boolean>>;
|
|
19
22
|
HandleAsync(context: AuthorizationHandlerContext): Task;
|
|
20
23
|
ToString(): string;
|
|
@@ -37,6 +40,9 @@ export type AssertionRequirement = AssertionRequirement$instance & __AssertionRe
|
|
|
37
40
|
|
|
38
41
|
|
|
39
42
|
export interface ClaimsAuthorizationRequirement$instance extends AuthorizationHandler_1<ClaimsAuthorizationRequirement>, IAuthorizationRequirement {
|
|
43
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationHandler: never;
|
|
44
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationRequirement: never;
|
|
45
|
+
|
|
40
46
|
readonly AllowedValues: IEnumerable<System_Internal.String> | undefined;
|
|
41
47
|
readonly ClaimType: string;
|
|
42
48
|
HandleAsync(context: AuthorizationHandlerContext): Task;
|
|
@@ -59,6 +65,9 @@ export type ClaimsAuthorizationRequirement = ClaimsAuthorizationRequirement$inst
|
|
|
59
65
|
|
|
60
66
|
|
|
61
67
|
export interface DenyAnonymousAuthorizationRequirement$instance extends AuthorizationHandler_1<DenyAnonymousAuthorizationRequirement>, IAuthorizationRequirement {
|
|
68
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationHandler: never;
|
|
69
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationRequirement: never;
|
|
70
|
+
|
|
62
71
|
HandleAsync(context: AuthorizationHandlerContext): Task;
|
|
63
72
|
ToString(): string;
|
|
64
73
|
}
|
|
@@ -79,6 +88,9 @@ export type DenyAnonymousAuthorizationRequirement = DenyAnonymousAuthorizationRe
|
|
|
79
88
|
|
|
80
89
|
|
|
81
90
|
export interface NameAuthorizationRequirement$instance extends AuthorizationHandler_1<NameAuthorizationRequirement>, IAuthorizationRequirement {
|
|
91
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationHandler: never;
|
|
92
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationRequirement: never;
|
|
93
|
+
|
|
82
94
|
readonly RequiredName: string;
|
|
83
95
|
HandleAsync(context: AuthorizationHandlerContext): Task;
|
|
84
96
|
ToString(): string;
|
|
@@ -100,6 +112,8 @@ export type NameAuthorizationRequirement = NameAuthorizationRequirement$instance
|
|
|
100
112
|
|
|
101
113
|
|
|
102
114
|
export interface OperationAuthorizationRequirement$instance extends IAuthorizationRequirement {
|
|
115
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationRequirement: never;
|
|
116
|
+
|
|
103
117
|
Name: string;
|
|
104
118
|
ToString(): string;
|
|
105
119
|
}
|
|
@@ -113,6 +127,8 @@ export const OperationAuthorizationRequirement: {
|
|
|
113
127
|
export type OperationAuthorizationRequirement = OperationAuthorizationRequirement$instance;
|
|
114
128
|
|
|
115
129
|
export interface PassThroughAuthorizationHandler$instance {
|
|
130
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationHandler: never;
|
|
131
|
+
|
|
116
132
|
HandleAsync(context: AuthorizationHandlerContext): Task;
|
|
117
133
|
}
|
|
118
134
|
|
|
@@ -133,6 +149,9 @@ export type PassThroughAuthorizationHandler = PassThroughAuthorizationHandler$in
|
|
|
133
149
|
|
|
134
150
|
|
|
135
151
|
export interface RolesAuthorizationRequirement$instance extends AuthorizationHandler_1<RolesAuthorizationRequirement>, IAuthorizationRequirement {
|
|
152
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationHandler: never;
|
|
153
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authorization_IAuthorizationRequirement: never;
|
|
154
|
+
|
|
136
155
|
readonly AllowedRoles: IEnumerable<System_Internal.String>;
|
|
137
156
|
HandleAsync(context: AuthorizationHandlerContext): Task;
|
|
138
157
|
ToString(): string;
|