@tsonic/aspnetcore 10.0.5 → 10.0.7
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 +15 -9
- package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +182 -112
- package/Microsoft.AspNetCore.Authentication.BearerToken/internal/index.d.ts +13 -5
- package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +52 -34
- package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +42 -28
- package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +25 -11
- package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +97 -75
- package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +33 -31
- package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +15 -13
- package/Microsoft.AspNetCore.Builder/internal/index.d.ts +183 -139
- package/Microsoft.AspNetCore.Builder.Extensions/internal/index.d.ts +15 -5
- package/Microsoft.AspNetCore.Components/internal/index.d.ts +288 -191
- package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +29 -17
- package/Microsoft.AspNetCore.Components.CompilerServices/internal/index.d.ts +8 -8
- package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +11 -5
- package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +131 -105
- package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +13 -9
- package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +7 -5
- package/Microsoft.AspNetCore.Components.Infrastructure/internal/index.d.ts +9 -7
- package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +36 -15
- package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +12 -8
- package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +30 -22
- package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +9 -9
- package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +26 -22
- 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 +75 -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 +1 -1
- package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +21 -15
- package/Microsoft.AspNetCore.Connections/internal/index.d.ts +77 -49
- package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +4 -4
- package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +20 -20
- package/Microsoft.AspNetCore.CookiePolicy/internal/index.d.ts +13 -7
- package/Microsoft.AspNetCore.Cors/internal/index.d.ts +10 -8
- package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +39 -29
- package/Microsoft.AspNetCore.Cryptography.KeyDerivation/internal/index.d.ts +2 -2
- package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +24 -20
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +16 -16
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +39 -27
- package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +1 -1
- package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +1 -1
- package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +21 -19
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +9 -5
- package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +19 -15
- package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +34 -32
- package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +43 -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 +57 -47
- package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +5 -5
- package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +6 -6
- package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +8 -8
- package/Microsoft.AspNetCore.Hosting.StaticWebAssets/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Html/internal/index.d.ts +15 -13
- package/Microsoft.AspNetCore.Http/internal/index.d.ts +287 -223
- package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +32 -16
- package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +18 -16
- package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +98 -91
- package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +6 -6
- package/Microsoft.AspNetCore.Http.Headers/internal/index.d.ts +31 -27
- package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +175 -173
- package/Microsoft.AspNetCore.Http.Json/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +28 -26
- package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +16 -8
- package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +21 -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 +573 -458
- package/Microsoft.AspNetCore.Identity.Data/internal/index.d.ts +23 -3
- package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +6 -6
- package/Microsoft.AspNetCore.Localization/internal/index.d.ts +41 -27
- package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +377 -205
- package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +21 -13
- package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +23 -13
- package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +54 -30
- package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +147 -125
- package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +45 -25
- package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +12 -10
- package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +33 -25
- package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +1 -1
- package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +7 -7
- package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +26 -18
- package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +172 -119
- package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +76 -44
- package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +121 -89
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +44 -36
- package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +103 -77
- package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +27 -25
- package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +214 -140
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +136 -128
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +127 -105
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +71 -43
- package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +70 -56
- package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +15 -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 +25 -19
- package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +60 -42
- package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +49 -37
- package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +107 -95
- package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +35 -25
- package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +88 -72
- package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +27 -23
- package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +59 -49
- package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +15 -11
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +193 -152
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure/internal/index.d.ts +7 -5
- package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +36 -26
- package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +20 -12
- package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +24 -10
- package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers/internal/index.d.ts +17 -11
- package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +61 -35
- package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +7 -5
- package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +14 -10
- package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +41 -29
- package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +18 -12
- package/Microsoft.AspNetCore.Routing/internal/index.d.ts +189 -135
- package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +79 -79
- package/Microsoft.AspNetCore.Routing.Internal/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +42 -27
- package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +38 -20
- package/Microsoft.AspNetCore.Routing.Template/internal/index.d.ts +25 -9
- package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +27 -13
- package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +32 -18
- package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +8 -4
- package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +15 -11
- package/Microsoft.AspNetCore.Server.Kestrel/internal/index.d.ts +16 -12
- package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +48 -36
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +3 -3
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +14 -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 +24 -18
- package/Microsoft.AspNetCore.Session/internal/index.d.ts +24 -22
- package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +140 -93
- package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +59 -25
- package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +19 -11
- package/Microsoft.AspNetCore.StaticAssets.Infrastructure/internal/index.d.ts +4 -4
- package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +30 -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.WebUtilities/internal/index.d.ts +103 -73
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +125 -123
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +10 -8
- package/Microsoft.JSInterop/internal/index.d.ts +65 -53
- package/Microsoft.JSInterop.Implementation/internal/index.d.ts +28 -26
- package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +8 -2
- package/Microsoft.Net.Http.Headers/internal/index.d.ts +88 -60
- package/System.Formats.Cbor/internal/index.d.ts +27 -21
- package/System.Security.Claims/internal/index.d.ts +3 -3
- package/System.Threading.RateLimiting/internal/index.d.ts +59 -29
- package/__internal/extensions/index.d.ts +1648 -1351
- package/package.json +4 -4
|
@@ -9,12 +9,14 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
9
9
|
import * as Microsoft_AspNetCore_Authentication_Internal from "../../Microsoft.AspNetCore.Authentication/internal/index.js";
|
|
10
10
|
import type { AuthenticateResult, AuthenticationProperties, AuthenticationScheme, AuthenticationSchemeOptions, AuthenticationTicket, ISecureDataFormat_1, ResultContext_1 } from "../../Microsoft.AspNetCore.Authentication/internal/index.js";
|
|
11
11
|
import type { HttpContext, HttpRequest, HttpResponse } from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
12
|
-
import
|
|
13
|
-
import type {
|
|
14
|
-
import
|
|
15
|
-
import type {
|
|
12
|
+
import type { ClaimsPrincipal } from "@tsonic/dotnet/System.Security.Claims/internal/index.js";
|
|
13
|
+
import type { Task } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
14
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
15
|
+
import type { Exception, Func_2, Int64, Object as ClrObject, String as ClrString, TimeProvider, TimeSpan, Type, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
16
16
|
|
|
17
17
|
export interface AccessTokenResponse$instance {
|
|
18
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_BearerToken_AccessTokenResponse: never;
|
|
19
|
+
|
|
18
20
|
AccessToken: string;
|
|
19
21
|
ExpiresIn: long;
|
|
20
22
|
RefreshToken: string;
|
|
@@ -30,7 +32,9 @@ export const AccessTokenResponse: {
|
|
|
30
32
|
export type AccessTokenResponse = AccessTokenResponse$instance;
|
|
31
33
|
|
|
32
34
|
export interface BearerTokenEvents$instance {
|
|
33
|
-
|
|
35
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_BearerToken_BearerTokenEvents: never;
|
|
36
|
+
|
|
37
|
+
OnMessageReceived: Func_2<MessageReceivedContext, Task>;
|
|
34
38
|
MessageReceivedAsync(context: MessageReceivedContext): Task;
|
|
35
39
|
}
|
|
36
40
|
|
|
@@ -43,6 +47,8 @@ export const BearerTokenEvents: {
|
|
|
43
47
|
export type BearerTokenEvents = BearerTokenEvents$instance;
|
|
44
48
|
|
|
45
49
|
export interface BearerTokenOptions$instance extends AuthenticationSchemeOptions {
|
|
50
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_BearerToken_BearerTokenOptions: never;
|
|
51
|
+
|
|
46
52
|
BearerTokenExpiration: TimeSpan;
|
|
47
53
|
BearerTokenProtector: ISecureDataFormat_1<AuthenticationTicket>;
|
|
48
54
|
Events: BearerTokenEvents | unknown;
|
|
@@ -59,6 +65,8 @@ export const BearerTokenOptions: {
|
|
|
59
65
|
export type BearerTokenOptions = BearerTokenOptions$instance;
|
|
60
66
|
|
|
61
67
|
export interface MessageReceivedContext$instance extends ResultContext_1<BearerTokenOptions> {
|
|
68
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_BearerToken_MessageReceivedContext: never;
|
|
69
|
+
|
|
62
70
|
get Token(): string | undefined;
|
|
63
71
|
set Token(value: string | undefined);
|
|
64
72
|
}
|
|
@@ -10,15 +10,15 @@ import * as Microsoft_AspNetCore_Authentication_Internal from "../../Microsoft.A
|
|
|
10
10
|
import type { AuthenticateResult, AuthenticationProperties, AuthenticationScheme, AuthenticationSchemeOptions, AuthenticationTicket, IAuthenticationHandler, IAuthenticationSignInHandler, IAuthenticationSignOutHandler, ISecureDataFormat_1, ISystemClock, PrincipalContext_1, PropertiesContext_1, RedirectContext_1, SignInAuthenticationHandler_1 } from "../../Microsoft.AspNetCore.Authentication/internal/index.js";
|
|
11
11
|
import type { IDataProtectionProvider } from "../../Microsoft.AspNetCore.DataProtection/internal/index.js";
|
|
12
12
|
import type { CookieBuilder, CookieOptions, HttpContext, HttpRequest, HttpResponse, PathString } from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
13
|
-
import
|
|
14
|
-
import type {
|
|
15
|
-
import type {
|
|
16
|
-
import type {
|
|
17
|
-
import
|
|
18
|
-
import type {
|
|
19
|
-
import type { ILogger, ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging.js";
|
|
20
|
-
import * as Microsoft_Extensions_Options_Internal from "@tsonic/microsoft-extensions/Microsoft.Extensions.Options.js";
|
|
21
|
-
import type {
|
|
13
|
+
import type { ClaimsPrincipal } from "@tsonic/dotnet/System.Security.Claims/internal/index.js";
|
|
14
|
+
import type { UrlEncoder } from "@tsonic/dotnet/System.Text.Encodings.Web/internal/index.js";
|
|
15
|
+
import type { Task, Task_1 } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
16
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
17
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
18
|
+
import type { Boolean as ClrBoolean, Func_2, Int32, Nullable_1, Object as ClrObject, String as ClrString, TimeProvider, TimeSpan, Type, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
19
|
+
import type { ILogger, ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging/internal/index.js";
|
|
20
|
+
import * as Microsoft_Extensions_Options_Internal from "@tsonic/microsoft-extensions/Microsoft.Extensions.Options/internal/index.js";
|
|
21
|
+
import type { IOptionsMonitor_1, IPostConfigureOptions_1 } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Options/internal/index.js";
|
|
22
22
|
|
|
23
23
|
export interface ICookieManager$instance {
|
|
24
24
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_Cookies_ICookieManager: never;
|
|
@@ -40,21 +40,23 @@ export interface ITicketStore$instance {
|
|
|
40
40
|
RenewAsync(key: string, ticket: AuthenticationTicket, httpContext: HttpContext, cancellationToken: CancellationToken): Task;
|
|
41
41
|
RenewAsync(key: string, ticket: AuthenticationTicket, cancellationToken: CancellationToken): Task;
|
|
42
42
|
RenewAsync(key: string, ticket: AuthenticationTicket): Task;
|
|
43
|
-
RetrieveAsync(key: string, httpContext: HttpContext, cancellationToken: CancellationToken):
|
|
44
|
-
RetrieveAsync(key: string, cancellationToken: CancellationToken):
|
|
45
|
-
RetrieveAsync(key: string):
|
|
46
|
-
StoreAsync(ticket: AuthenticationTicket, httpContext: HttpContext, cancellationToken: CancellationToken):
|
|
47
|
-
StoreAsync(ticket: AuthenticationTicket, cancellationToken: CancellationToken):
|
|
48
|
-
StoreAsync(ticket: AuthenticationTicket):
|
|
43
|
+
RetrieveAsync(key: string, httpContext: HttpContext, cancellationToken: CancellationToken): Task_1<AuthenticationTicket | undefined>;
|
|
44
|
+
RetrieveAsync(key: string, cancellationToken: CancellationToken): Task_1<AuthenticationTicket | undefined>;
|
|
45
|
+
RetrieveAsync(key: string): Task_1<AuthenticationTicket | undefined>;
|
|
46
|
+
StoreAsync(ticket: AuthenticationTicket, httpContext: HttpContext, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
47
|
+
StoreAsync(ticket: AuthenticationTicket, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
48
|
+
StoreAsync(ticket: AuthenticationTicket): Task_1<System_Internal.String>;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
export type ITicketStore = ITicketStore$instance;
|
|
53
53
|
|
|
54
|
-
export interface ChunkingCookieManager$instance {
|
|
54
|
+
export interface ChunkingCookieManager$instance extends ICookieManager$instance {
|
|
55
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_Cookies_ChunkingCookieManager: never;
|
|
56
|
+
|
|
55
57
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_Cookies_ICookieManager: never;
|
|
56
58
|
|
|
57
|
-
ChunkSize:
|
|
59
|
+
ChunkSize: Nullable_1<System_Internal.Int32>;
|
|
58
60
|
ThrowForPartialCookies: boolean;
|
|
59
61
|
AppendResponseCookie(context: HttpContext, key: string, value: string, options: CookieOptions): void;
|
|
60
62
|
DeleteCookie(context: HttpContext, key: string, options: CookieOptions): void;
|
|
@@ -72,21 +74,21 @@ export interface __ChunkingCookieManager$views {
|
|
|
72
74
|
As_ICookieManager(): ICookieManager$instance;
|
|
73
75
|
}
|
|
74
76
|
|
|
75
|
-
export interface ChunkingCookieManager$instance extends ICookieManager$instance {}
|
|
76
|
-
|
|
77
77
|
export type ChunkingCookieManager = ChunkingCookieManager$instance & __ChunkingCookieManager$views;
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
export interface CookieAuthenticationEvents$instance {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
81
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_Cookies_CookieAuthenticationEvents: never;
|
|
82
|
+
|
|
83
|
+
OnCheckSlidingExpiration: Func_2<CookieSlidingExpirationContext, Task>;
|
|
84
|
+
OnRedirectToAccessDenied: Func_2<RedirectContext_1<CookieAuthenticationOptions>, Task>;
|
|
85
|
+
OnRedirectToLogin: Func_2<RedirectContext_1<CookieAuthenticationOptions>, Task>;
|
|
86
|
+
OnRedirectToLogout: Func_2<RedirectContext_1<CookieAuthenticationOptions>, Task>;
|
|
87
|
+
OnRedirectToReturnUrl: Func_2<RedirectContext_1<CookieAuthenticationOptions>, Task>;
|
|
88
|
+
OnSignedIn: Func_2<CookieSignedInContext, Task>;
|
|
89
|
+
OnSigningIn: Func_2<CookieSigningInContext, Task>;
|
|
90
|
+
OnSigningOut: Func_2<CookieSigningOutContext, Task>;
|
|
91
|
+
OnValidatePrincipal: Func_2<CookieValidatePrincipalContext, Task>;
|
|
90
92
|
CheckSlidingExpiration(context: CookieSlidingExpirationContext): Task;
|
|
91
93
|
RedirectToAccessDenied(context: RedirectContext_1<CookieAuthenticationOptions>): Task;
|
|
92
94
|
RedirectToLogin(context: RedirectContext_1<CookieAuthenticationOptions>): Task;
|
|
@@ -107,16 +109,18 @@ export const CookieAuthenticationEvents: {
|
|
|
107
109
|
export type CookieAuthenticationEvents = CookieAuthenticationEvents$instance;
|
|
108
110
|
|
|
109
111
|
export interface CookieAuthenticationHandler$instance extends SignInAuthenticationHandler_1<CookieAuthenticationOptions>, IAuthenticationSignOutHandler {
|
|
112
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_Cookies_CookieAuthenticationHandler: never;
|
|
113
|
+
|
|
110
114
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
111
115
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignInHandler: never;
|
|
112
116
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationSignOutHandler: never;
|
|
113
117
|
|
|
114
|
-
AuthenticateAsync():
|
|
118
|
+
AuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
115
119
|
ChallengeAsync(properties: AuthenticationProperties): Task;
|
|
116
|
-
CreateEventsAsync():
|
|
117
|
-
CreateEventsAsync():
|
|
120
|
+
CreateEventsAsync(): Task_1<unknown>;
|
|
121
|
+
CreateEventsAsync(): Task_1<unknown>;
|
|
118
122
|
FinishResponseAsync(): Task;
|
|
119
|
-
HandleAuthenticateAsync():
|
|
123
|
+
HandleAuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
120
124
|
HandleChallengeAsync(properties: AuthenticationProperties): Task;
|
|
121
125
|
HandleForbiddenAsync(properties: AuthenticationProperties): Task;
|
|
122
126
|
HandleSignInAsync(user: ClaimsPrincipal, properties: AuthenticationProperties): Task;
|
|
@@ -129,8 +133,8 @@ export interface CookieAuthenticationHandler$instance extends SignInAuthenticati
|
|
|
129
133
|
|
|
130
134
|
|
|
131
135
|
export const CookieAuthenticationHandler: {
|
|
132
|
-
new(options:
|
|
133
|
-
new(options:
|
|
136
|
+
new(options: IOptionsMonitor_1<CookieAuthenticationOptions>, logger: ILoggerFactory, encoder: UrlEncoder, clock: ISystemClock): CookieAuthenticationHandler;
|
|
137
|
+
new(options: IOptionsMonitor_1<CookieAuthenticationOptions>, logger: ILoggerFactory, encoder: UrlEncoder): CookieAuthenticationHandler;
|
|
134
138
|
};
|
|
135
139
|
|
|
136
140
|
|
|
@@ -143,6 +147,8 @@ export type CookieAuthenticationHandler = CookieAuthenticationHandler$instance &
|
|
|
143
147
|
|
|
144
148
|
|
|
145
149
|
export interface CookieAuthenticationOptions$instance extends AuthenticationSchemeOptions {
|
|
150
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_Cookies_CookieAuthenticationOptions: never;
|
|
151
|
+
|
|
146
152
|
AccessDeniedPath: PathString;
|
|
147
153
|
Cookie: CookieBuilder;
|
|
148
154
|
CookieManager: ICookieManager;
|
|
@@ -168,6 +174,8 @@ export const CookieAuthenticationOptions: {
|
|
|
168
174
|
export type CookieAuthenticationOptions = CookieAuthenticationOptions$instance;
|
|
169
175
|
|
|
170
176
|
export interface CookieSignedInContext$instance extends PrincipalContext_1<CookieAuthenticationOptions> {
|
|
177
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_Cookies_CookieSignedInContext: never;
|
|
178
|
+
|
|
171
179
|
}
|
|
172
180
|
|
|
173
181
|
|
|
@@ -179,6 +187,8 @@ export const CookieSignedInContext: {
|
|
|
179
187
|
export type CookieSignedInContext = CookieSignedInContext$instance;
|
|
180
188
|
|
|
181
189
|
export interface CookieSigningInContext$instance extends PrincipalContext_1<CookieAuthenticationOptions> {
|
|
190
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_Cookies_CookieSigningInContext: never;
|
|
191
|
+
|
|
182
192
|
CookieOptions: CookieOptions;
|
|
183
193
|
}
|
|
184
194
|
|
|
@@ -191,6 +201,8 @@ export const CookieSigningInContext: {
|
|
|
191
201
|
export type CookieSigningInContext = CookieSigningInContext$instance;
|
|
192
202
|
|
|
193
203
|
export interface CookieSigningOutContext$instance extends PropertiesContext_1<CookieAuthenticationOptions> {
|
|
204
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_Cookies_CookieSigningOutContext: never;
|
|
205
|
+
|
|
194
206
|
CookieOptions: CookieOptions;
|
|
195
207
|
}
|
|
196
208
|
|
|
@@ -203,6 +215,8 @@ export const CookieSigningOutContext: {
|
|
|
203
215
|
export type CookieSigningOutContext = CookieSigningOutContext$instance;
|
|
204
216
|
|
|
205
217
|
export interface CookieSlidingExpirationContext$instance extends PrincipalContext_1<CookieAuthenticationOptions> {
|
|
218
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_Cookies_CookieSlidingExpirationContext: never;
|
|
219
|
+
|
|
206
220
|
readonly ElapsedTime: TimeSpan;
|
|
207
221
|
readonly RemainingTime: TimeSpan;
|
|
208
222
|
ShouldRenew: boolean;
|
|
@@ -217,6 +231,8 @@ export const CookieSlidingExpirationContext: {
|
|
|
217
231
|
export type CookieSlidingExpirationContext = CookieSlidingExpirationContext$instance;
|
|
218
232
|
|
|
219
233
|
export interface CookieValidatePrincipalContext$instance extends PrincipalContext_1<CookieAuthenticationOptions> {
|
|
234
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_Cookies_CookieValidatePrincipalContext: never;
|
|
235
|
+
|
|
220
236
|
ShouldRenew: boolean;
|
|
221
237
|
RejectPrincipal(): void;
|
|
222
238
|
ReplacePrincipal(principal: ClaimsPrincipal): void;
|
|
@@ -231,6 +247,8 @@ export const CookieValidatePrincipalContext: {
|
|
|
231
247
|
export type CookieValidatePrincipalContext = CookieValidatePrincipalContext$instance;
|
|
232
248
|
|
|
233
249
|
export interface PostConfigureCookieAuthenticationOptions$instance {
|
|
250
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_Cookies_PostConfigureCookieAuthenticationOptions: never;
|
|
251
|
+
|
|
234
252
|
readonly __tsonic_iface_Microsoft_Extensions_Options_IPostConfigureOptions_1: never;
|
|
235
253
|
|
|
236
254
|
PostConfigure(name: string, options: CookieAuthenticationOptions): void;
|
|
@@ -11,27 +11,29 @@ import * as Microsoft_AspNetCore_Authentication_Internal from "../../Microsoft.A
|
|
|
11
11
|
import type { AccessDeniedContext, AuthenticateResult, AuthenticationProperties, AuthenticationScheme, AuthenticationTicket, HandleRequestResult, IAuthenticationHandler, IAuthenticationRequestHandler, ISecureDataFormat_1, ISystemClock, RedirectContext_1, RemoteAuthenticationEvents, RemoteAuthenticationHandler_1, RemoteAuthenticationOptions, RemoteFailureContext, ResultContext_1, TicketReceivedContext } from "../../Microsoft.AspNetCore.Authentication/internal/index.js";
|
|
12
12
|
import type { IDataProtectionProvider } from "../../Microsoft.AspNetCore.DataProtection/internal/index.js";
|
|
13
13
|
import type { CookieBuilder, HttpContext, HttpRequest, HttpResponse, PathString } from "../../Microsoft.AspNetCore.Http/internal/index.js";
|
|
14
|
-
import type {
|
|
15
|
-
import
|
|
16
|
-
import type {
|
|
17
|
-
import type {
|
|
18
|
-
import type {
|
|
19
|
-
import type {
|
|
20
|
-
import
|
|
21
|
-
import type {
|
|
22
|
-
import type { ILogger, ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging.js";
|
|
23
|
-
import type {
|
|
14
|
+
import type { ICollection_1, IDictionary_2, IEnumerable_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
15
|
+
import type { HttpClient, HttpMessageHandler } from "@tsonic/dotnet/System.Net.Http/internal/index.js";
|
|
16
|
+
import type { ClaimsIdentity, ClaimsPrincipal } from "@tsonic/dotnet/System.Security.Claims/internal/index.js";
|
|
17
|
+
import type { UrlEncoder } from "@tsonic/dotnet/System.Text.Encodings.Web/internal/index.js";
|
|
18
|
+
import type { JsonDocument, JsonElement } from "@tsonic/dotnet/System.Text.Json/internal/index.js";
|
|
19
|
+
import type { Task, Task_1 } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
20
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
21
|
+
import type { Boolean as ClrBoolean, DateTimeOffset, Exception, Func_2, IDisposable, Nullable_1, Object as ClrObject, String as ClrString, TimeProvider, TimeSpan, Type, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
22
|
+
import type { ILogger, ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging/internal/index.js";
|
|
23
|
+
import type { IOptionsMonitor_1 } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Options/internal/index.js";
|
|
24
24
|
|
|
25
25
|
export interface OAuthChallengeProperties$instance extends AuthenticationProperties {
|
|
26
|
-
|
|
26
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_OAuth_OAuthChallengeProperties: never;
|
|
27
|
+
|
|
28
|
+
Scope: ICollection_1<System_Internal.String>;
|
|
27
29
|
SetScope(...scopes: string[]): void;
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
|
|
31
33
|
export const OAuthChallengeProperties: {
|
|
32
34
|
new(): OAuthChallengeProperties;
|
|
33
|
-
new(items:
|
|
34
|
-
new(items:
|
|
35
|
+
new(items: IDictionary_2<System_Internal.String, System_Internal.String>): OAuthChallengeProperties;
|
|
36
|
+
new(items: IDictionary_2<System_Internal.String, System_Internal.String>, parameters: IDictionary_2<System_Internal.String, unknown>): OAuthChallengeProperties;
|
|
35
37
|
readonly ScopeKey: string;
|
|
36
38
|
};
|
|
37
39
|
|
|
@@ -39,6 +41,8 @@ export const OAuthChallengeProperties: {
|
|
|
39
41
|
export type OAuthChallengeProperties = OAuthChallengeProperties$instance;
|
|
40
42
|
|
|
41
43
|
export interface OAuthCodeExchangeContext$instance {
|
|
44
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_OAuth_OAuthCodeExchangeContext: never;
|
|
45
|
+
|
|
42
46
|
readonly Code: string;
|
|
43
47
|
readonly Properties: AuthenticationProperties;
|
|
44
48
|
readonly RedirectUri: string;
|
|
@@ -53,9 +57,11 @@ export const OAuthCodeExchangeContext: {
|
|
|
53
57
|
export type OAuthCodeExchangeContext = OAuthCodeExchangeContext$instance;
|
|
54
58
|
|
|
55
59
|
export interface OAuthCreatingTicketContext$instance extends ResultContext_1<OAuthOptions> {
|
|
60
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_OAuth_OAuthCreatingTicketContext: never;
|
|
61
|
+
|
|
56
62
|
readonly AccessToken: string | undefined;
|
|
57
63
|
readonly Backchannel: HttpClient;
|
|
58
|
-
readonly ExpiresIn:
|
|
64
|
+
readonly ExpiresIn: Nullable_1<TimeSpan>;
|
|
59
65
|
readonly Identity: ClaimsIdentity | undefined;
|
|
60
66
|
readonly RefreshToken: string | undefined;
|
|
61
67
|
readonly TokenResponse: OAuthTokenResponse;
|
|
@@ -74,8 +80,10 @@ export const OAuthCreatingTicketContext: {
|
|
|
74
80
|
export type OAuthCreatingTicketContext = OAuthCreatingTicketContext$instance;
|
|
75
81
|
|
|
76
82
|
export interface OAuthEvents$instance extends RemoteAuthenticationEvents {
|
|
77
|
-
|
|
78
|
-
|
|
83
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_OAuth_OAuthEvents: never;
|
|
84
|
+
|
|
85
|
+
OnCreatingTicket: Func_2<OAuthCreatingTicketContext, Task>;
|
|
86
|
+
OnRedirectToAuthorizationEndpoint: Func_2<RedirectContext_1<OAuthOptions>, Task>;
|
|
79
87
|
CreatingTicket(context: OAuthCreatingTicketContext): Task;
|
|
80
88
|
RedirectToAuthorizationEndpoint(context: RedirectContext_1<OAuthOptions>): Task;
|
|
81
89
|
}
|
|
@@ -89,28 +97,30 @@ export const OAuthEvents: {
|
|
|
89
97
|
export type OAuthEvents = OAuthEvents$instance;
|
|
90
98
|
|
|
91
99
|
export interface OAuthHandler_1$instance<TOptions extends OAuthOptions> extends RemoteAuthenticationHandler_1<TOptions>, IAuthenticationRequestHandler {
|
|
100
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_OAuth_OAuthHandler_1: never;
|
|
101
|
+
|
|
92
102
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationHandler: never;
|
|
93
103
|
readonly __tsonic_iface_Microsoft_AspNetCore_Authentication_IAuthenticationRequestHandler: never;
|
|
94
104
|
|
|
95
|
-
AuthenticateAsync():
|
|
105
|
+
AuthenticateAsync(): Task_1<AuthenticateResult>;
|
|
96
106
|
BuildChallengeUrl(properties: AuthenticationProperties, redirectUri: string): string;
|
|
97
107
|
ChallengeAsync(properties: AuthenticationProperties): Task;
|
|
98
|
-
CreateEventsAsync():
|
|
99
|
-
CreateEventsAsync():
|
|
100
|
-
CreateTicketAsync(identity: ClaimsIdentity, properties: AuthenticationProperties, tokens: OAuthTokenResponse):
|
|
101
|
-
ExchangeCodeAsync(context: OAuthCodeExchangeContext):
|
|
102
|
-
FormatScope(scopes:
|
|
108
|
+
CreateEventsAsync(): Task_1<unknown>;
|
|
109
|
+
CreateEventsAsync(): Task_1<unknown>;
|
|
110
|
+
CreateTicketAsync(identity: ClaimsIdentity, properties: AuthenticationProperties, tokens: OAuthTokenResponse): Task_1<AuthenticationTicket>;
|
|
111
|
+
ExchangeCodeAsync(context: OAuthCodeExchangeContext): Task_1<OAuthTokenResponse>;
|
|
112
|
+
FormatScope(scopes: IEnumerable_1<System_Internal.String>): string;
|
|
103
113
|
FormatScope(): string;
|
|
104
114
|
HandleChallengeAsync(properties: AuthenticationProperties): Task;
|
|
105
|
-
HandleRemoteAuthenticateAsync():
|
|
106
|
-
HandleRequestAsync():
|
|
115
|
+
HandleRemoteAuthenticateAsync(): Task_1<HandleRequestResult>;
|
|
116
|
+
HandleRequestAsync(): Task_1<System_Internal.Boolean>;
|
|
107
117
|
InitializeAsync(scheme: AuthenticationScheme, context: HttpContext): Task;
|
|
108
118
|
}
|
|
109
119
|
|
|
110
120
|
|
|
111
121
|
export const OAuthHandler_1: {
|
|
112
|
-
new<TOptions extends OAuthOptions>(options:
|
|
113
|
-
new<TOptions extends OAuthOptions>(options:
|
|
122
|
+
new<TOptions extends OAuthOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder, clock: ISystemClock): OAuthHandler_1<TOptions>;
|
|
123
|
+
new<TOptions extends OAuthOptions>(options: IOptionsMonitor_1<TOptions>, logger: ILoggerFactory, encoder: UrlEncoder): OAuthHandler_1<TOptions>;
|
|
114
124
|
};
|
|
115
125
|
|
|
116
126
|
|
|
@@ -122,13 +132,15 @@ export type OAuthHandler_1<TOptions extends OAuthOptions> = OAuthHandler_1$insta
|
|
|
122
132
|
|
|
123
133
|
|
|
124
134
|
export interface OAuthOptions$instance extends RemoteAuthenticationOptions {
|
|
125
|
-
readonly
|
|
135
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_OAuth_OAuthOptions: never;
|
|
136
|
+
|
|
137
|
+
readonly AdditionalAuthorizationParameters: IDictionary_2<System_Internal.String, System_Internal.String>;
|
|
126
138
|
AuthorizationEndpoint: string;
|
|
127
139
|
readonly ClaimActions: ClaimActionCollection;
|
|
128
140
|
ClientId: string;
|
|
129
141
|
ClientSecret: string;
|
|
130
142
|
Events: OAuthEvents | RemoteAuthenticationEvents | unknown;
|
|
131
|
-
readonly Scope:
|
|
143
|
+
readonly Scope: ICollection_1<System_Internal.String>;
|
|
132
144
|
StateDataFormat: ISecureDataFormat_1<AuthenticationProperties>;
|
|
133
145
|
TokenEndpoint: string;
|
|
134
146
|
UsePkce: boolean;
|
|
@@ -146,6 +158,8 @@ export const OAuthOptions: {
|
|
|
146
158
|
export type OAuthOptions = OAuthOptions$instance;
|
|
147
159
|
|
|
148
160
|
export interface OAuthTokenResponse$instance {
|
|
161
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_OAuth_OAuthTokenResponse: never;
|
|
162
|
+
|
|
149
163
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
150
164
|
|
|
151
165
|
get AccessToken(): string | undefined;
|
|
@@ -6,16 +6,18 @@
|
|
|
6
6
|
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
|
-
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
10
|
-
import type {
|
|
11
|
-
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections.js";
|
|
12
|
-
import type { IEnumerable } from "@tsonic/dotnet/System.Collections.js";
|
|
13
|
-
import
|
|
14
|
-
import type {
|
|
15
|
-
import
|
|
16
|
-
import type {
|
|
9
|
+
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
10
|
+
import type { IEnumerable_1, IEnumerator_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
11
|
+
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
12
|
+
import type { IEnumerable } from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
13
|
+
import type { ClaimsIdentity } from "@tsonic/dotnet/System.Security.Claims/internal/index.js";
|
|
14
|
+
import type { JsonElement } from "@tsonic/dotnet/System.Text.Json/internal/index.js";
|
|
15
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
16
|
+
import type { Func_2, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
17
17
|
|
|
18
18
|
export interface ClaimAction$instance {
|
|
19
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_OAuth_Claims_ClaimAction: never;
|
|
20
|
+
|
|
19
21
|
readonly ClaimType: string;
|
|
20
22
|
readonly ValueType: string;
|
|
21
23
|
Run(userData: JsonElement, identity: ClaimsIdentity, issuer: string): void;
|
|
@@ -29,12 +31,14 @@ export const ClaimAction: (abstract new(claimType: string, valueType: string) =>
|
|
|
29
31
|
export type ClaimAction = ClaimAction$instance;
|
|
30
32
|
|
|
31
33
|
export interface ClaimActionCollection$instance {
|
|
34
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_OAuth_Claims_ClaimActionCollection: never;
|
|
35
|
+
|
|
32
36
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
33
37
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
34
38
|
|
|
35
39
|
Add(action: ClaimAction): void;
|
|
36
40
|
Clear(): void;
|
|
37
|
-
GetEnumerator():
|
|
41
|
+
GetEnumerator(): IEnumerator_1<ClaimAction>;
|
|
38
42
|
Remove(claimType: string): void;
|
|
39
43
|
}
|
|
40
44
|
|
|
@@ -47,19 +51,23 @@ export const ClaimActionCollection: {
|
|
|
47
51
|
export type ClaimActionCollection = ClaimActionCollection$instance;
|
|
48
52
|
|
|
49
53
|
export interface CustomJsonClaimAction$instance extends ClaimAction {
|
|
50
|
-
readonly
|
|
54
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_OAuth_Claims_CustomJsonClaimAction: never;
|
|
55
|
+
|
|
56
|
+
readonly Resolver: Func_2<JsonElement, string | undefined>;
|
|
51
57
|
Run(userData: JsonElement, identity: ClaimsIdentity, issuer: string): void;
|
|
52
58
|
}
|
|
53
59
|
|
|
54
60
|
|
|
55
61
|
export const CustomJsonClaimAction: {
|
|
56
|
-
new(claimType: string, valueType: string, resolver:
|
|
62
|
+
new(claimType: string, valueType: string, resolver: Func_2<JsonElement, System_Internal.String>): CustomJsonClaimAction;
|
|
57
63
|
};
|
|
58
64
|
|
|
59
65
|
|
|
60
66
|
export type CustomJsonClaimAction = CustomJsonClaimAction$instance;
|
|
61
67
|
|
|
62
68
|
export interface DeleteClaimAction$instance extends ClaimAction {
|
|
69
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_OAuth_Claims_DeleteClaimAction: never;
|
|
70
|
+
|
|
63
71
|
Run(userData: JsonElement, identity: ClaimsIdentity, issuer: string): void;
|
|
64
72
|
}
|
|
65
73
|
|
|
@@ -72,6 +80,8 @@ export const DeleteClaimAction: {
|
|
|
72
80
|
export type DeleteClaimAction = DeleteClaimAction$instance;
|
|
73
81
|
|
|
74
82
|
export interface JsonKeyClaimAction$instance extends ClaimAction {
|
|
83
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_OAuth_Claims_JsonKeyClaimAction: never;
|
|
84
|
+
|
|
75
85
|
readonly JsonKey: string;
|
|
76
86
|
Run(userData: JsonElement, identity: ClaimsIdentity, issuer: string): void;
|
|
77
87
|
}
|
|
@@ -85,6 +95,8 @@ export const JsonKeyClaimAction: {
|
|
|
85
95
|
export type JsonKeyClaimAction = JsonKeyClaimAction$instance;
|
|
86
96
|
|
|
87
97
|
export interface JsonSubKeyClaimAction$instance extends JsonKeyClaimAction {
|
|
98
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_OAuth_Claims_JsonSubKeyClaimAction: never;
|
|
99
|
+
|
|
88
100
|
readonly SubKey: string;
|
|
89
101
|
Run(userData: JsonElement, identity: ClaimsIdentity, issuer: string): void;
|
|
90
102
|
}
|
|
@@ -98,6 +110,8 @@ export const JsonSubKeyClaimAction: {
|
|
|
98
110
|
export type JsonSubKeyClaimAction = JsonSubKeyClaimAction$instance;
|
|
99
111
|
|
|
100
112
|
export interface MapAllClaimsAction$instance extends ClaimAction {
|
|
113
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Authentication_OAuth_Claims_MapAllClaimsAction: never;
|
|
114
|
+
|
|
101
115
|
Run(userData: JsonElement, identity: ClaimsIdentity, issuer: string): void;
|
|
102
116
|
}
|
|
103
117
|
|