@tsonic/aspnetcore 10.0.2 → 10.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.AspNetCore/internal/index.d.ts +6 -6
- package/Microsoft.AspNetCore.Antiforgery/internal/index.d.ts +27 -9
- package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +250 -112
- package/Microsoft.AspNetCore.Authentication.BearerToken/internal/index.d.ts +13 -5
- package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +64 -34
- package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +47 -28
- package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +28 -11
- package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +137 -75
- package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +53 -32
- package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +21 -13
- package/Microsoft.AspNetCore.Builder/internal/index.d.ts +221 -139
- package/Microsoft.AspNetCore.Builder.Extensions/internal/index.d.ts +15 -5
- package/Microsoft.AspNetCore.Components/internal/index.d.ts +358 -187
- package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +46 -17
- package/Microsoft.AspNetCore.Components.CompilerServices/internal/index.d.ts +8 -8
- package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +15 -5
- package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +220 -89
- package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +15 -9
- package/Microsoft.AspNetCore.Components.Forms.Mapping.d.ts +3 -0
- package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +10 -5
- package/Microsoft.AspNetCore.Components.Infrastructure/internal/index.d.ts +9 -7
- package/Microsoft.AspNetCore.Components.Infrastructure.d.ts +3 -0
- package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +44 -13
- package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +16 -8
- package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +55 -22
- package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +15 -9
- package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +33 -20
- package/Microsoft.AspNetCore.Components.Server.Circuits/internal/index.d.ts +11 -5
- package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage/internal/index.d.ts +13 -5
- package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +105 -37
- package/Microsoft.AspNetCore.Components.Web.HtmlRendering/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Components.Web.Infrastructure/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Components.Web.Internal/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +27 -15
- package/Microsoft.AspNetCore.Connections/internal/index.d.ts +130 -49
- package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +64 -20
- package/Microsoft.AspNetCore.CookiePolicy/internal/index.d.ts +13 -7
- package/Microsoft.AspNetCore.Cors/internal/index.d.ts +19 -8
- package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +55 -29
- package/Microsoft.AspNetCore.Cryptography.KeyDerivation/internal/index.d.ts +2 -2
- package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +43 -20
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +28 -16
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +59 -27
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.d.ts +3 -0
- package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +32 -19
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +19 -5
- package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +31 -15
- package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +58 -32
- package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +64 -21
- package/Microsoft.AspNetCore.Diagnostics.HealthChecks/internal/index.d.ts +15 -11
- package/Microsoft.AspNetCore.HostFiltering/internal/index.d.ts +12 -8
- package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +89 -47
- package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +9 -5
- package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +16 -4
- package/Microsoft.AspNetCore.Hosting.Server.Abstractions/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +12 -8
- package/Microsoft.AspNetCore.Hosting.StaticWebAssets/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Html/internal/index.d.ts +31 -13
- package/Microsoft.AspNetCore.Http/internal/index.d.ts +408 -199
- package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +34 -16
- package/Microsoft.AspNetCore.Http.Connections.Features/internal/index.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +21 -16
- package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +208 -88
- package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Http.Headers/internal/index.d.ts +31 -27
- package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +378 -171
- package/Microsoft.AspNetCore.Http.Json/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +74 -26
- package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +18 -8
- package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +23 -11
- package/Microsoft.AspNetCore.HttpOverrides/internal/index.d.ts +23 -13
- package/Microsoft.AspNetCore.HttpsPolicy/internal/index.d.ts +21 -13
- package/Microsoft.AspNetCore.Identity/internal/index.d.ts +725 -456
- package/Microsoft.AspNetCore.Identity.Data/internal/index.d.ts +23 -3
- package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Localization/internal/index.d.ts +57 -27
- package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +7 -3
- package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +724 -205
- package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +27 -13
- package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +37 -13
- package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +76 -30
- package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +244 -125
- package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +59 -25
- package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +21 -10
- package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +51 -24
- package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +12 -7
- package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +43 -18
- package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +431 -68
- package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +140 -44
- package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +192 -89
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +77 -36
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml.d.ts +3 -0
- package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +162 -66
- package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +48 -25
- package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +379 -133
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +217 -128
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +156 -102
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.d.ts +3 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +100 -43
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation.d.ts +3 -0
- package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +105 -56
- package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +19 -9
- package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Mvc.Razor.Internal/internal/index.d.ts +4 -2
- package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +43 -18
- package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +81 -42
- package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +70 -37
- package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +123 -95
- package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +57 -25
- package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +151 -72
- package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +41 -23
- package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +94 -48
- package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +24 -11
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +266 -144
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +7 -3
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure/internal/index.d.ts +7 -5
- package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +44 -26
- package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +22 -12
- package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +28 -10
- package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers/internal/index.d.ts +17 -11
- package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +100 -31
- package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +11 -5
- package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +18 -10
- package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +64 -29
- package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +20 -12
- package/Microsoft.AspNetCore.Routing/internal/index.d.ts +291 -131
- package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +191 -79
- package/Microsoft.AspNetCore.Routing.Internal/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +61 -25
- package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +40 -20
- package/Microsoft.AspNetCore.Routing.Template/internal/index.d.ts +25 -9
- package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +29 -13
- package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +50 -18
- package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +12 -4
- package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +17 -11
- package/Microsoft.AspNetCore.Server.Kestrel/internal/index.d.ts +16 -12
- package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +56 -36
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +17 -3
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +20 -8
- package/Microsoft.AspNetCore.Server.Kestrel.Https/internal/index.d.ts +23 -17
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.d.ts +29 -18
- package/Microsoft.AspNetCore.Session/internal/index.d.ts +32 -22
- package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +191 -91
- package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +63 -25
- package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +21 -11
- package/Microsoft.AspNetCore.StaticAssets.Infrastructure/internal/index.d.ts +4 -4
- package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +38 -22
- package/Microsoft.AspNetCore.StaticFiles.Infrastructure/internal/index.d.ts +7 -3
- package/Microsoft.AspNetCore.WebSockets/internal/index.d.ts +14 -10
- package/Microsoft.AspNetCore.WebSockets.d.ts +3 -0
- package/Microsoft.AspNetCore.WebUtilities/internal/index.d.ts +119 -73
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +135 -123
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +10 -8
- package/Microsoft.Extensions.Hosting.d.ts +3 -0
- package/Microsoft.JSInterop/internal/index.d.ts +95 -52
- package/Microsoft.JSInterop.Implementation/internal/index.d.ts +40 -26
- package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +10 -2
- package/Microsoft.Net.Http.Headers/internal/index.d.ts +92 -60
- package/System.Formats.Cbor/internal/index.d.ts +29 -21
- package/System.Security.Claims/internal/index.d.ts +3 -3
- package/System.Security.Claims.d.ts +3 -0
- package/System.Threading.RateLimiting/internal/index.d.ts +84 -29
- package/__internal/extensions/index.d.ts +1776 -1190
- package/package.json +4 -4
|
@@ -10,23 +10,25 @@ import type { ClaimActionCollection } from "../../Microsoft.AspNetCore.Authentic
|
|
|
10
10
|
import type { IDataProtectionProvider, IDataProtector } from "../../Microsoft.AspNetCore.DataProtection/internal/index.js";
|
|
11
11
|
import * as Microsoft_AspNetCore_Http_Internal from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
12
12
|
import type { CookieBuilder, CookieOptions, CookieSecurePolicy, HttpContext, HttpRequest, HttpResponse, PathString, RequestDelegate, SameSiteMode } from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
13
|
-
import type {
|
|
14
|
-
import type { BinaryReader, BinaryWriter } from "@tsonic/dotnet/System.IO.js";
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import type {
|
|
18
|
-
import
|
|
19
|
-
import type {
|
|
20
|
-
import type {
|
|
21
|
-
import type {
|
|
22
|
-
import
|
|
23
|
-
import type {
|
|
24
|
-
import type { IConfiguration } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Configuration.js";
|
|
25
|
-
import type { IServiceCollection } from "@tsonic/microsoft-extensions/Microsoft.Extensions.DependencyInjection.js";
|
|
26
|
-
import type { ILogger, ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging.js";
|
|
27
|
-
import type {
|
|
13
|
+
import type { IDictionary_2, IEnumerable_1, IList_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
14
|
+
import type { BinaryReader, BinaryWriter } from "@tsonic/dotnet/System.IO/internal/index.js";
|
|
15
|
+
import type { HttpClient, HttpMessageHandler } from "@tsonic/dotnet/System.Net.Http/internal/index.js";
|
|
16
|
+
import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
17
|
+
import type { ISerializable } from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
18
|
+
import type { Claim, ClaimsIdentity, ClaimsPrincipal } from "@tsonic/dotnet/System.Security.Claims/internal/index.js";
|
|
19
|
+
import type { UrlEncoder } from "@tsonic/dotnet/System.Text.Encodings.Web/internal/index.js";
|
|
20
|
+
import type { JsonElement } from "@tsonic/dotnet/System.Text.Json/internal/index.js";
|
|
21
|
+
import type { Task, Task_1 } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
22
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
23
|
+
import type { Action_1, Boolean as ClrBoolean, Byte, DateTimeOffset, Exception, Func_2, Nullable_1, Object as ClrObject, String as ClrString, TimeProvider, TimeSpan, Type, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
24
|
+
import type { IConfiguration } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Configuration/internal/index.js";
|
|
25
|
+
import type { IServiceCollection } from "@tsonic/microsoft-extensions/Microsoft.Extensions.DependencyInjection/internal/index.js";
|
|
26
|
+
import type { ILogger, ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging/internal/index.js";
|
|
27
|
+
import type { IOptions_1, IOptionsMonitor_1 } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Options/internal/index.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,7 +56,9 @@ export interface IAuthenticationFeature$instance {
|
|
|
50
56
|
export type IAuthenticationFeature = IAuthenticationFeature$instance;
|
|
51
57
|
|
|
52
58
|
export interface IAuthenticationHandler$instance {
|
|
53
|
-
|
|
59
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
60
|
+
|
|
61
|
+
AuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
54
62
|
ChallengeAsync(properties: AuthenticationProperties): Task;
|
|
55
63
|
InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
|
|
56
64
|
}
|
|
@@ -59,17 +67,21 @@ export interface IAuthenticationHandler$instance {
|
|
|
59
67
|
export type IAuthenticationHandler = IAuthenticationHandler$instance;
|
|
60
68
|
|
|
61
69
|
export interface IAuthenticationHandlerProvider$instance {
|
|
62
|
-
|
|
70
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandlerProvider: never;
|
|
71
|
+
|
|
72
|
+
GetHandlerAsync(context: HttpContext, authenticationScheme: string): Task_1<IAuthenticationHandler | undefined>;
|
|
63
73
|
}
|
|
64
74
|
|
|
65
75
|
|
|
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
|
-
HandleRequestAsync():
|
|
82
|
+
HandleRequestAsync(): Task_1<System_Internal.Boolean>;
|
|
71
83
|
InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
|
|
72
|
-
AuthenticateAsync():
|
|
84
|
+
AuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
73
85
|
}
|
|
74
86
|
|
|
75
87
|
|
|
@@ -78,9 +90,11 @@ 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
|
-
GetAllSchemesAsync():
|
|
83
|
-
GetSchemeAsync(name: string):
|
|
96
|
+
GetAllSchemesAsync(): Task_1<IEnumerable_1<AuthenticationScheme>>;
|
|
97
|
+
GetSchemeAsync(name: string): Task_1<AuthenticationScheme | undefined>;
|
|
84
98
|
RemoveScheme(name: string): void;
|
|
85
99
|
TryAddScheme(scheme: AuthenticationScheme): boolean;
|
|
86
100
|
}
|
|
@@ -89,7 +103,9 @@ export interface IAuthenticationSchemeProvider$instance {
|
|
|
89
103
|
export type IAuthenticationSchemeProvider = IAuthenticationSchemeProvider$instance;
|
|
90
104
|
|
|
91
105
|
export interface IAuthenticationService$instance {
|
|
92
|
-
|
|
106
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationService: never;
|
|
107
|
+
|
|
108
|
+
AuthenticateAsync(context: HttpContext, scheme: string): Task_1<AuthenticateResult>;
|
|
93
109
|
ChallengeAsync(context: HttpContext, scheme: string, properties: AuthenticationProperties): Task;
|
|
94
110
|
SignInAsync(context: HttpContext, scheme: string, principal: ClaimsPrincipal, properties: AuthenticationProperties): Task;
|
|
95
111
|
}
|
|
@@ -98,7 +114,9 @@ export interface IAuthenticationService$instance {
|
|
|
98
114
|
export type IAuthenticationService = IAuthenticationService$instance;
|
|
99
115
|
|
|
100
116
|
export interface IAuthenticationSignInHandler$instance extends IAuthenticationSignOutHandler, IAuthenticationHandler {
|
|
101
|
-
|
|
117
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignInHandler: never;
|
|
118
|
+
|
|
119
|
+
AuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
102
120
|
InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
|
|
103
121
|
SignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties): Task;
|
|
104
122
|
SignOutAsync(properties: AuthenticationProperties): Task;
|
|
@@ -109,7 +127,9 @@ export interface IAuthenticationSignInHandler$instance extends IAuthenticationSi
|
|
|
109
127
|
export type IAuthenticationSignInHandler = IAuthenticationSignInHandler$instance;
|
|
110
128
|
|
|
111
129
|
export interface IAuthenticationSignOutHandler$instance extends IAuthenticationHandler {
|
|
112
|
-
|
|
130
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignOutHandler: never;
|
|
131
|
+
|
|
132
|
+
AuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
113
133
|
InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
|
|
114
134
|
SignOutAsync(properties: AuthenticationProperties): Task;
|
|
115
135
|
ChallengeAsync(properties: AuthenticationProperties): Task;
|
|
@@ -121,13 +141,17 @@ export interface IAuthenticationSignOutHandler$instance extends IAuthenticationH
|
|
|
121
141
|
export type IAuthenticationSignOutHandler = IAuthenticationSignOutHandler$instance;
|
|
122
142
|
|
|
123
143
|
export interface IClaimsTransformation$instance {
|
|
124
|
-
|
|
144
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IClaimsTransformation: never;
|
|
145
|
+
|
|
146
|
+
TransformAsync(principal: ClaimsPrincipal): Task_1<ClaimsPrincipal>;
|
|
125
147
|
}
|
|
126
148
|
|
|
127
149
|
|
|
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
|
|
|
@@ -153,6 +181,8 @@ export interface ISystemClock$instance {
|
|
|
153
181
|
export type ISystemClock = ISystemClock$instance;
|
|
154
182
|
|
|
155
183
|
export interface AccessDeniedContext$instance extends HandleRequestContext_1<RemoteAuthenticationOptions> {
|
|
184
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AccessDeniedContext: never;
|
|
185
|
+
|
|
156
186
|
AccessDeniedPath: PathString;
|
|
157
187
|
get Properties(): AuthenticationProperties | undefined;
|
|
158
188
|
set Properties(value: AuthenticationProperties | undefined);
|
|
@@ -170,6 +200,8 @@ export const AccessDeniedContext: {
|
|
|
170
200
|
export type AccessDeniedContext = AccessDeniedContext$instance;
|
|
171
201
|
|
|
172
202
|
export interface AuthenticateResult$instance {
|
|
203
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticateResult: never;
|
|
204
|
+
|
|
173
205
|
get Failure(): Exception | undefined;
|
|
174
206
|
set Failure(value: Exception | undefined);
|
|
175
207
|
None: boolean;
|
|
@@ -196,11 +228,13 @@ export const AuthenticateResult: (abstract new() => AuthenticateResult) & {
|
|
|
196
228
|
export type AuthenticateResult = AuthenticateResult$instance;
|
|
197
229
|
|
|
198
230
|
export interface AuthenticationBuilder$instance {
|
|
231
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationBuilder: never;
|
|
232
|
+
|
|
199
233
|
readonly Services: IServiceCollection;
|
|
200
|
-
AddPolicyScheme(authenticationScheme: string, displayName: string, configureOptions:
|
|
201
|
-
AddRemoteScheme<TOptions extends RemoteAuthenticationOptions, THandler extends RemoteAuthenticationHandler_1<TOptions>>(authenticationScheme: string, displayName: string, configureOptions:
|
|
202
|
-
AddScheme<TOptions extends AuthenticationSchemeOptions, THandler extends AuthenticationHandler_1<TOptions>>(authenticationScheme: string, displayName: string, configureOptions:
|
|
203
|
-
AddScheme<TOptions extends AuthenticationSchemeOptions, THandler extends AuthenticationHandler_1<TOptions>>(authenticationScheme: string, configureOptions:
|
|
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;
|
|
204
238
|
}
|
|
205
239
|
|
|
206
240
|
|
|
@@ -212,6 +246,10 @@ export const AuthenticationBuilder: {
|
|
|
212
246
|
export type AuthenticationBuilder = AuthenticationBuilder$instance;
|
|
213
247
|
|
|
214
248
|
export interface AuthenticationFailureException$instance extends Exception {
|
|
249
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationFailureException: never;
|
|
250
|
+
|
|
251
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
252
|
+
|
|
215
253
|
}
|
|
216
254
|
|
|
217
255
|
|
|
@@ -223,7 +261,11 @@ export const AuthenticationFailureException: {
|
|
|
223
261
|
|
|
224
262
|
export type AuthenticationFailureException = AuthenticationFailureException$instance;
|
|
225
263
|
|
|
226
|
-
export interface AuthenticationFeature$instance {
|
|
264
|
+
export interface AuthenticationFeature$instance extends IAuthenticationFeature$instance {
|
|
265
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationFeature: never;
|
|
266
|
+
|
|
267
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationFeature: never;
|
|
268
|
+
|
|
227
269
|
OriginalPath: PathString;
|
|
228
270
|
OriginalPathBase: PathString;
|
|
229
271
|
}
|
|
@@ -238,21 +280,23 @@ export interface __AuthenticationFeature$views {
|
|
|
238
280
|
As_IAuthenticationFeature(): IAuthenticationFeature$instance;
|
|
239
281
|
}
|
|
240
282
|
|
|
241
|
-
export interface AuthenticationFeature$instance extends IAuthenticationFeature$instance {}
|
|
242
|
-
|
|
243
283
|
export type AuthenticationFeature = AuthenticationFeature$instance & __AuthenticationFeature$views;
|
|
244
284
|
|
|
245
285
|
|
|
246
|
-
export interface AuthenticationHandler_1$instance<TOptions extends AuthenticationSchemeOptions> {
|
|
286
|
+
export interface AuthenticationHandler_1$instance<TOptions extends AuthenticationSchemeOptions> extends IAuthenticationHandler$instance {
|
|
287
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationHandler_1: never;
|
|
288
|
+
|
|
289
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
290
|
+
|
|
247
291
|
readonly ClaimsIssuer: string;
|
|
248
|
-
Events:
|
|
292
|
+
Events: RemoteAuthenticationEvents | unknown;
|
|
249
293
|
Options: TOptions;
|
|
250
294
|
Scheme: AuthenticationScheme;
|
|
251
|
-
AuthenticateAsync():
|
|
295
|
+
AuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
252
296
|
ChallengeAsync(properties: AuthenticationProperties): Task;
|
|
253
|
-
CreateEventsAsync():
|
|
297
|
+
CreateEventsAsync(): Task_1<unknown>;
|
|
254
298
|
ForbidAsync(properties: AuthenticationProperties): Task;
|
|
255
|
-
HandleAuthenticateAsync():
|
|
299
|
+
HandleAuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
256
300
|
HandleChallengeAsync(properties: AuthenticationProperties): Task;
|
|
257
301
|
HandleForbiddenAsync(properties: AuthenticationProperties): Task;
|
|
258
302
|
InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
|
|
@@ -262,7 +306,7 @@ export interface AuthenticationHandler_1$instance<TOptions extends Authenticatio
|
|
|
262
306
|
}
|
|
263
307
|
|
|
264
308
|
|
|
265
|
-
export const AuthenticationHandler_1: (abstract new<TOptions extends AuthenticationSchemeOptions>(options:
|
|
309
|
+
export const AuthenticationHandler_1: (abstract new<TOptions extends AuthenticationSchemeOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder, clock: ISystemClock) => AuthenticationHandler_1<TOptions>) & (abstract new<TOptions extends AuthenticationSchemeOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder) => AuthenticationHandler_1<TOptions>) & {
|
|
266
310
|
};
|
|
267
311
|
|
|
268
312
|
|
|
@@ -270,14 +314,16 @@ export interface __AuthenticationHandler_1$views<TOptions extends Authentication
|
|
|
270
314
|
As_IAuthenticationHandler(): IAuthenticationHandler$instance;
|
|
271
315
|
}
|
|
272
316
|
|
|
273
|
-
export interface AuthenticationHandler_1$instance<TOptions extends AuthenticationSchemeOptions> extends IAuthenticationHandler$instance {}
|
|
274
|
-
|
|
275
317
|
export type AuthenticationHandler_1<TOptions extends AuthenticationSchemeOptions> = AuthenticationHandler_1$instance<TOptions> & __AuthenticationHandler_1$views<TOptions>;
|
|
276
318
|
|
|
277
319
|
|
|
278
|
-
export interface AuthenticationHandlerProvider$instance {
|
|
320
|
+
export interface AuthenticationHandlerProvider$instance extends IAuthenticationHandlerProvider$instance {
|
|
321
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationHandlerProvider: never;
|
|
322
|
+
|
|
323
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandlerProvider: never;
|
|
324
|
+
|
|
279
325
|
readonly Schemes: IAuthenticationSchemeProvider;
|
|
280
|
-
GetHandlerAsync(context: HttpContext, authenticationScheme: string):
|
|
326
|
+
GetHandlerAsync(context: HttpContext, authenticationScheme: string): Task_1<IAuthenticationHandler | undefined>;
|
|
281
327
|
}
|
|
282
328
|
|
|
283
329
|
|
|
@@ -290,12 +336,12 @@ export interface __AuthenticationHandlerProvider$views {
|
|
|
290
336
|
As_IAuthenticationHandlerProvider(): IAuthenticationHandlerProvider$instance;
|
|
291
337
|
}
|
|
292
338
|
|
|
293
|
-
export interface AuthenticationHandlerProvider$instance extends IAuthenticationHandlerProvider$instance {}
|
|
294
|
-
|
|
295
339
|
export type AuthenticationHandlerProvider = AuthenticationHandlerProvider$instance & __AuthenticationHandlerProvider$views;
|
|
296
340
|
|
|
297
341
|
|
|
298
342
|
export interface AuthenticationMiddleware$instance {
|
|
343
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationMiddleware: never;
|
|
344
|
+
|
|
299
345
|
Schemes: IAuthenticationSchemeProvider;
|
|
300
346
|
Invoke(context: HttpContext): Task;
|
|
301
347
|
}
|
|
@@ -309,6 +355,8 @@ export const AuthenticationMiddleware: {
|
|
|
309
355
|
export type AuthenticationMiddleware = AuthenticationMiddleware$instance;
|
|
310
356
|
|
|
311
357
|
export interface AuthenticationOptions$instance {
|
|
358
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationOptions: never;
|
|
359
|
+
|
|
312
360
|
get DefaultAuthenticateScheme(): string | undefined;
|
|
313
361
|
set DefaultAuthenticateScheme(value: string | undefined);
|
|
314
362
|
get DefaultChallengeScheme(): string | undefined;
|
|
@@ -322,9 +370,9 @@ export interface AuthenticationOptions$instance {
|
|
|
322
370
|
get DefaultSignOutScheme(): string | undefined;
|
|
323
371
|
set DefaultSignOutScheme(value: string | undefined);
|
|
324
372
|
RequireAuthenticatedSignIn: boolean;
|
|
325
|
-
readonly SchemeMap:
|
|
326
|
-
readonly Schemes:
|
|
327
|
-
AddScheme(name: string, configureBuilder:
|
|
373
|
+
readonly SchemeMap: IDictionary_2<System_Internal.String, AuthenticationSchemeBuilder>;
|
|
374
|
+
readonly Schemes: IEnumerable_1<AuthenticationSchemeBuilder>;
|
|
375
|
+
AddScheme(name: string, configureBuilder: Action_1<AuthenticationSchemeBuilder>): void;
|
|
328
376
|
AddScheme<THandler extends IAuthenticationHandler>(name: string, displayName: string): void;
|
|
329
377
|
}
|
|
330
378
|
|
|
@@ -337,12 +385,14 @@ export const AuthenticationOptions: {
|
|
|
337
385
|
export type AuthenticationOptions = AuthenticationOptions$instance;
|
|
338
386
|
|
|
339
387
|
export interface AuthenticationProperties$instance {
|
|
340
|
-
|
|
341
|
-
|
|
388
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationProperties: never;
|
|
389
|
+
|
|
390
|
+
AllowRefresh: Nullable_1<System_Internal.Boolean>;
|
|
391
|
+
ExpiresUtc: Nullable_1<DateTimeOffset>;
|
|
342
392
|
IsPersistent: boolean;
|
|
343
|
-
IssuedUtc:
|
|
344
|
-
readonly Items:
|
|
345
|
-
readonly Parameters:
|
|
393
|
+
IssuedUtc: Nullable_1<DateTimeOffset>;
|
|
394
|
+
readonly Items: IDictionary_2<System_Internal.String, string | undefined>;
|
|
395
|
+
readonly Parameters: IDictionary_2<System_Internal.String, unknown | undefined>;
|
|
346
396
|
get RedirectUri(): string | undefined;
|
|
347
397
|
set RedirectUri(value: string | undefined);
|
|
348
398
|
Clone(): AuthenticationProperties;
|
|
@@ -355,14 +405,16 @@ export interface AuthenticationProperties$instance {
|
|
|
355
405
|
|
|
356
406
|
export const AuthenticationProperties: {
|
|
357
407
|
new(): AuthenticationProperties;
|
|
358
|
-
new(items:
|
|
359
|
-
new(items:
|
|
408
|
+
new(items: IDictionary_2<System_Internal.String, System_Internal.String>): AuthenticationProperties;
|
|
409
|
+
new(items: IDictionary_2<System_Internal.String, System_Internal.String>, parameters: IDictionary_2<System_Internal.String, unknown>): AuthenticationProperties;
|
|
360
410
|
};
|
|
361
411
|
|
|
362
412
|
|
|
363
413
|
export type AuthenticationProperties = AuthenticationProperties$instance;
|
|
364
414
|
|
|
365
415
|
export interface AuthenticationScheme$instance {
|
|
416
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationScheme: never;
|
|
417
|
+
|
|
366
418
|
readonly DisplayName: string | undefined;
|
|
367
419
|
readonly HandlerType: Type;
|
|
368
420
|
readonly Name: string;
|
|
@@ -377,6 +429,8 @@ export const AuthenticationScheme: {
|
|
|
377
429
|
export type AuthenticationScheme = AuthenticationScheme$instance;
|
|
378
430
|
|
|
379
431
|
export interface AuthenticationSchemeBuilder$instance {
|
|
432
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationSchemeBuilder: never;
|
|
433
|
+
|
|
380
434
|
get DisplayName(): string | undefined;
|
|
381
435
|
set DisplayName(value: string | undefined);
|
|
382
436
|
get HandlerType(): Type | undefined;
|
|
@@ -394,9 +448,11 @@ export const AuthenticationSchemeBuilder: {
|
|
|
394
448
|
export type AuthenticationSchemeBuilder = AuthenticationSchemeBuilder$instance;
|
|
395
449
|
|
|
396
450
|
export interface AuthenticationSchemeOptions$instance {
|
|
451
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationSchemeOptions: never;
|
|
452
|
+
|
|
397
453
|
get ClaimsIssuer(): string | undefined;
|
|
398
454
|
set ClaimsIssuer(value: string | undefined);
|
|
399
|
-
Events:
|
|
455
|
+
Events: RemoteAuthenticationEvents | unknown;
|
|
400
456
|
get EventsType(): Type | undefined;
|
|
401
457
|
set EventsType(value: Type | undefined);
|
|
402
458
|
get ForwardAuthenticate(): string | undefined;
|
|
@@ -405,8 +461,8 @@ export interface AuthenticationSchemeOptions$instance {
|
|
|
405
461
|
set ForwardChallenge(value: string | undefined);
|
|
406
462
|
get ForwardDefault(): string | undefined;
|
|
407
463
|
set ForwardDefault(value: string | undefined);
|
|
408
|
-
get ForwardDefaultSelector():
|
|
409
|
-
set ForwardDefaultSelector(value:
|
|
464
|
+
get ForwardDefaultSelector(): Func_2<HttpContext, string | undefined> | undefined;
|
|
465
|
+
set ForwardDefaultSelector(value: Func_2<HttpContext, string | undefined> | undefined);
|
|
410
466
|
get ForwardForbid(): string | undefined;
|
|
411
467
|
set ForwardForbid(value: string | undefined);
|
|
412
468
|
get ForwardSignIn(): string | undefined;
|
|
@@ -427,23 +483,27 @@ export const AuthenticationSchemeOptions: {
|
|
|
427
483
|
|
|
428
484
|
export type AuthenticationSchemeOptions = AuthenticationSchemeOptions$instance;
|
|
429
485
|
|
|
430
|
-
export interface AuthenticationSchemeProvider$instance {
|
|
486
|
+
export interface AuthenticationSchemeProvider$instance extends IAuthenticationSchemeProvider$instance {
|
|
487
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationSchemeProvider: never;
|
|
488
|
+
|
|
489
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSchemeProvider: never;
|
|
490
|
+
|
|
431
491
|
AddScheme(scheme: AuthenticationScheme): void;
|
|
432
|
-
GetAllSchemesAsync():
|
|
433
|
-
GetDefaultAuthenticateSchemeAsync():
|
|
434
|
-
GetDefaultChallengeSchemeAsync():
|
|
435
|
-
GetDefaultForbidSchemeAsync():
|
|
436
|
-
GetDefaultSignInSchemeAsync():
|
|
437
|
-
GetDefaultSignOutSchemeAsync():
|
|
438
|
-
GetRequestHandlerSchemesAsync():
|
|
439
|
-
GetSchemeAsync(name: string):
|
|
492
|
+
GetAllSchemesAsync(): Task_1<IEnumerable_1<AuthenticationScheme>>;
|
|
493
|
+
GetDefaultAuthenticateSchemeAsync(): Task_1<AuthenticationScheme | undefined>;
|
|
494
|
+
GetDefaultChallengeSchemeAsync(): Task_1<AuthenticationScheme | undefined>;
|
|
495
|
+
GetDefaultForbidSchemeAsync(): Task_1<AuthenticationScheme | undefined>;
|
|
496
|
+
GetDefaultSignInSchemeAsync(): Task_1<AuthenticationScheme | undefined>;
|
|
497
|
+
GetDefaultSignOutSchemeAsync(): Task_1<AuthenticationScheme | undefined>;
|
|
498
|
+
GetRequestHandlerSchemesAsync(): Task_1<IEnumerable_1<AuthenticationScheme>>;
|
|
499
|
+
GetSchemeAsync(name: string): Task_1<AuthenticationScheme | undefined>;
|
|
440
500
|
RemoveScheme(name: string): void;
|
|
441
501
|
TryAddScheme(scheme: AuthenticationScheme): boolean;
|
|
442
502
|
}
|
|
443
503
|
|
|
444
504
|
|
|
445
505
|
export const AuthenticationSchemeProvider: {
|
|
446
|
-
new(options:
|
|
506
|
+
new(options: IOptions_1<AuthenticationOptions>): AuthenticationSchemeProvider;
|
|
447
507
|
};
|
|
448
508
|
|
|
449
509
|
|
|
@@ -451,17 +511,19 @@ export interface __AuthenticationSchemeProvider$views {
|
|
|
451
511
|
As_IAuthenticationSchemeProvider(): IAuthenticationSchemeProvider$instance;
|
|
452
512
|
}
|
|
453
513
|
|
|
454
|
-
export interface AuthenticationSchemeProvider$instance extends IAuthenticationSchemeProvider$instance {}
|
|
455
|
-
|
|
456
514
|
export type AuthenticationSchemeProvider = AuthenticationSchemeProvider$instance & __AuthenticationSchemeProvider$views;
|
|
457
515
|
|
|
458
516
|
|
|
459
|
-
export interface AuthenticationService$instance {
|
|
517
|
+
export interface AuthenticationService$instance extends IAuthenticationService$instance {
|
|
518
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationService: never;
|
|
519
|
+
|
|
520
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationService: never;
|
|
521
|
+
|
|
460
522
|
readonly Handlers: IAuthenticationHandlerProvider;
|
|
461
523
|
readonly Options: AuthenticationOptions;
|
|
462
524
|
readonly Schemes: IAuthenticationSchemeProvider;
|
|
463
525
|
readonly Transform: IClaimsTransformation;
|
|
464
|
-
AuthenticateAsync(context: HttpContext, scheme: string):
|
|
526
|
+
AuthenticateAsync(context: HttpContext, scheme: string): Task_1<AuthenticateResult>;
|
|
465
527
|
ChallengeAsync(context: HttpContext, scheme: string, properties: AuthenticationProperties): Task;
|
|
466
528
|
ForbidAsync(context: HttpContext, scheme: string, properties: AuthenticationProperties): Task;
|
|
467
529
|
SignInAsync(context: HttpContext, scheme: string, principal: ClaimsPrincipal, properties: AuthenticationProperties): Task;
|
|
@@ -470,7 +532,7 @@ export interface AuthenticationService$instance {
|
|
|
470
532
|
|
|
471
533
|
|
|
472
534
|
export const AuthenticationService: {
|
|
473
|
-
new(schemes: IAuthenticationSchemeProvider, handlers: IAuthenticationHandlerProvider, transform: IClaimsTransformation, options:
|
|
535
|
+
new(schemes: IAuthenticationSchemeProvider, handlers: IAuthenticationHandlerProvider, transform: IClaimsTransformation, options: IOptions_1<AuthenticationOptions>): AuthenticationService;
|
|
474
536
|
};
|
|
475
537
|
|
|
476
538
|
|
|
@@ -478,12 +540,12 @@ export interface __AuthenticationService$views {
|
|
|
478
540
|
As_IAuthenticationService(): IAuthenticationService$instance;
|
|
479
541
|
}
|
|
480
542
|
|
|
481
|
-
export interface AuthenticationService$instance extends IAuthenticationService$instance {}
|
|
482
|
-
|
|
483
543
|
export type AuthenticationService = AuthenticationService$instance & __AuthenticationService$views;
|
|
484
544
|
|
|
485
545
|
|
|
486
546
|
export interface AuthenticationTicket$instance {
|
|
547
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationTicket: never;
|
|
548
|
+
|
|
487
549
|
readonly AuthenticationScheme: string;
|
|
488
550
|
readonly Principal: ClaimsPrincipal;
|
|
489
551
|
readonly Properties: AuthenticationProperties;
|
|
@@ -500,6 +562,8 @@ export const AuthenticationTicket: {
|
|
|
500
562
|
export type AuthenticationTicket = AuthenticationTicket$instance;
|
|
501
563
|
|
|
502
564
|
export interface AuthenticationToken$instance {
|
|
565
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_AuthenticationToken: never;
|
|
566
|
+
|
|
503
567
|
Name: string;
|
|
504
568
|
Value: string;
|
|
505
569
|
}
|
|
@@ -513,6 +577,8 @@ export const AuthenticationToken: {
|
|
|
513
577
|
export type AuthenticationToken = AuthenticationToken$instance;
|
|
514
578
|
|
|
515
579
|
export interface BaseContext_1$instance<TOptions extends AuthenticationSchemeOptions> {
|
|
580
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_BaseContext_1: never;
|
|
581
|
+
|
|
516
582
|
readonly HttpContext: HttpContext;
|
|
517
583
|
readonly Options: TOptions;
|
|
518
584
|
readonly Request: HttpRequest;
|
|
@@ -528,6 +594,8 @@ export const BaseContext_1: (abstract new<TOptions extends AuthenticationSchemeO
|
|
|
528
594
|
export type BaseContext_1<TOptions extends AuthenticationSchemeOptions> = BaseContext_1$instance<TOptions>;
|
|
529
595
|
|
|
530
596
|
export interface HandleRequestContext_1$instance<TOptions extends AuthenticationSchemeOptions> extends BaseContext_1<TOptions> {
|
|
597
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_HandleRequestContext_1: never;
|
|
598
|
+
|
|
531
599
|
Result: HandleRequestResult;
|
|
532
600
|
HandleResponse(): void;
|
|
533
601
|
SkipHandler(): void;
|
|
@@ -541,6 +609,8 @@ export const HandleRequestContext_1: (abstract new<TOptions extends Authenticati
|
|
|
541
609
|
export type HandleRequestContext_1<TOptions extends AuthenticationSchemeOptions> = HandleRequestContext_1$instance<TOptions>;
|
|
542
610
|
|
|
543
611
|
export interface HandleRequestResult$instance extends AuthenticateResult {
|
|
612
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_HandleRequestResult: never;
|
|
613
|
+
|
|
544
614
|
Handled: boolean;
|
|
545
615
|
Skipped: boolean;
|
|
546
616
|
}
|
|
@@ -557,8 +627,12 @@ export const HandleRequestResult: {
|
|
|
557
627
|
|
|
558
628
|
export type HandleRequestResult = HandleRequestResult$instance;
|
|
559
629
|
|
|
560
|
-
export interface NoopClaimsTransformation$instance {
|
|
561
|
-
|
|
630
|
+
export interface NoopClaimsTransformation$instance extends IClaimsTransformation$instance {
|
|
631
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_NoopClaimsTransformation: never;
|
|
632
|
+
|
|
633
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IClaimsTransformation: never;
|
|
634
|
+
|
|
635
|
+
TransformAsync(principal: ClaimsPrincipal): Task_1<ClaimsPrincipal>;
|
|
562
636
|
}
|
|
563
637
|
|
|
564
638
|
|
|
@@ -571,15 +645,19 @@ export interface __NoopClaimsTransformation$views {
|
|
|
571
645
|
As_IClaimsTransformation(): IClaimsTransformation$instance;
|
|
572
646
|
}
|
|
573
647
|
|
|
574
|
-
export interface NoopClaimsTransformation$instance extends IClaimsTransformation$instance {}
|
|
575
|
-
|
|
576
648
|
export type NoopClaimsTransformation = NoopClaimsTransformation$instance & __NoopClaimsTransformation$views;
|
|
577
649
|
|
|
578
650
|
|
|
579
651
|
export interface PolicySchemeHandler$instance extends SignInAuthenticationHandler_1$instance<PolicySchemeOptions>, IAuthenticationSignOutHandler {
|
|
580
|
-
|
|
652
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_PolicySchemeHandler: never;
|
|
653
|
+
|
|
654
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
655
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignInHandler: never;
|
|
656
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignOutHandler: never;
|
|
657
|
+
|
|
658
|
+
AuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
581
659
|
ChallengeAsync(properties: AuthenticationProperties): Task;
|
|
582
|
-
HandleAuthenticateAsync():
|
|
660
|
+
HandleAuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
583
661
|
HandleChallengeAsync(properties: AuthenticationProperties): Task;
|
|
584
662
|
HandleForbiddenAsync(properties: AuthenticationProperties): Task;
|
|
585
663
|
HandleSignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties): Task;
|
|
@@ -591,8 +669,8 @@ export interface PolicySchemeHandler$instance extends SignInAuthenticationHandle
|
|
|
591
669
|
|
|
592
670
|
|
|
593
671
|
export const PolicySchemeHandler: {
|
|
594
|
-
new(options:
|
|
595
|
-
new(options:
|
|
672
|
+
new(options: IOptionsMonitor_1<PolicySchemeOptions>, logger: ILoggerFactory, encoder: UrlEncoder, clock: ISystemClock): PolicySchemeHandler;
|
|
673
|
+
new(options: IOptionsMonitor_1<PolicySchemeOptions>, logger: ILoggerFactory, encoder: UrlEncoder): PolicySchemeHandler;
|
|
596
674
|
};
|
|
597
675
|
|
|
598
676
|
|
|
@@ -605,6 +683,8 @@ export type PolicySchemeHandler = PolicySchemeHandler$instance & __PolicySchemeH
|
|
|
605
683
|
|
|
606
684
|
|
|
607
685
|
export interface PolicySchemeOptions$instance extends AuthenticationSchemeOptions {
|
|
686
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_PolicySchemeOptions: never;
|
|
687
|
+
|
|
608
688
|
}
|
|
609
689
|
|
|
610
690
|
|
|
@@ -616,6 +696,8 @@ export const PolicySchemeOptions: {
|
|
|
616
696
|
export type PolicySchemeOptions = PolicySchemeOptions$instance;
|
|
617
697
|
|
|
618
698
|
export interface PrincipalContext_1$instance<TOptions extends AuthenticationSchemeOptions> extends PropertiesContext_1<TOptions> {
|
|
699
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_PrincipalContext_1: never;
|
|
700
|
+
|
|
619
701
|
get Principal(): ClaimsPrincipal | undefined;
|
|
620
702
|
set Principal(value: ClaimsPrincipal | undefined);
|
|
621
703
|
}
|
|
@@ -628,6 +710,8 @@ export const PrincipalContext_1: (abstract new<TOptions extends AuthenticationSc
|
|
|
628
710
|
export type PrincipalContext_1<TOptions extends AuthenticationSchemeOptions> = PrincipalContext_1$instance<TOptions>;
|
|
629
711
|
|
|
630
712
|
export interface PropertiesContext_1$instance<TOptions extends AuthenticationSchemeOptions> extends BaseContext_1<TOptions> {
|
|
713
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_PropertiesContext_1: never;
|
|
714
|
+
|
|
631
715
|
Properties: AuthenticationProperties;
|
|
632
716
|
}
|
|
633
717
|
|
|
@@ -639,6 +723,10 @@ export const PropertiesContext_1: (abstract new<TOptions extends AuthenticationS
|
|
|
639
723
|
export type PropertiesContext_1<TOptions extends AuthenticationSchemeOptions> = PropertiesContext_1$instance<TOptions>;
|
|
640
724
|
|
|
641
725
|
export interface PropertiesDataFormat$instance extends SecureDataFormat_1$instance<AuthenticationProperties> {
|
|
726
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_PropertiesDataFormat: never;
|
|
727
|
+
|
|
728
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_ISecureDataFormat_1: never;
|
|
729
|
+
|
|
642
730
|
Protect(data: AuthenticationProperties): string;
|
|
643
731
|
Protect(data: AuthenticationProperties, purpose: string): string;
|
|
644
732
|
Unprotect(protectedText: string): AuthenticationProperties;
|
|
@@ -659,6 +747,10 @@ export type PropertiesDataFormat = PropertiesDataFormat$instance & __PropertiesD
|
|
|
659
747
|
|
|
660
748
|
|
|
661
749
|
export interface PropertiesSerializer$instance {
|
|
750
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_PropertiesSerializer: never;
|
|
751
|
+
|
|
752
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IDataSerializer_1: never;
|
|
753
|
+
|
|
662
754
|
Deserialize(data: byte[]): AuthenticationProperties | undefined;
|
|
663
755
|
Read(reader: BinaryReader): AuthenticationProperties | undefined;
|
|
664
756
|
Serialize(model: AuthenticationProperties): byte[];
|
|
@@ -680,6 +772,8 @@ export type PropertiesSerializer = PropertiesSerializer$instance & __PropertiesS
|
|
|
680
772
|
|
|
681
773
|
|
|
682
774
|
export interface RedirectContext_1$instance<TOptions extends AuthenticationSchemeOptions> extends PropertiesContext_1<TOptions> {
|
|
775
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_RedirectContext_1: never;
|
|
776
|
+
|
|
683
777
|
RedirectUri: string;
|
|
684
778
|
}
|
|
685
779
|
|
|
@@ -692,6 +786,8 @@ export const RedirectContext_1: {
|
|
|
692
786
|
export type RedirectContext_1<TOptions extends AuthenticationSchemeOptions> = RedirectContext_1$instance<TOptions>;
|
|
693
787
|
|
|
694
788
|
export interface RemoteAuthenticationContext_1$instance<TOptions extends AuthenticationSchemeOptions> extends HandleRequestContext_1<TOptions> {
|
|
789
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_RemoteAuthenticationContext_1: never;
|
|
790
|
+
|
|
695
791
|
get Principal(): ClaimsPrincipal | undefined;
|
|
696
792
|
set Principal(value: ClaimsPrincipal | undefined);
|
|
697
793
|
get Properties(): AuthenticationProperties | undefined;
|
|
@@ -709,9 +805,11 @@ export const RemoteAuthenticationContext_1: (abstract new<TOptions extends Authe
|
|
|
709
805
|
export type RemoteAuthenticationContext_1<TOptions extends AuthenticationSchemeOptions> = RemoteAuthenticationContext_1$instance<TOptions>;
|
|
710
806
|
|
|
711
807
|
export interface RemoteAuthenticationEvents$instance {
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
808
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_RemoteAuthenticationEvents: never;
|
|
809
|
+
|
|
810
|
+
OnAccessDenied: Func_2<AccessDeniedContext, Task>;
|
|
811
|
+
OnRemoteFailure: Func_2<RemoteFailureContext, Task>;
|
|
812
|
+
OnTicketReceived: Func_2<TicketReceivedContext, Task>;
|
|
715
813
|
AccessDenied(context: AccessDeniedContext): Task;
|
|
716
814
|
RemoteFailure(context: RemoteFailureContext): Task;
|
|
717
815
|
TicketReceived(context: TicketReceivedContext): Task;
|
|
@@ -726,24 +824,29 @@ export const RemoteAuthenticationEvents: {
|
|
|
726
824
|
export type RemoteAuthenticationEvents = RemoteAuthenticationEvents$instance;
|
|
727
825
|
|
|
728
826
|
export interface RemoteAuthenticationHandler_1$instance<TOptions extends RemoteAuthenticationOptions> extends AuthenticationHandler_1$instance<TOptions>, IAuthenticationRequestHandler {
|
|
729
|
-
|
|
827
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_RemoteAuthenticationHandler_1: never;
|
|
828
|
+
|
|
829
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
830
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationRequestHandler: never;
|
|
831
|
+
|
|
832
|
+
AuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
730
833
|
ChallengeAsync(properties: AuthenticationProperties): Task;
|
|
731
|
-
CreateEventsAsync():
|
|
732
|
-
CreateEventsAsync():
|
|
834
|
+
CreateEventsAsync(): Task_1<unknown>;
|
|
835
|
+
CreateEventsAsync(): Task_1<unknown>;
|
|
733
836
|
GenerateCorrelationId(properties: AuthenticationProperties): void;
|
|
734
|
-
HandleAccessDeniedErrorAsync(properties: AuthenticationProperties):
|
|
735
|
-
HandleAuthenticateAsync():
|
|
736
|
-
HandleAuthenticateAsync():
|
|
837
|
+
HandleAccessDeniedErrorAsync(properties: AuthenticationProperties): Task_1<HandleRequestResult>;
|
|
838
|
+
HandleAuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
839
|
+
HandleAuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
737
840
|
HandleForbiddenAsync(properties: AuthenticationProperties): Task;
|
|
738
|
-
HandleRemoteAuthenticateAsync():
|
|
739
|
-
HandleRequestAsync():
|
|
841
|
+
HandleRemoteAuthenticateAsync(): Task_1<HandleRequestResult>;
|
|
842
|
+
HandleRequestAsync(): Task_1<System_Internal.Boolean>;
|
|
740
843
|
InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
|
|
741
|
-
ShouldHandleRequestAsync():
|
|
844
|
+
ShouldHandleRequestAsync(): Task_1<System_Internal.Boolean>;
|
|
742
845
|
ValidateCorrelationId(properties: AuthenticationProperties): boolean;
|
|
743
846
|
}
|
|
744
847
|
|
|
745
848
|
|
|
746
|
-
export const RemoteAuthenticationHandler_1: (abstract new<TOptions extends RemoteAuthenticationOptions>(options:
|
|
849
|
+
export const RemoteAuthenticationHandler_1: (abstract new<TOptions extends RemoteAuthenticationOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder, clock: ISystemClock) => RemoteAuthenticationHandler_1<TOptions>) & (abstract new<TOptions extends RemoteAuthenticationOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder) => RemoteAuthenticationHandler_1<TOptions>) & {
|
|
747
850
|
};
|
|
748
851
|
|
|
749
852
|
|
|
@@ -755,6 +858,8 @@ export type RemoteAuthenticationHandler_1<TOptions extends RemoteAuthenticationO
|
|
|
755
858
|
|
|
756
859
|
|
|
757
860
|
export interface RemoteAuthenticationOptions$instance extends AuthenticationSchemeOptions {
|
|
861
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_RemoteAuthenticationOptions: never;
|
|
862
|
+
|
|
758
863
|
AccessDeniedPath: PathString;
|
|
759
864
|
Backchannel: HttpClient;
|
|
760
865
|
get BackchannelHttpHandler(): HttpMessageHandler | undefined;
|
|
@@ -783,6 +888,8 @@ export const RemoteAuthenticationOptions: {
|
|
|
783
888
|
export type RemoteAuthenticationOptions = RemoteAuthenticationOptions$instance;
|
|
784
889
|
|
|
785
890
|
export interface RemoteFailureContext$instance extends HandleRequestContext_1<RemoteAuthenticationOptions> {
|
|
891
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_RemoteFailureContext: never;
|
|
892
|
+
|
|
786
893
|
get Failure(): Exception | undefined;
|
|
787
894
|
set Failure(value: Exception | undefined);
|
|
788
895
|
get Properties(): AuthenticationProperties | undefined;
|
|
@@ -798,6 +905,8 @@ export const RemoteFailureContext: {
|
|
|
798
905
|
export type RemoteFailureContext = RemoteFailureContext$instance;
|
|
799
906
|
|
|
800
907
|
export interface RequestPathBaseCookieBuilder$instance extends CookieBuilder {
|
|
908
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_RequestPathBaseCookieBuilder: never;
|
|
909
|
+
|
|
801
910
|
readonly AdditionalPath: string | undefined;
|
|
802
911
|
Build(context: HttpContext, expiresFrom: DateTimeOffset): CookieOptions;
|
|
803
912
|
Build(context: HttpContext): CookieOptions;
|
|
@@ -812,6 +921,8 @@ export const RequestPathBaseCookieBuilder: {
|
|
|
812
921
|
export type RequestPathBaseCookieBuilder = RequestPathBaseCookieBuilder$instance;
|
|
813
922
|
|
|
814
923
|
export interface ResultContext_1$instance<TOptions extends AuthenticationSchemeOptions> extends BaseContext_1<TOptions> {
|
|
924
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_ResultContext_1: never;
|
|
925
|
+
|
|
815
926
|
get Principal(): ClaimsPrincipal | undefined;
|
|
816
927
|
set Principal(value: ClaimsPrincipal | undefined);
|
|
817
928
|
Properties: AuthenticationProperties;
|
|
@@ -831,6 +942,10 @@ export const ResultContext_1: (abstract new<TOptions extends AuthenticationSchem
|
|
|
831
942
|
export type ResultContext_1<TOptions extends AuthenticationSchemeOptions> = ResultContext_1$instance<TOptions>;
|
|
832
943
|
|
|
833
944
|
export interface SecureDataFormat_1$instance<TData> {
|
|
945
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_SecureDataFormat_1: never;
|
|
946
|
+
|
|
947
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_ISecureDataFormat_1: never;
|
|
948
|
+
|
|
834
949
|
Protect(data: TData): string;
|
|
835
950
|
Protect(data: TData, purpose: string): string;
|
|
836
951
|
Unprotect(protectedText: string): TData | undefined;
|
|
@@ -851,7 +966,13 @@ export type SecureDataFormat_1<TData> = SecureDataFormat_1$instance<TData> & __S
|
|
|
851
966
|
|
|
852
967
|
|
|
853
968
|
export interface SignInAuthenticationHandler_1$instance<TOptions extends AuthenticationSchemeOptions> extends SignOutAuthenticationHandler_1$instance<TOptions>, IAuthenticationSignOutHandler {
|
|
854
|
-
|
|
969
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_SignInAuthenticationHandler_1: never;
|
|
970
|
+
|
|
971
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
972
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignInHandler: never;
|
|
973
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignOutHandler: never;
|
|
974
|
+
|
|
975
|
+
AuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
855
976
|
ChallengeAsync(properties: AuthenticationProperties): Task;
|
|
856
977
|
HandleSignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties): Task;
|
|
857
978
|
InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
|
|
@@ -860,7 +981,7 @@ export interface SignInAuthenticationHandler_1$instance<TOptions extends Authent
|
|
|
860
981
|
}
|
|
861
982
|
|
|
862
983
|
|
|
863
|
-
export const SignInAuthenticationHandler_1: (abstract new<TOptions extends AuthenticationSchemeOptions>(options:
|
|
984
|
+
export const SignInAuthenticationHandler_1: (abstract new<TOptions extends AuthenticationSchemeOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder, clock: ISystemClock) => SignInAuthenticationHandler_1<TOptions>) & (abstract new<TOptions extends AuthenticationSchemeOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder) => SignInAuthenticationHandler_1<TOptions>) & {
|
|
864
985
|
};
|
|
865
986
|
|
|
866
987
|
|
|
@@ -873,7 +994,12 @@ export type SignInAuthenticationHandler_1<TOptions extends AuthenticationSchemeO
|
|
|
873
994
|
|
|
874
995
|
|
|
875
996
|
export interface SignOutAuthenticationHandler_1$instance<TOptions extends AuthenticationSchemeOptions> extends AuthenticationHandler_1$instance<TOptions>, IAuthenticationSignOutHandler {
|
|
876
|
-
|
|
997
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_SignOutAuthenticationHandler_1: never;
|
|
998
|
+
|
|
999
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
1000
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignOutHandler: never;
|
|
1001
|
+
|
|
1002
|
+
AuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
877
1003
|
ChallengeAsync(properties: AuthenticationProperties): Task;
|
|
878
1004
|
HandleSignOutAsync(properties: AuthenticationProperties): Task;
|
|
879
1005
|
InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
|
|
@@ -881,7 +1007,7 @@ export interface SignOutAuthenticationHandler_1$instance<TOptions extends Authen
|
|
|
881
1007
|
}
|
|
882
1008
|
|
|
883
1009
|
|
|
884
|
-
export const SignOutAuthenticationHandler_1: (abstract new<TOptions extends AuthenticationSchemeOptions>(options:
|
|
1010
|
+
export const SignOutAuthenticationHandler_1: (abstract new<TOptions extends AuthenticationSchemeOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder, clock: ISystemClock) => SignOutAuthenticationHandler_1<TOptions>) & (abstract new<TOptions extends AuthenticationSchemeOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder) => SignOutAuthenticationHandler_1<TOptions>) & {
|
|
885
1011
|
};
|
|
886
1012
|
|
|
887
1013
|
|
|
@@ -892,7 +1018,11 @@ export interface __SignOutAuthenticationHandler_1$views<TOptions extends Authent
|
|
|
892
1018
|
export type SignOutAuthenticationHandler_1<TOptions extends AuthenticationSchemeOptions> = SignOutAuthenticationHandler_1$instance<TOptions> & __SignOutAuthenticationHandler_1$views<TOptions>;
|
|
893
1019
|
|
|
894
1020
|
|
|
895
|
-
export interface SystemClock$instance {
|
|
1021
|
+
export interface SystemClock$instance extends ISystemClock$instance {
|
|
1022
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_SystemClock: never;
|
|
1023
|
+
|
|
1024
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_ISystemClock: never;
|
|
1025
|
+
|
|
896
1026
|
readonly UtcNow: DateTimeOffset;
|
|
897
1027
|
}
|
|
898
1028
|
|
|
@@ -906,12 +1036,14 @@ export interface __SystemClock$views {
|
|
|
906
1036
|
As_ISystemClock(): ISystemClock$instance;
|
|
907
1037
|
}
|
|
908
1038
|
|
|
909
|
-
export interface SystemClock$instance extends ISystemClock$instance {}
|
|
910
|
-
|
|
911
1039
|
export type SystemClock = SystemClock$instance & __SystemClock$views;
|
|
912
1040
|
|
|
913
1041
|
|
|
914
1042
|
export interface TicketDataFormat$instance extends SecureDataFormat_1$instance<AuthenticationTicket> {
|
|
1043
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_TicketDataFormat: never;
|
|
1044
|
+
|
|
1045
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_ISecureDataFormat_1: never;
|
|
1046
|
+
|
|
915
1047
|
Protect(data: AuthenticationTicket): string;
|
|
916
1048
|
Protect(data: AuthenticationTicket, purpose: string): string;
|
|
917
1049
|
Unprotect(protectedText: string): AuthenticationTicket;
|
|
@@ -932,6 +1064,8 @@ export type TicketDataFormat = TicketDataFormat$instance & __TicketDataFormat$vi
|
|
|
932
1064
|
|
|
933
1065
|
|
|
934
1066
|
export interface TicketReceivedContext$instance extends RemoteAuthenticationContext_1<RemoteAuthenticationOptions> {
|
|
1067
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_TicketReceivedContext: never;
|
|
1068
|
+
|
|
935
1069
|
get ReturnUri(): string | undefined;
|
|
936
1070
|
set ReturnUri(value: string | undefined);
|
|
937
1071
|
}
|
|
@@ -945,6 +1079,10 @@ export const TicketReceivedContext: {
|
|
|
945
1079
|
export type TicketReceivedContext = TicketReceivedContext$instance;
|
|
946
1080
|
|
|
947
1081
|
export interface TicketSerializer$instance {
|
|
1082
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_TicketSerializer: never;
|
|
1083
|
+
|
|
1084
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IDataSerializer_1: never;
|
|
1085
|
+
|
|
948
1086
|
Deserialize(data: byte[]): AuthenticationTicket | undefined;
|
|
949
1087
|
Read(reader: BinaryReader): AuthenticationTicket | undefined;
|
|
950
1088
|
ReadClaim(reader: BinaryReader, identity: ClaimsIdentity): Claim;
|
|
@@ -977,8 +1115,8 @@ export abstract class AuthenticationConfigurationProviderExtensions$instance {
|
|
|
977
1115
|
export type AuthenticationConfigurationProviderExtensions = AuthenticationConfigurationProviderExtensions$instance;
|
|
978
1116
|
|
|
979
1117
|
export abstract class AuthenticationHttpContextExtensions$instance {
|
|
980
|
-
static AuthenticateAsync(context: HttpContext, scheme: string):
|
|
981
|
-
static AuthenticateAsync(context: HttpContext):
|
|
1118
|
+
static AuthenticateAsync(context: HttpContext, scheme: string): Task_1<AuthenticateResult>;
|
|
1119
|
+
static AuthenticateAsync(context: HttpContext): Task_1<AuthenticateResult>;
|
|
982
1120
|
static ChallengeAsync(context: HttpContext, properties: AuthenticationProperties): Task;
|
|
983
1121
|
static ChallengeAsync(context: HttpContext, scheme: string, properties: AuthenticationProperties): Task;
|
|
984
1122
|
static ChallengeAsync(context: HttpContext, scheme: string): Task;
|
|
@@ -987,8 +1125,8 @@ export abstract class AuthenticationHttpContextExtensions$instance {
|
|
|
987
1125
|
static ForbidAsync(context: HttpContext, scheme: string, properties: AuthenticationProperties): Task;
|
|
988
1126
|
static ForbidAsync(context: HttpContext, scheme: string): Task;
|
|
989
1127
|
static ForbidAsync(context: HttpContext): Task;
|
|
990
|
-
static GetTokenAsync(context: HttpContext, scheme: string, tokenName: string):
|
|
991
|
-
static GetTokenAsync(context: HttpContext, tokenName: string):
|
|
1128
|
+
static GetTokenAsync(context: HttpContext, scheme: string, tokenName: string): Task_1<string | undefined>;
|
|
1129
|
+
static GetTokenAsync(context: HttpContext, tokenName: string): Task_1<string | undefined>;
|
|
992
1130
|
static SignInAsync(context: HttpContext, principal: ClaimsPrincipal, properties: AuthenticationProperties): Task;
|
|
993
1131
|
static SignInAsync(context: HttpContext, principal: ClaimsPrincipal): Task;
|
|
994
1132
|
static SignInAsync(context: HttpContext, scheme: string, principal: ClaimsPrincipal, properties: AuthenticationProperties): Task;
|
|
@@ -1003,11 +1141,11 @@ export abstract class AuthenticationHttpContextExtensions$instance {
|
|
|
1003
1141
|
export type AuthenticationHttpContextExtensions = AuthenticationHttpContextExtensions$instance;
|
|
1004
1142
|
|
|
1005
1143
|
export abstract class AuthenticationTokenExtensions$instance {
|
|
1006
|
-
static GetTokenAsync(auth: IAuthenticationService, context: HttpContext, scheme: string, tokenName: string):
|
|
1007
|
-
static GetTokenAsync(auth: IAuthenticationService, context: HttpContext, tokenName: string):
|
|
1008
|
-
static GetTokens(properties: AuthenticationProperties):
|
|
1144
|
+
static GetTokenAsync(auth: IAuthenticationService, context: HttpContext, scheme: string, tokenName: string): Task_1<string | undefined>;
|
|
1145
|
+
static GetTokenAsync(auth: IAuthenticationService, context: HttpContext, tokenName: string): Task_1<string | undefined>;
|
|
1146
|
+
static GetTokens(properties: AuthenticationProperties): IEnumerable_1<AuthenticationToken>;
|
|
1009
1147
|
static GetTokenValue(properties: AuthenticationProperties, tokenName: string): string | undefined;
|
|
1010
|
-
static StoreTokens(properties: AuthenticationProperties, tokens:
|
|
1148
|
+
static StoreTokens(properties: AuthenticationProperties, tokens: IEnumerable_1<AuthenticationToken>): void;
|
|
1011
1149
|
static UpdateTokenValue(properties: AuthenticationProperties, tokenName: string, tokenValue: string): boolean;
|
|
1012
1150
|
}
|
|
1013
1151
|
|
|
@@ -1027,8 +1165,8 @@ export abstract class ClaimActionCollectionMapExtensions$instance {
|
|
|
1027
1165
|
static DeleteClaims(collection: ClaimActionCollection, ...claimTypes: string[]): void;
|
|
1028
1166
|
static MapAll(collection: ClaimActionCollection): void;
|
|
1029
1167
|
static MapAllExcept(collection: ClaimActionCollection, ...exclusions: string[]): void;
|
|
1030
|
-
static MapCustomJson(collection: ClaimActionCollection, claimType: string, resolver:
|
|
1031
|
-
static MapCustomJson(collection: ClaimActionCollection, claimType: string, valueType: string, resolver:
|
|
1168
|
+
static MapCustomJson(collection: ClaimActionCollection, claimType: string, resolver: Func_2<JsonElement, System_Internal.String>): void;
|
|
1169
|
+
static MapCustomJson(collection: ClaimActionCollection, claimType: string, valueType: string, resolver: Func_2<JsonElement, System_Internal.String>): void;
|
|
1032
1170
|
static MapJsonKey(collection: ClaimActionCollection, claimType: string, jsonKey: string, valueType: string): void;
|
|
1033
1171
|
static MapJsonKey(collection: ClaimActionCollection, claimType: string, jsonKey: string): void;
|
|
1034
1172
|
static MapJsonSubKey(collection: ClaimActionCollection, claimType: string, jsonKey: string, subKey: string, valueType: string): void;
|