@tsonic/aspnetcore 10.0.39 → 10.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.AspNetCore/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Antiforgery/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +175 -172
- package/Microsoft.AspNetCore.Authentication.BearerToken/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +23 -22
- package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Authentication.d.ts +2 -0
- package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +36 -35
- package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Builder/internal/index.d.ts +78 -77
- package/Microsoft.AspNetCore.Builder.Extensions/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Components/bindings.json +4 -1
- package/Microsoft.AspNetCore.Components/internal/index.d.ts +226 -228
- package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +26 -25
- package/Microsoft.AspNetCore.Components.CompilerServices/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +73 -75
- package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +14 -13
- package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Components.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +15 -17
- package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +20 -19
- package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +24 -23
- package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Components.Server.Circuits/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +37 -36
- package/Microsoft.AspNetCore.Components.Web.HtmlRendering/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Web.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Web.Internal/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.Components.d.ts +1 -1
- package/Microsoft.AspNetCore.Connections/internal/index.d.ts +31 -30
- package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.CookiePolicy/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Cors/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Cryptography.KeyDerivation/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +5 -7
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +16 -15
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +7 -9
- package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +33 -32
- package/Microsoft.AspNetCore.Diagnostics.HealthChecks/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.HostFiltering/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +12 -11
- package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Hosting.Server.Abstractions/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.StaticWebAssets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Html/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Http/bindings.json +470 -530
- package/Microsoft.AspNetCore.Http/internal/index.d.ts +313 -318
- package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Http.Connections.Features/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.Http.Features/bindings.json +4 -1
- package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +54 -56
- package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Http.Headers/internal/index.d.ts +37 -36
- package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +63 -62
- package/Microsoft.AspNetCore.Http.Json/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +12 -11
- package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Http.d.ts +4 -4
- package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.HttpOverrides/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.HttpsPolicy/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Identity/bindings.json +397 -17
- package/Microsoft.AspNetCore.Identity/internal/index.d.ts +249 -248
- package/Microsoft.AspNetCore.Identity.Data/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Localization/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +394 -393
- package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +34 -33
- package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +72 -71
- package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Mvc.Diagnostics/bindings.json +99 -119
- package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +91 -91
- package/Microsoft.AspNetCore.Mvc.Diagnostics.d.ts +1 -1
- package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +59 -58
- package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +27 -26
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Mvc.Infrastructure/bindings.json +91 -0
- package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +50 -33
- package/Microsoft.AspNetCore.Mvc.Infrastructure.d.ts +1 -0
- package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +18 -17
- package/Microsoft.AspNetCore.Mvc.ModelBinding/bindings.json +1721 -1721
- package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +261 -263
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +36 -35
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +108 -107
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/bindings.json +80 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +58 -43
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation.d.ts +2 -1
- package/Microsoft.AspNetCore.Mvc.ModelBinding.d.ts +7 -7
- package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +37 -36
- package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +10 -9
- package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Razor.Internal/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +140 -139
- package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +137 -136
- package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +45 -44
- package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +4 -6
- package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +24 -23
- package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/bindings.json +131 -131
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +181 -183
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.d.ts +1 -1
- package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +15 -17
- package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Routing/bindings.json +185 -185
- package/Microsoft.AspNetCore.Routing/internal/index.d.ts +135 -137
- package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +25 -24
- package/Microsoft.AspNetCore.Routing.Internal/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Routing.Matching/bindings.json +4 -1
- package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +13 -15
- package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +32 -31
- package/Microsoft.AspNetCore.Routing.Template/internal/index.d.ts +16 -18
- package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Routing.d.ts +1 -1
- package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +9 -11
- package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Server.Kestrel.Https/internal/index.d.ts +19 -18
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Session/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.SignalR/bindings.json +131 -131
- package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +104 -106
- package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +32 -34
- package/Microsoft.AspNetCore.SignalR.d.ts +1 -1
- package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.StaticAssets.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.StaticFiles.Infrastructure/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.WebSockets/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.WebUtilities/internal/index.d.ts +25 -24
- package/Microsoft.AspNetCore.WebUtilities.d.ts +1 -1
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +30 -29
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +3 -2
- package/Microsoft.JSInterop/internal/index.d.ts +46 -48
- package/Microsoft.JSInterop.Implementation/internal/index.d.ts +8 -10
- package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +9 -11
- package/Microsoft.Net.Http.Headers/internal/index.d.ts +57 -59
- package/README.md +58 -15
- package/System.Formats.Cbor/internal/index.d.ts +4 -6
- package/System.Security.Claims/internal/index.d.ts +4 -3
- package/System.Threading.RateLimiting/internal/index.d.ts +13 -15
- package/__internal/extensions/index.d.ts +417 -419
- package/package.json +4 -4
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Identity
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Identity, Microsoft.Extensions.Identity.Core, Microsoft.Extensions.Identity.Stores
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import type { CookieAuthenticationOptions, CookieValidatePrincipalContext } from "../../Microsoft.AspNetCore.Authentication.Cookies/internal/index.js";
|
|
@@ -48,7 +49,7 @@ export type IEmailSender_1<TUser> = IEmailSender_1$instance<TUser>;
|
|
|
48
49
|
export interface ILookupNormalizer$instance {
|
|
49
50
|
readonly __tsonic_iface_Microsoft_AspNetCore_Identity_ILookupNormalizer: never;
|
|
50
51
|
|
|
51
|
-
NormalizeName(name: string): string |
|
|
52
|
+
NormalizeName(name: string | null): string | null;
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
|
|
@@ -57,7 +58,7 @@ export type ILookupNormalizer = ILookupNormalizer$instance;
|
|
|
57
58
|
export interface ILookupProtector$instance {
|
|
58
59
|
readonly __tsonic_iface_Microsoft_AspNetCore_Identity_ILookupProtector: never;
|
|
59
60
|
|
|
60
|
-
Protect(keyId: string, data: string): string |
|
|
61
|
+
Protect(keyId: string, data: string | null): string | null;
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
|
|
@@ -77,7 +78,7 @@ export interface IPasskeyHandler_1$instance<TUser> {
|
|
|
77
78
|
readonly __tsonic_iface_Microsoft_AspNetCore_Identity_IPasskeyHandler_1: never;
|
|
78
79
|
|
|
79
80
|
MakeCreationOptionsAsync(userEntity: PasskeyUserEntity, httpContext: HttpContext): Task_1<PasskeyCreationOptionsResult>;
|
|
80
|
-
MakeRequestOptionsAsync(user: TUser, httpContext: HttpContext): Task_1<PasskeyRequestOptionsResult>;
|
|
81
|
+
MakeRequestOptionsAsync(user: TUser | null, httpContext: HttpContext): Task_1<PasskeyRequestOptionsResult>;
|
|
81
82
|
PerformAssertionAsync(context: PasskeyAssertionContext): Task_1<PasskeyAssertionResult_1<TUser>>;
|
|
82
83
|
PerformAttestationAsync(context: PasskeyAttestationContext): Task_1<PasskeyAttestationResult>;
|
|
83
84
|
}
|
|
@@ -98,7 +99,7 @@ export type IPasswordHasher_1<TUser> = IPasswordHasher_1$instance<TUser>;
|
|
|
98
99
|
export interface IPasswordValidator_1$instance<TUser> {
|
|
99
100
|
readonly __tsonic_iface_Microsoft_AspNetCore_Identity_IPasswordValidator_1: never;
|
|
100
101
|
|
|
101
|
-
ValidateAsync(manager: UserManager_1<TUser>, user: TUser, password: string): Task_1<IdentityResult>;
|
|
102
|
+
ValidateAsync(manager: UserManager_1<TUser>, user: TUser, password: string | null): Task_1<IdentityResult>;
|
|
102
103
|
}
|
|
103
104
|
|
|
104
105
|
|
|
@@ -107,7 +108,7 @@ export type IPasswordValidator_1<TUser> = IPasswordValidator_1$instance<TUser>;
|
|
|
107
108
|
export interface IPersonalDataProtector$instance {
|
|
108
109
|
readonly __tsonic_iface_Microsoft_AspNetCore_Identity_IPersonalDataProtector: never;
|
|
109
110
|
|
|
110
|
-
Protect(data: string): string |
|
|
111
|
+
Protect(data: string | null): string | null;
|
|
111
112
|
}
|
|
112
113
|
|
|
113
114
|
|
|
@@ -118,7 +119,7 @@ export interface IProtectedUserStore_1$instance<TUser> extends IUserStore_1<TUse
|
|
|
118
119
|
|
|
119
120
|
FindByIdAsync(userId: string, cancellationToken: CancellationToken): Task_1<TUser>;
|
|
120
121
|
GetUserIdAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
121
|
-
SetUserNameAsync(user: TUser, userName: string, cancellationToken: CancellationToken): Task;
|
|
122
|
+
SetUserNameAsync(user: TUser, userName: string | null, cancellationToken: CancellationToken): Task;
|
|
122
123
|
}
|
|
123
124
|
|
|
124
125
|
|
|
@@ -132,7 +133,7 @@ export interface IQueryableRoleStore_1$instance<TRole> extends IRoleStore_1<TRol
|
|
|
132
133
|
readonly Roles: IQueryable_1<TRole>;
|
|
133
134
|
CreateAsync(role: TRole, cancellationToken: CancellationToken): Task_1<IdentityResult>;
|
|
134
135
|
FindByIdAsync(roleId: string, cancellationToken: CancellationToken): Task_1<TRole>;
|
|
135
|
-
SetRoleNameAsync(role: TRole, roleName: string, cancellationToken: CancellationToken): Task;
|
|
136
|
+
SetRoleNameAsync(role: TRole, roleName: string | null, cancellationToken: CancellationToken): Task;
|
|
136
137
|
}
|
|
137
138
|
|
|
138
139
|
|
|
@@ -146,7 +147,7 @@ export interface IQueryableUserStore_1$instance<TUser> extends IUserStore_1<TUse
|
|
|
146
147
|
readonly Users: IQueryable_1<TUser>;
|
|
147
148
|
FindByIdAsync(userId: string, cancellationToken: CancellationToken): Task_1<TUser>;
|
|
148
149
|
GetUserIdAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
149
|
-
SetUserNameAsync(user: TUser, userName: string, cancellationToken: CancellationToken): Task;
|
|
150
|
+
SetUserNameAsync(user: TUser, userName: string | null, cancellationToken: CancellationToken): Task;
|
|
150
151
|
}
|
|
151
152
|
|
|
152
153
|
|
|
@@ -158,10 +159,10 @@ export interface IRoleClaimStore_1$instance<TRole> extends IRoleStore_1<TRole>,
|
|
|
158
159
|
readonly __tsonic_iface_Microsoft_AspNetCore_Identity_IRoleClaimStore_1: never;
|
|
159
160
|
|
|
160
161
|
AddClaimAsync(role: TRole, claim: Claim, cancellationToken?: CancellationToken): Task;
|
|
162
|
+
CreateAsync(role: TRole, cancellationToken: CancellationToken): Task_1<IdentityResult>;
|
|
161
163
|
FindByIdAsync(roleId: string, cancellationToken: CancellationToken): Task_1<TRole>;
|
|
162
164
|
GetClaimsAsync(role: TRole, cancellationToken?: CancellationToken): Task_1<IList_1<Claim>>;
|
|
163
|
-
SetRoleNameAsync(role: TRole, roleName: string, cancellationToken: CancellationToken): Task;
|
|
164
|
-
CreateAsync(role: TRole, cancellationToken: CancellationToken): Task_1<IdentityResult>;
|
|
165
|
+
SetRoleNameAsync(role: TRole, roleName: string | null, cancellationToken: CancellationToken): Task;
|
|
165
166
|
}
|
|
166
167
|
|
|
167
168
|
|
|
@@ -173,8 +174,8 @@ export interface IRoleStore_1$instance<TRole> extends IDisposable {
|
|
|
173
174
|
readonly __tsonic_iface_Microsoft_AspNetCore_Identity_IRoleStore_1: never;
|
|
174
175
|
|
|
175
176
|
CreateAsync(role: TRole, cancellationToken: CancellationToken): Task_1<IdentityResult>;
|
|
176
|
-
FindByIdAsync(roleId: string, cancellationToken: CancellationToken): Task_1<TRole |
|
|
177
|
-
SetRoleNameAsync(role: TRole, roleName: string, cancellationToken: CancellationToken): Task;
|
|
177
|
+
FindByIdAsync(roleId: string, cancellationToken: CancellationToken): Task_1<TRole | null>;
|
|
178
|
+
SetRoleNameAsync(role: TRole, roleName: string | null, cancellationToken: CancellationToken): Task;
|
|
178
179
|
}
|
|
179
180
|
|
|
180
181
|
|
|
@@ -215,11 +216,11 @@ export interface IUserAuthenticationTokenStore_1$instance<TUser> extends IUserSt
|
|
|
215
216
|
readonly __tsonic_iface_Microsoft_AspNetCore_Identity_IUserAuthenticationTokenStore_1: never;
|
|
216
217
|
|
|
217
218
|
FindByIdAsync(userId: string, cancellationToken: CancellationToken): Task_1<TUser>;
|
|
218
|
-
GetTokenAsync(user: TUser, loginProvider: string, name: string, cancellationToken: CancellationToken): Task_1<string |
|
|
219
|
+
GetTokenAsync(user: TUser, loginProvider: string, name: string, cancellationToken: CancellationToken): Task_1<string | null>;
|
|
219
220
|
GetUserIdAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
220
221
|
RemoveTokenAsync(user: TUser, loginProvider: string, name: string, cancellationToken: CancellationToken): Task;
|
|
221
|
-
SetTokenAsync(user: TUser, loginProvider: string, name: string, value: string, cancellationToken: CancellationToken): Task;
|
|
222
|
-
SetUserNameAsync(user: TUser, userName: string, cancellationToken: CancellationToken): Task;
|
|
222
|
+
SetTokenAsync(user: TUser, loginProvider: string, name: string, value: string | null, cancellationToken: CancellationToken): Task;
|
|
223
|
+
SetUserNameAsync(user: TUser, userName: string | null, cancellationToken: CancellationToken): Task;
|
|
223
224
|
}
|
|
224
225
|
|
|
225
226
|
|
|
@@ -231,10 +232,10 @@ export interface IUserAuthenticatorKeyStore_1$instance<TUser> extends IUserStore
|
|
|
231
232
|
readonly __tsonic_iface_Microsoft_AspNetCore_Identity_IUserAuthenticatorKeyStore_1: never;
|
|
232
233
|
|
|
233
234
|
FindByIdAsync(userId: string, cancellationToken: CancellationToken): Task_1<TUser>;
|
|
234
|
-
GetAuthenticatorKeyAsync(user: TUser, cancellationToken: CancellationToken): Task_1<string |
|
|
235
|
-
SetAuthenticatorKeyAsync(user: TUser, key: string, cancellationToken: CancellationToken): Task;
|
|
235
|
+
GetAuthenticatorKeyAsync(user: TUser, cancellationToken: CancellationToken): Task_1<string | null>;
|
|
236
236
|
GetUserIdAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
237
|
-
|
|
237
|
+
SetAuthenticatorKeyAsync(user: TUser, key: string, cancellationToken: CancellationToken): Task;
|
|
238
|
+
SetUserNameAsync(user: TUser, userName: string | null, cancellationToken: CancellationToken): Task;
|
|
238
239
|
}
|
|
239
240
|
|
|
240
241
|
|
|
@@ -257,10 +258,10 @@ export interface IUserClaimStore_1$instance<TUser> extends IUserStore_1<TUser>,
|
|
|
257
258
|
AddClaimsAsync(user: TUser, claims: IEnumerable_1<Claim>, cancellationToken: CancellationToken): Task;
|
|
258
259
|
FindByIdAsync(userId: string, cancellationToken: CancellationToken): Task_1<TUser>;
|
|
259
260
|
GetClaimsAsync(user: TUser, cancellationToken: CancellationToken): Task_1<IList_1<Claim>>;
|
|
261
|
+
GetUserIdAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
260
262
|
GetUsersForClaimAsync(claim: Claim, cancellationToken: CancellationToken): Task_1<IList_1<TUser>>;
|
|
261
263
|
ReplaceClaimAsync(user: TUser, claim: Claim, newClaim: Claim, cancellationToken: CancellationToken): Task;
|
|
262
|
-
SetUserNameAsync(user: TUser, userName: string, cancellationToken: CancellationToken): Task;
|
|
263
|
-
GetUserIdAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
264
|
+
SetUserNameAsync(user: TUser, userName: string | null, cancellationToken: CancellationToken): Task;
|
|
264
265
|
}
|
|
265
266
|
|
|
266
267
|
|
|
@@ -280,13 +281,13 @@ export type IUserConfirmation_1<TUser> = IUserConfirmation_1$instance<TUser>;
|
|
|
280
281
|
export interface IUserEmailStore_1$instance<TUser> extends IUserStore_1<TUser>, IDisposable {
|
|
281
282
|
readonly __tsonic_iface_Microsoft_AspNetCore_Identity_IUserEmailStore_1: never;
|
|
282
283
|
|
|
283
|
-
FindByEmailAsync(normalizedEmail: string, cancellationToken: CancellationToken): Task_1<TUser |
|
|
284
|
-
GetEmailAsync(user: TUser, cancellationToken: CancellationToken): Task_1<string |
|
|
285
|
-
|
|
284
|
+
FindByEmailAsync(normalizedEmail: string, cancellationToken: CancellationToken): Task_1<TUser | null>;
|
|
285
|
+
GetEmailAsync(user: TUser, cancellationToken: CancellationToken): Task_1<string | null>;
|
|
286
|
+
GetUserIdAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
287
|
+
SetEmailAsync(user: TUser, email: string | null, cancellationToken: CancellationToken): Task;
|
|
286
288
|
SetEmailConfirmedAsync(user: TUser, confirmed: boolean, cancellationToken: CancellationToken): Task;
|
|
289
|
+
SetUserNameAsync(user: TUser, userName: string | null, cancellationToken: CancellationToken): Task;
|
|
287
290
|
FindByIdAsync(userId: string, cancellationToken: CancellationToken): Task_1<TUser>;
|
|
288
|
-
GetUserIdAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
289
|
-
SetUserNameAsync(user: TUser, userName: string, cancellationToken: CancellationToken): Task;
|
|
290
291
|
}
|
|
291
292
|
|
|
292
293
|
|
|
@@ -299,11 +300,11 @@ export interface IUserLockoutStore_1$instance<TUser> extends IUserStore_1<TUser>
|
|
|
299
300
|
|
|
300
301
|
FindByIdAsync(userId: string, cancellationToken: CancellationToken): Task_1<TUser>;
|
|
301
302
|
GetLockoutEndDateAsync(user: TUser, cancellationToken: CancellationToken): Task_1<Nullable_1<DateTimeOffset>>;
|
|
303
|
+
GetUserIdAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
302
304
|
ResetAccessFailedCountAsync(user: TUser, cancellationToken: CancellationToken): Task;
|
|
303
305
|
SetLockoutEnabledAsync(user: TUser, enabled: boolean, cancellationToken: CancellationToken): Task;
|
|
304
306
|
SetLockoutEndDateAsync(user: TUser, lockoutEnd: Nullable_1<DateTimeOffset>, cancellationToken: CancellationToken): Task;
|
|
305
|
-
SetUserNameAsync(user: TUser, userName: string, cancellationToken: CancellationToken): Task;
|
|
306
|
-
GetUserIdAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
307
|
+
SetUserNameAsync(user: TUser, userName: string | null, cancellationToken: CancellationToken): Task;
|
|
307
308
|
}
|
|
308
309
|
|
|
309
310
|
|
|
@@ -316,11 +317,11 @@ export interface IUserLoginStore_1$instance<TUser> extends IUserStore_1<TUser>,
|
|
|
316
317
|
|
|
317
318
|
AddLoginAsync(user: TUser, login: UserLoginInfo, cancellationToken: CancellationToken): Task;
|
|
318
319
|
FindByIdAsync(userId: string, cancellationToken: CancellationToken): Task_1<TUser>;
|
|
319
|
-
FindByLoginAsync(loginProvider: string, providerKey: string, cancellationToken: CancellationToken): Task_1<TUser |
|
|
320
|
+
FindByLoginAsync(loginProvider: string, providerKey: string, cancellationToken: CancellationToken): Task_1<TUser | null>;
|
|
320
321
|
GetLoginsAsync(user: TUser, cancellationToken: CancellationToken): Task_1<IList_1<UserLoginInfo>>;
|
|
321
|
-
RemoveLoginAsync(user: TUser, loginProvider: string, providerKey: string, cancellationToken: CancellationToken): Task;
|
|
322
|
-
SetUserNameAsync(user: TUser, userName: string, cancellationToken: CancellationToken): Task;
|
|
323
322
|
GetUserIdAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
323
|
+
RemoveLoginAsync(user: TUser, loginProvider: string, providerKey: string, cancellationToken: CancellationToken): Task;
|
|
324
|
+
SetUserNameAsync(user: TUser, userName: string | null, cancellationToken: CancellationToken): Task;
|
|
324
325
|
}
|
|
325
326
|
|
|
326
327
|
|
|
@@ -333,12 +334,12 @@ export interface IUserPasskeyStore_1$instance<TUser> extends IUserStore_1<TUser>
|
|
|
333
334
|
|
|
334
335
|
AddOrUpdatePasskeyAsync(user: TUser, passkey: UserPasskeyInfo, cancellationToken: CancellationToken): Task;
|
|
335
336
|
FindByIdAsync(userId: string, cancellationToken: CancellationToken): Task_1<TUser>;
|
|
336
|
-
FindByPasskeyIdAsync(credentialId: byte[], cancellationToken: CancellationToken): Task_1<TUser |
|
|
337
|
-
FindPasskeyAsync(user: TUser, credentialId: byte[], cancellationToken: CancellationToken): Task_1<UserPasskeyInfo |
|
|
337
|
+
FindByPasskeyIdAsync(credentialId: byte[], cancellationToken: CancellationToken): Task_1<TUser | null>;
|
|
338
|
+
FindPasskeyAsync(user: TUser, credentialId: byte[], cancellationToken: CancellationToken): Task_1<UserPasskeyInfo | null>;
|
|
338
339
|
GetPasskeysAsync(user: TUser, cancellationToken: CancellationToken): Task_1<IList_1<UserPasskeyInfo>>;
|
|
339
|
-
RemovePasskeyAsync(user: TUser, credentialId: byte[], cancellationToken: CancellationToken): Task;
|
|
340
|
-
SetUserNameAsync(user: TUser, userName: string, cancellationToken: CancellationToken): Task;
|
|
341
340
|
GetUserIdAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
341
|
+
RemovePasskeyAsync(user: TUser, credentialId: byte[], cancellationToken: CancellationToken): Task;
|
|
342
|
+
SetUserNameAsync(user: TUser, userName: string | null, cancellationToken: CancellationToken): Task;
|
|
342
343
|
}
|
|
343
344
|
|
|
344
345
|
|
|
@@ -350,10 +351,10 @@ export interface IUserPasswordStore_1$instance<TUser> extends IUserStore_1<TUser
|
|
|
350
351
|
readonly __tsonic_iface_Microsoft_AspNetCore_Identity_IUserPasswordStore_1: never;
|
|
351
352
|
|
|
352
353
|
FindByIdAsync(userId: string, cancellationToken: CancellationToken): Task_1<TUser>;
|
|
353
|
-
GetPasswordHashAsync(user: TUser, cancellationToken: CancellationToken): Task_1<string |
|
|
354
|
-
SetPasswordHashAsync(user: TUser, passwordHash: string, cancellationToken: CancellationToken): Task;
|
|
354
|
+
GetPasswordHashAsync(user: TUser, cancellationToken: CancellationToken): Task_1<string | null>;
|
|
355
355
|
GetUserIdAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
356
|
-
|
|
356
|
+
SetPasswordHashAsync(user: TUser, passwordHash: string | null, cancellationToken: CancellationToken): Task;
|
|
357
|
+
SetUserNameAsync(user: TUser, userName: string | null, cancellationToken: CancellationToken): Task;
|
|
357
358
|
}
|
|
358
359
|
|
|
359
360
|
|
|
@@ -365,11 +366,11 @@ export interface IUserPhoneNumberStore_1$instance<TUser> extends IUserStore_1<TU
|
|
|
365
366
|
readonly __tsonic_iface_Microsoft_AspNetCore_Identity_IUserPhoneNumberStore_1: never;
|
|
366
367
|
|
|
367
368
|
FindByIdAsync(userId: string, cancellationToken: CancellationToken): Task_1<TUser>;
|
|
368
|
-
GetPhoneNumberAsync(user: TUser, cancellationToken: CancellationToken): Task_1<string |
|
|
369
|
-
SetPhoneNumberAsync(user: TUser, phoneNumber: string, cancellationToken: CancellationToken): Task;
|
|
370
|
-
SetPhoneNumberConfirmedAsync(user: TUser, confirmed: boolean, cancellationToken: CancellationToken): Task;
|
|
369
|
+
GetPhoneNumberAsync(user: TUser, cancellationToken: CancellationToken): Task_1<string | null>;
|
|
371
370
|
GetUserIdAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
372
|
-
|
|
371
|
+
SetPhoneNumberAsync(user: TUser, phoneNumber: string | null, cancellationToken: CancellationToken): Task;
|
|
372
|
+
SetPhoneNumberConfirmedAsync(user: TUser, confirmed: boolean, cancellationToken: CancellationToken): Task;
|
|
373
|
+
SetUserNameAsync(user: TUser, userName: string | null, cancellationToken: CancellationToken): Task;
|
|
373
374
|
}
|
|
374
375
|
|
|
375
376
|
|
|
@@ -382,11 +383,11 @@ export interface IUserRoleStore_1$instance<TUser> extends IUserStore_1<TUser>, I
|
|
|
382
383
|
|
|
383
384
|
AddToRoleAsync(user: TUser, roleName: string, cancellationToken: CancellationToken): Task;
|
|
384
385
|
GetRolesAsync(user: TUser, cancellationToken: CancellationToken): Task_1<IList_1<System_Internal.String>>;
|
|
386
|
+
GetUserIdAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
385
387
|
GetUsersInRoleAsync(roleName: string, cancellationToken: CancellationToken): Task_1<IList_1<TUser>>;
|
|
386
388
|
IsInRoleAsync(user: TUser, roleName: string, cancellationToken: CancellationToken): Task_1<System_Internal.Boolean>;
|
|
389
|
+
SetUserNameAsync(user: TUser, userName: string | null, cancellationToken: CancellationToken): Task;
|
|
387
390
|
FindByIdAsync(userId: string, cancellationToken: CancellationToken): Task_1<TUser>;
|
|
388
|
-
GetUserIdAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
389
|
-
SetUserNameAsync(user: TUser, userName: string, cancellationToken: CancellationToken): Task;
|
|
390
391
|
}
|
|
391
392
|
|
|
392
393
|
|
|
@@ -398,10 +399,10 @@ export interface IUserSecurityStampStore_1$instance<TUser> extends IUserStore_1<
|
|
|
398
399
|
readonly __tsonic_iface_Microsoft_AspNetCore_Identity_IUserSecurityStampStore_1: never;
|
|
399
400
|
|
|
400
401
|
FindByIdAsync(userId: string, cancellationToken: CancellationToken): Task_1<TUser>;
|
|
401
|
-
GetSecurityStampAsync(user: TUser, cancellationToken: CancellationToken): Task_1<string |
|
|
402
|
-
SetSecurityStampAsync(user: TUser, stamp: string, cancellationToken: CancellationToken): Task;
|
|
402
|
+
GetSecurityStampAsync(user: TUser, cancellationToken: CancellationToken): Task_1<string | null>;
|
|
403
403
|
GetUserIdAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
404
|
-
|
|
404
|
+
SetSecurityStampAsync(user: TUser, stamp: string, cancellationToken: CancellationToken): Task;
|
|
405
|
+
SetUserNameAsync(user: TUser, userName: string | null, cancellationToken: CancellationToken): Task;
|
|
405
406
|
}
|
|
406
407
|
|
|
407
408
|
|
|
@@ -412,9 +413,9 @@ export type IUserSecurityStampStore_1<TUser> = IUserSecurityStampStore_1$instanc
|
|
|
412
413
|
export interface IUserStore_1$instance<TUser> extends IDisposable {
|
|
413
414
|
readonly __tsonic_iface_Microsoft_AspNetCore_Identity_IUserStore_1: never;
|
|
414
415
|
|
|
415
|
-
FindByIdAsync(userId: string, cancellationToken: CancellationToken): Task_1<TUser |
|
|
416
|
+
FindByIdAsync(userId: string, cancellationToken: CancellationToken): Task_1<TUser | null>;
|
|
416
417
|
GetUserIdAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
417
|
-
SetUserNameAsync(user: TUser, userName: string, cancellationToken: CancellationToken): Task;
|
|
418
|
+
SetUserNameAsync(user: TUser, userName: string | null, cancellationToken: CancellationToken): Task;
|
|
418
419
|
}
|
|
419
420
|
|
|
420
421
|
|
|
@@ -427,10 +428,10 @@ export interface IUserTwoFactorRecoveryCodeStore_1$instance<TUser> extends IUser
|
|
|
427
428
|
|
|
428
429
|
CountCodesAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
|
|
429
430
|
FindByIdAsync(userId: string, cancellationToken: CancellationToken): Task_1<TUser>;
|
|
431
|
+
GetUserIdAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
430
432
|
RedeemCodeAsync(user: TUser, code: string, cancellationToken: CancellationToken): Task_1<System_Internal.Boolean>;
|
|
431
433
|
ReplaceCodesAsync(user: TUser, recoveryCodes: IEnumerable_1<System_Internal.String>, cancellationToken: CancellationToken): Task;
|
|
432
|
-
SetUserNameAsync(user: TUser, userName: string, cancellationToken: CancellationToken): Task;
|
|
433
|
-
GetUserIdAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
434
|
+
SetUserNameAsync(user: TUser, userName: string | null, cancellationToken: CancellationToken): Task;
|
|
434
435
|
}
|
|
435
436
|
|
|
436
437
|
|
|
@@ -443,9 +444,9 @@ export interface IUserTwoFactorStore_1$instance<TUser> extends IUserStore_1<TUse
|
|
|
443
444
|
|
|
444
445
|
FindByIdAsync(userId: string, cancellationToken: CancellationToken): Task_1<TUser>;
|
|
445
446
|
GetTwoFactorEnabledAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.Boolean>;
|
|
446
|
-
SetTwoFactorEnabledAsync(user: TUser, enabled: boolean, cancellationToken: CancellationToken): Task;
|
|
447
|
-
SetUserNameAsync(user: TUser, userName: string, cancellationToken: CancellationToken): Task;
|
|
448
447
|
GetUserIdAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
448
|
+
SetTwoFactorEnabledAsync(user: TUser, enabled: boolean, cancellationToken: CancellationToken): Task;
|
|
449
|
+
SetUserNameAsync(user: TUser, userName: string | null, cancellationToken: CancellationToken): Task;
|
|
449
450
|
}
|
|
450
451
|
|
|
451
452
|
|
|
@@ -591,8 +592,8 @@ export interface DefaultPersonalDataProtector$instance extends IPersonalDataProt
|
|
|
591
592
|
|
|
592
593
|
readonly __tsonic_iface_Microsoft_AspNetCore_Identity_IPersonalDataProtector: never;
|
|
593
594
|
|
|
594
|
-
Protect(data: string): string |
|
|
595
|
-
Unprotect(data: string): string |
|
|
595
|
+
Protect(data: string | null): string | null;
|
|
596
|
+
Unprotect(data: string | null): string | null;
|
|
596
597
|
}
|
|
597
598
|
|
|
598
599
|
|
|
@@ -654,10 +655,10 @@ export type EmailTokenProvider_1<TUser> = EmailTokenProvider_1$instance<TUser> &
|
|
|
654
655
|
export interface ExternalLoginInfo$instance extends UserLoginInfo {
|
|
655
656
|
readonly __tsonic_type_Microsoft_AspNetCore_Identity_ExternalLoginInfo: never;
|
|
656
657
|
|
|
657
|
-
get AuthenticationProperties(): AuthenticationProperties |
|
|
658
|
-
set AuthenticationProperties(value: AuthenticationProperties |
|
|
659
|
-
get AuthenticationTokens(): IEnumerable_1<AuthenticationToken> |
|
|
660
|
-
set AuthenticationTokens(value: IEnumerable_1<AuthenticationToken> |
|
|
658
|
+
get AuthenticationProperties(): AuthenticationProperties | null;
|
|
659
|
+
set AuthenticationProperties(value: AuthenticationProperties | null);
|
|
660
|
+
get AuthenticationTokens(): IEnumerable_1<AuthenticationToken> | null;
|
|
661
|
+
set AuthenticationTokens(value: IEnumerable_1<AuthenticationToken> | null);
|
|
661
662
|
Principal: ClaimsPrincipal;
|
|
662
663
|
}
|
|
663
664
|
|
|
@@ -672,8 +673,8 @@ export type ExternalLoginInfo = ExternalLoginInfo$instance;
|
|
|
672
673
|
export interface IdentityBuilder$instance {
|
|
673
674
|
readonly __tsonic_type_Microsoft_AspNetCore_Identity_IdentityBuilder: never;
|
|
674
675
|
|
|
675
|
-
get RoleType(): Type |
|
|
676
|
-
set RoleType(value: Type |
|
|
676
|
+
get RoleType(): Type | null;
|
|
677
|
+
set RoleType(value: Type | null);
|
|
677
678
|
readonly Services: IServiceCollection;
|
|
678
679
|
readonly UserType: Type;
|
|
679
680
|
AddClaimsPrincipalFactory<TFactory>(): IdentityBuilder;
|
|
@@ -722,14 +723,14 @@ export type IdentityConstants = IdentityConstants$instance;
|
|
|
722
723
|
export interface IdentityCookiesBuilder$instance {
|
|
723
724
|
readonly __tsonic_type_Microsoft_AspNetCore_Identity_IdentityCookiesBuilder: never;
|
|
724
725
|
|
|
725
|
-
get ApplicationCookie(): OptionsBuilder_1<CookieAuthenticationOptions> |
|
|
726
|
-
set ApplicationCookie(value: OptionsBuilder_1<CookieAuthenticationOptions> |
|
|
727
|
-
get ExternalCookie(): OptionsBuilder_1<CookieAuthenticationOptions> |
|
|
728
|
-
set ExternalCookie(value: OptionsBuilder_1<CookieAuthenticationOptions> |
|
|
729
|
-
get TwoFactorRememberMeCookie(): OptionsBuilder_1<CookieAuthenticationOptions> |
|
|
730
|
-
set TwoFactorRememberMeCookie(value: OptionsBuilder_1<CookieAuthenticationOptions> |
|
|
731
|
-
get TwoFactorUserIdCookie(): OptionsBuilder_1<CookieAuthenticationOptions> |
|
|
732
|
-
set TwoFactorUserIdCookie(value: OptionsBuilder_1<CookieAuthenticationOptions> |
|
|
726
|
+
get ApplicationCookie(): OptionsBuilder_1<CookieAuthenticationOptions> | null;
|
|
727
|
+
set ApplicationCookie(value: OptionsBuilder_1<CookieAuthenticationOptions> | null);
|
|
728
|
+
get ExternalCookie(): OptionsBuilder_1<CookieAuthenticationOptions> | null;
|
|
729
|
+
set ExternalCookie(value: OptionsBuilder_1<CookieAuthenticationOptions> | null);
|
|
730
|
+
get TwoFactorRememberMeCookie(): OptionsBuilder_1<CookieAuthenticationOptions> | null;
|
|
731
|
+
set TwoFactorRememberMeCookie(value: OptionsBuilder_1<CookieAuthenticationOptions> | null);
|
|
732
|
+
get TwoFactorUserIdCookie(): OptionsBuilder_1<CookieAuthenticationOptions> | null;
|
|
733
|
+
set TwoFactorUserIdCookie(value: OptionsBuilder_1<CookieAuthenticationOptions> | null);
|
|
733
734
|
}
|
|
734
735
|
|
|
735
736
|
|
|
@@ -763,10 +764,10 @@ export interface IdentityErrorDescriber$instance {
|
|
|
763
764
|
DuplicateEmail(email: string): IdentityError;
|
|
764
765
|
DuplicateRoleName(role: string): IdentityError;
|
|
765
766
|
DuplicateUserName(userName: string): IdentityError;
|
|
766
|
-
InvalidEmail(email: string): IdentityError;
|
|
767
|
-
InvalidRoleName(role: string): IdentityError;
|
|
767
|
+
InvalidEmail(email: string | null): IdentityError;
|
|
768
|
+
InvalidRoleName(role: string | null): IdentityError;
|
|
768
769
|
InvalidToken(): IdentityError;
|
|
769
|
-
InvalidUserName(userName: string): IdentityError;
|
|
770
|
+
InvalidUserName(userName: string | null): IdentityError;
|
|
770
771
|
LoginAlreadyAssociated(): IdentityError;
|
|
771
772
|
PasswordMismatch(): IdentityError;
|
|
772
773
|
PasswordRequiresDigit(): IdentityError;
|
|
@@ -819,12 +820,12 @@ export interface IdentityPasskeyData$instance {
|
|
|
819
820
|
IsBackedUp: boolean;
|
|
820
821
|
IsBackupEligible: boolean;
|
|
821
822
|
IsUserVerified: boolean;
|
|
822
|
-
get Name(): string |
|
|
823
|
-
set Name(value: string |
|
|
823
|
+
get Name(): string | null;
|
|
824
|
+
set Name(value: string | null);
|
|
824
825
|
PublicKey: byte[];
|
|
825
826
|
SignCount: uint;
|
|
826
|
-
get Transports(): string[] |
|
|
827
|
-
set Transports(value: string[] |
|
|
827
|
+
get Transports(): string[] | null;
|
|
828
|
+
set Transports(value: string[] | null);
|
|
828
829
|
}
|
|
829
830
|
|
|
830
831
|
|
|
@@ -838,24 +839,24 @@ export type IdentityPasskeyData = IdentityPasskeyData$instance;
|
|
|
838
839
|
export interface IdentityPasskeyOptions$instance {
|
|
839
840
|
readonly __tsonic_type_Microsoft_AspNetCore_Identity_IdentityPasskeyOptions: never;
|
|
840
841
|
|
|
841
|
-
get AttestationConveyancePreference(): string |
|
|
842
|
-
set AttestationConveyancePreference(value: string |
|
|
843
|
-
get AuthenticatorAttachment(): string |
|
|
844
|
-
set AuthenticatorAttachment(value: string |
|
|
842
|
+
get AttestationConveyancePreference(): string | null;
|
|
843
|
+
set AttestationConveyancePreference(value: string | null);
|
|
844
|
+
get AuthenticatorAttachment(): string | null;
|
|
845
|
+
set AuthenticatorAttachment(value: string | null);
|
|
845
846
|
AuthenticatorTimeout: TimeSpan;
|
|
846
847
|
ChallengeSize: int;
|
|
847
|
-
get IsAllowedAlgorithm(): Func_2<System_Internal.Int32, System_Internal.Boolean> |
|
|
848
|
-
set IsAllowedAlgorithm(value: Func_2<System_Internal.Int32, System_Internal.Boolean> |
|
|
849
|
-
get ResidentKeyRequirement(): string |
|
|
850
|
-
set ResidentKeyRequirement(value: string |
|
|
851
|
-
get ServerDomain(): string |
|
|
852
|
-
set ServerDomain(value: string |
|
|
853
|
-
get UserVerificationRequirement(): string |
|
|
854
|
-
set UserVerificationRequirement(value: string |
|
|
855
|
-
get ValidateOrigin(): Func_2<PasskeyOriginValidationContext |
|
|
856
|
-
set ValidateOrigin(value: Func_2<PasskeyOriginValidationContext |
|
|
857
|
-
get VerifyAttestationStatement(): Func_2<PasskeyAttestationStatementVerificationContext |
|
|
858
|
-
set VerifyAttestationStatement(value: Func_2<PasskeyAttestationStatementVerificationContext |
|
|
848
|
+
get IsAllowedAlgorithm(): Func_2<System_Internal.Int32, System_Internal.Boolean> | null;
|
|
849
|
+
set IsAllowedAlgorithm(value: Func_2<System_Internal.Int32, System_Internal.Boolean> | null);
|
|
850
|
+
get ResidentKeyRequirement(): string | null;
|
|
851
|
+
set ResidentKeyRequirement(value: string | null);
|
|
852
|
+
get ServerDomain(): string | null;
|
|
853
|
+
set ServerDomain(value: string | null);
|
|
854
|
+
get UserVerificationRequirement(): string | null;
|
|
855
|
+
set UserVerificationRequirement(value: string | null);
|
|
856
|
+
get ValidateOrigin(): Func_2<PasskeyOriginValidationContext | null, ValueTask_1<System_Internal.Boolean>> | null;
|
|
857
|
+
set ValidateOrigin(value: Func_2<PasskeyOriginValidationContext | null, ValueTask_1<System_Internal.Boolean>> | null);
|
|
858
|
+
get VerifyAttestationStatement(): Func_2<PasskeyAttestationStatementVerificationContext | null, ValueTask_1<System_Internal.Boolean>> | null;
|
|
859
|
+
set VerifyAttestationStatement(value: Func_2<PasskeyAttestationStatementVerificationContext | null, ValueTask_1<System_Internal.Boolean>> | null);
|
|
859
860
|
}
|
|
860
861
|
|
|
861
862
|
|
|
@@ -901,13 +902,13 @@ export type IdentityRole = IdentityRole$instance;
|
|
|
901
902
|
export interface IdentityRole_1$instance<TKey extends (IEquatable_1<TKey> | number | string | boolean)> {
|
|
902
903
|
readonly __tsonic_type_Microsoft_AspNetCore_Identity_IdentityRole_1: never;
|
|
903
904
|
|
|
904
|
-
get ConcurrencyStamp(): string |
|
|
905
|
-
set ConcurrencyStamp(value: string |
|
|
905
|
+
get ConcurrencyStamp(): string | null;
|
|
906
|
+
set ConcurrencyStamp(value: string | null);
|
|
906
907
|
Id: TKey;
|
|
907
|
-
get Name(): string |
|
|
908
|
-
set Name(value: string |
|
|
909
|
-
get NormalizedName(): string |
|
|
910
|
-
set NormalizedName(value: string |
|
|
908
|
+
get Name(): string | null;
|
|
909
|
+
set Name(value: string | null);
|
|
910
|
+
get NormalizedName(): string | null;
|
|
911
|
+
set NormalizedName(value: string | null);
|
|
911
912
|
ToString(): string;
|
|
912
913
|
}
|
|
913
914
|
|
|
@@ -923,13 +924,13 @@ export type IdentityRole_1<TKey extends (IEquatable_1<TKey> | number | string |
|
|
|
923
924
|
export interface IdentityRoleClaim_1$instance<TKey extends (IEquatable_1<TKey> | number | string | boolean)> {
|
|
924
925
|
readonly __tsonic_type_Microsoft_AspNetCore_Identity_IdentityRoleClaim_1: never;
|
|
925
926
|
|
|
926
|
-
get ClaimType(): string |
|
|
927
|
-
set ClaimType(value: string |
|
|
928
|
-
get ClaimValue(): string |
|
|
929
|
-
set ClaimValue(value: string |
|
|
927
|
+
get ClaimType(): string | null;
|
|
928
|
+
set ClaimType(value: string | null);
|
|
929
|
+
get ClaimValue(): string | null;
|
|
930
|
+
set ClaimValue(value: string | null);
|
|
930
931
|
Id: int;
|
|
931
932
|
RoleId: TKey;
|
|
932
|
-
InitializeFromClaim(other: Claim): void;
|
|
933
|
+
InitializeFromClaim(other: Claim | null): void;
|
|
933
934
|
ToClaim(): Claim;
|
|
934
935
|
}
|
|
935
936
|
|
|
@@ -959,29 +960,29 @@ export interface IdentityUser_1$instance<TKey extends (IEquatable_1<TKey> | numb
|
|
|
959
960
|
readonly __tsonic_type_Microsoft_AspNetCore_Identity_IdentityUser_1: never;
|
|
960
961
|
|
|
961
962
|
AccessFailedCount: int;
|
|
962
|
-
get ConcurrencyStamp(): string |
|
|
963
|
-
set ConcurrencyStamp(value: string |
|
|
964
|
-
get Email(): string |
|
|
965
|
-
set Email(value: string |
|
|
963
|
+
get ConcurrencyStamp(): string | null;
|
|
964
|
+
set ConcurrencyStamp(value: string | null);
|
|
965
|
+
get Email(): string | null;
|
|
966
|
+
set Email(value: string | null);
|
|
966
967
|
EmailConfirmed: boolean;
|
|
967
968
|
Id: TKey;
|
|
968
969
|
LockoutEnabled: boolean;
|
|
969
970
|
get LockoutEnd(): Nullable_1<DateTimeOffset>;
|
|
970
971
|
set LockoutEnd(value: Nullable_1<DateTimeOffset> | DateTimeOffset);
|
|
971
|
-
get NormalizedEmail(): string |
|
|
972
|
-
set NormalizedEmail(value: string |
|
|
973
|
-
get NormalizedUserName(): string |
|
|
974
|
-
set NormalizedUserName(value: string |
|
|
975
|
-
get PasswordHash(): string |
|
|
976
|
-
set PasswordHash(value: string |
|
|
977
|
-
get PhoneNumber(): string |
|
|
978
|
-
set PhoneNumber(value: string |
|
|
972
|
+
get NormalizedEmail(): string | null;
|
|
973
|
+
set NormalizedEmail(value: string | null);
|
|
974
|
+
get NormalizedUserName(): string | null;
|
|
975
|
+
set NormalizedUserName(value: string | null);
|
|
976
|
+
get PasswordHash(): string | null;
|
|
977
|
+
set PasswordHash(value: string | null);
|
|
978
|
+
get PhoneNumber(): string | null;
|
|
979
|
+
set PhoneNumber(value: string | null);
|
|
979
980
|
PhoneNumberConfirmed: boolean;
|
|
980
|
-
get SecurityStamp(): string |
|
|
981
|
-
set SecurityStamp(value: string |
|
|
981
|
+
get SecurityStamp(): string | null;
|
|
982
|
+
set SecurityStamp(value: string | null);
|
|
982
983
|
TwoFactorEnabled: boolean;
|
|
983
|
-
get UserName(): string |
|
|
984
|
-
set UserName(value: string |
|
|
984
|
+
get UserName(): string | null;
|
|
985
|
+
set UserName(value: string | null);
|
|
985
986
|
ToString(): string;
|
|
986
987
|
}
|
|
987
988
|
|
|
@@ -997,10 +998,10 @@ export type IdentityUser_1<TKey extends (IEquatable_1<TKey> | number | string |
|
|
|
997
998
|
export interface IdentityUserClaim_1$instance<TKey extends (IEquatable_1<TKey> | number | string | boolean)> {
|
|
998
999
|
readonly __tsonic_type_Microsoft_AspNetCore_Identity_IdentityUserClaim_1: never;
|
|
999
1000
|
|
|
1000
|
-
get ClaimType(): string |
|
|
1001
|
-
set ClaimType(value: string |
|
|
1002
|
-
get ClaimValue(): string |
|
|
1003
|
-
set ClaimValue(value: string |
|
|
1001
|
+
get ClaimType(): string | null;
|
|
1002
|
+
set ClaimType(value: string | null);
|
|
1003
|
+
get ClaimValue(): string | null;
|
|
1004
|
+
set ClaimValue(value: string | null);
|
|
1004
1005
|
Id: int;
|
|
1005
1006
|
UserId: TKey;
|
|
1006
1007
|
InitializeFromClaim(claim: Claim): void;
|
|
@@ -1019,8 +1020,8 @@ export interface IdentityUserLogin_1$instance<TKey extends (IEquatable_1<TKey> |
|
|
|
1019
1020
|
readonly __tsonic_type_Microsoft_AspNetCore_Identity_IdentityUserLogin_1: never;
|
|
1020
1021
|
|
|
1021
1022
|
LoginProvider: string;
|
|
1022
|
-
get ProviderDisplayName(): string |
|
|
1023
|
-
set ProviderDisplayName(value: string |
|
|
1023
|
+
get ProviderDisplayName(): string | null;
|
|
1024
|
+
set ProviderDisplayName(value: string | null);
|
|
1024
1025
|
ProviderKey: string;
|
|
1025
1026
|
UserId: TKey;
|
|
1026
1027
|
}
|
|
@@ -1070,8 +1071,8 @@ export interface IdentityUserToken_1$instance<TKey extends (IEquatable_1<TKey> |
|
|
|
1070
1071
|
LoginProvider: string;
|
|
1071
1072
|
Name: string;
|
|
1072
1073
|
UserId: TKey;
|
|
1073
|
-
get Value(): string |
|
|
1074
|
-
set Value(value: string |
|
|
1074
|
+
get Value(): string | null;
|
|
1075
|
+
set Value(value: string | null);
|
|
1075
1076
|
}
|
|
1076
1077
|
|
|
1077
1078
|
|
|
@@ -1101,8 +1102,8 @@ export type LockoutOptions = LockoutOptions$instance;
|
|
|
1101
1102
|
export interface PasskeyAssertionContext$instance {
|
|
1102
1103
|
readonly __tsonic_type_Microsoft_AspNetCore_Identity_PasskeyAssertionContext: never;
|
|
1103
1104
|
|
|
1104
|
-
get AssertionState(): string |
|
|
1105
|
-
set AssertionState(value: string |
|
|
1105
|
+
get AssertionState(): string | null;
|
|
1106
|
+
set AssertionState(value: string | null);
|
|
1106
1107
|
CredentialJson: string;
|
|
1107
1108
|
HttpContext: HttpContext;
|
|
1108
1109
|
}
|
|
@@ -1118,10 +1119,10 @@ export type PasskeyAssertionContext = PasskeyAssertionContext$instance;
|
|
|
1118
1119
|
export interface PasskeyAssertionResult_1$instance<TUser> {
|
|
1119
1120
|
readonly __tsonic_type_Microsoft_AspNetCore_Identity_PasskeyAssertionResult_1: never;
|
|
1120
1121
|
|
|
1121
|
-
readonly Failure: PasskeyException |
|
|
1122
|
-
readonly Passkey: UserPasskeyInfo |
|
|
1122
|
+
readonly Failure: PasskeyException | null;
|
|
1123
|
+
readonly Passkey: UserPasskeyInfo | null;
|
|
1123
1124
|
readonly Succeeded: boolean;
|
|
1124
|
-
readonly User: TUser |
|
|
1125
|
+
readonly User: TUser | null;
|
|
1125
1126
|
}
|
|
1126
1127
|
|
|
1127
1128
|
|
|
@@ -1134,8 +1135,8 @@ export type PasskeyAssertionResult_1<TUser> = PasskeyAssertionResult_1$instance<
|
|
|
1134
1135
|
export interface PasskeyAttestationContext$instance {
|
|
1135
1136
|
readonly __tsonic_type_Microsoft_AspNetCore_Identity_PasskeyAttestationContext: never;
|
|
1136
1137
|
|
|
1137
|
-
get AttestationState(): string |
|
|
1138
|
-
set AttestationState(value: string |
|
|
1138
|
+
get AttestationState(): string | null;
|
|
1139
|
+
set AttestationState(value: string | null);
|
|
1139
1140
|
CredentialJson: string;
|
|
1140
1141
|
HttpContext: HttpContext;
|
|
1141
1142
|
}
|
|
@@ -1151,10 +1152,10 @@ export type PasskeyAttestationContext = PasskeyAttestationContext$instance;
|
|
|
1151
1152
|
export interface PasskeyAttestationResult$instance {
|
|
1152
1153
|
readonly __tsonic_type_Microsoft_AspNetCore_Identity_PasskeyAttestationResult: never;
|
|
1153
1154
|
|
|
1154
|
-
readonly Failure: PasskeyException |
|
|
1155
|
-
readonly Passkey: UserPasskeyInfo |
|
|
1155
|
+
readonly Failure: PasskeyException | null;
|
|
1156
|
+
readonly Passkey: UserPasskeyInfo | null;
|
|
1156
1157
|
readonly Succeeded: boolean;
|
|
1157
|
-
readonly UserEntity: PasskeyUserEntity |
|
|
1158
|
+
readonly UserEntity: PasskeyUserEntity | null;
|
|
1158
1159
|
}
|
|
1159
1160
|
|
|
1160
1161
|
|
|
@@ -1185,8 +1186,8 @@ export type PasskeyAttestationStatementVerificationContext = PasskeyAttestationS
|
|
|
1185
1186
|
export interface PasskeyCreationOptionsResult$instance {
|
|
1186
1187
|
readonly __tsonic_type_Microsoft_AspNetCore_Identity_PasskeyCreationOptionsResult: never;
|
|
1187
1188
|
|
|
1188
|
-
get AttestationState(): string |
|
|
1189
|
-
set AttestationState(value: string |
|
|
1189
|
+
get AttestationState(): string | null;
|
|
1190
|
+
set AttestationState(value: string | null);
|
|
1190
1191
|
CreationOptionsJson: string;
|
|
1191
1192
|
}
|
|
1192
1193
|
|
|
@@ -1208,19 +1209,19 @@ export interface PasskeyException$instance extends Exception {
|
|
|
1208
1209
|
|
|
1209
1210
|
export const PasskeyException: {
|
|
1210
1211
|
new(message: string): PasskeyException;
|
|
1211
|
-
new(message: string, innerException: Exception): PasskeyException;
|
|
1212
|
+
new(message: string, innerException: Exception | null): PasskeyException;
|
|
1212
1213
|
};
|
|
1213
1214
|
|
|
1214
1215
|
|
|
1215
1216
|
export type PasskeyException = PasskeyException$instance;
|
|
1216
1217
|
|
|
1217
|
-
export interface PasskeyHandler_1$instance<TUser>
|
|
1218
|
+
export interface PasskeyHandler_1$instance<TUser> {
|
|
1218
1219
|
readonly __tsonic_type_Microsoft_AspNetCore_Identity_PasskeyHandler_1: never;
|
|
1219
1220
|
|
|
1220
1221
|
readonly __tsonic_iface_Microsoft_AspNetCore_Identity_IPasskeyHandler_1: never;
|
|
1221
1222
|
|
|
1222
1223
|
MakeCreationOptionsAsync(userEntity: PasskeyUserEntity, httpContext: HttpContext): Task_1<PasskeyCreationOptionsResult>;
|
|
1223
|
-
MakeRequestOptionsAsync(user: TUser, httpContext: HttpContext): Task_1<PasskeyRequestOptionsResult>;
|
|
1224
|
+
MakeRequestOptionsAsync(user: TUser | null, httpContext: HttpContext): Task_1<PasskeyRequestOptionsResult>;
|
|
1224
1225
|
PerformAssertionAsync(context: PasskeyAssertionContext): Task_1<PasskeyAssertionResult_1<TUser>>;
|
|
1225
1226
|
PerformAttestationAsync(context: PasskeyAttestationContext): Task_1<PasskeyAttestationResult>;
|
|
1226
1227
|
}
|
|
@@ -1244,8 +1245,8 @@ export interface PasskeyOriginValidationContext$instance {
|
|
|
1244
1245
|
CrossOrigin: boolean;
|
|
1245
1246
|
HttpContext: HttpContext;
|
|
1246
1247
|
Origin: string;
|
|
1247
|
-
get TopOrigin(): string |
|
|
1248
|
-
set TopOrigin(value: string |
|
|
1248
|
+
get TopOrigin(): string | null;
|
|
1249
|
+
set TopOrigin(value: string | null);
|
|
1249
1250
|
}
|
|
1250
1251
|
|
|
1251
1252
|
|
|
@@ -1259,8 +1260,8 @@ export type PasskeyOriginValidationContext = PasskeyOriginValidationContext$inst
|
|
|
1259
1260
|
export interface PasskeyRequestOptionsResult$instance {
|
|
1260
1261
|
readonly __tsonic_type_Microsoft_AspNetCore_Identity_PasskeyRequestOptionsResult: never;
|
|
1261
1262
|
|
|
1262
|
-
get AssertionState(): string |
|
|
1263
|
-
set AssertionState(value: string |
|
|
1263
|
+
get AssertionState(): string | null;
|
|
1264
|
+
set AssertionState(value: string | null);
|
|
1264
1265
|
RequestOptionsJson: string;
|
|
1265
1266
|
}
|
|
1266
1267
|
|
|
@@ -1299,7 +1300,7 @@ export interface PasswordHasher_1$instance<TUser> extends IPasswordHasher_1$inst
|
|
|
1299
1300
|
|
|
1300
1301
|
|
|
1301
1302
|
export const PasswordHasher_1: {
|
|
1302
|
-
new<TUser>(optionsAccessor: IOptions_1<PasswordHasherOptions>): PasswordHasher_1<TUser>;
|
|
1303
|
+
new<TUser>(optionsAccessor: IOptions_1<PasswordHasherOptions> | null): PasswordHasher_1<TUser>;
|
|
1303
1304
|
};
|
|
1304
1305
|
|
|
1305
1306
|
|
|
@@ -1354,12 +1355,12 @@ export interface PasswordValidator_1$instance<TUser> extends IPasswordValidator_
|
|
|
1354
1355
|
IsLetterOrDigit(c: char): boolean;
|
|
1355
1356
|
IsLower(c: char): boolean;
|
|
1356
1357
|
IsUpper(c: char): boolean;
|
|
1357
|
-
ValidateAsync(manager: UserManager_1<TUser>, user: TUser, password: string): Task_1<IdentityResult>;
|
|
1358
|
+
ValidateAsync(manager: UserManager_1<TUser>, user: TUser, password: string | null): Task_1<IdentityResult>;
|
|
1358
1359
|
}
|
|
1359
1360
|
|
|
1360
1361
|
|
|
1361
1362
|
export const PasswordValidator_1: {
|
|
1362
|
-
new<TUser>(errors: IdentityErrorDescriber): PasswordValidator_1<TUser>;
|
|
1363
|
+
new<TUser>(errors: IdentityErrorDescriber | null): PasswordValidator_1<TUser>;
|
|
1363
1364
|
};
|
|
1364
1365
|
|
|
1365
1366
|
|
|
@@ -1436,15 +1437,15 @@ export interface RoleManager_1$instance<TRole> {
|
|
|
1436
1437
|
DeleteAsync(role: TRole): Task_1<IdentityResult>;
|
|
1437
1438
|
Dispose(): void;
|
|
1438
1439
|
Dispose(disposing: boolean): void;
|
|
1439
|
-
FindByIdAsync(roleId: string): Task_1<TRole |
|
|
1440
|
-
FindByNameAsync(roleName: string): Task_1<TRole |
|
|
1440
|
+
FindByIdAsync(roleId: string): Task_1<TRole | null>;
|
|
1441
|
+
FindByNameAsync(roleName: string): Task_1<TRole | null>;
|
|
1441
1442
|
GetClaimsAsync(role: TRole): Task_1<IList_1<Claim>>;
|
|
1442
1443
|
GetRoleIdAsync(role: TRole): Task_1<System_Internal.String>;
|
|
1443
|
-
GetRoleNameAsync(role: TRole): Task_1<string |
|
|
1444
|
-
NormalizeKey(key: string): string |
|
|
1444
|
+
GetRoleNameAsync(role: TRole): Task_1<string | null>;
|
|
1445
|
+
NormalizeKey(key: string | null): string | null;
|
|
1445
1446
|
RemoveClaimAsync(role: TRole, claim: Claim): Task_1<IdentityResult>;
|
|
1446
1447
|
RoleExistsAsync(roleName: string): Task_1<System_Internal.Boolean>;
|
|
1447
|
-
SetRoleNameAsync(role: TRole, name: string): Task_1<IdentityResult>;
|
|
1448
|
+
SetRoleNameAsync(role: TRole, name: string | null): Task_1<IdentityResult>;
|
|
1448
1449
|
UpdateAsync(role: TRole): Task_1<IdentityResult>;
|
|
1449
1450
|
UpdateNormalizedRoleNameAsync(role: TRole): Task;
|
|
1450
1451
|
UpdateRoleAsync(role: TRole): Task_1<IdentityResult>;
|
|
@@ -1470,21 +1471,21 @@ export interface RoleStoreBase_4$instance<TRole extends IdentityRole_1<TKey>, TK
|
|
|
1470
1471
|
ErrorDescriber: IdentityErrorDescriber;
|
|
1471
1472
|
readonly Roles: IQueryable_1<TRole>;
|
|
1472
1473
|
AddClaimAsync(role: TRole, claim: Claim, cancellationToken?: CancellationToken): Task;
|
|
1473
|
-
ConvertIdFromString(id: string): TKey |
|
|
1474
|
-
ConvertIdToString(id: TKey): string |
|
|
1474
|
+
ConvertIdFromString(id: string | null): TKey | null;
|
|
1475
|
+
ConvertIdToString(id: TKey): string | null;
|
|
1475
1476
|
CreateAsync(role: TRole, cancellationToken?: CancellationToken): Task_1<IdentityResult>;
|
|
1476
1477
|
CreateRoleClaim(role: TRole, claim: Claim): TRoleClaim;
|
|
1477
1478
|
DeleteAsync(role: TRole, cancellationToken?: CancellationToken): Task_1<IdentityResult>;
|
|
1478
1479
|
Dispose(): void;
|
|
1479
|
-
FindByIdAsync(id: string, cancellationToken?: CancellationToken): Task_1<TRole |
|
|
1480
|
-
FindByNameAsync(normalizedName: string, cancellationToken?: CancellationToken): Task_1<TRole |
|
|
1480
|
+
FindByIdAsync(id: string, cancellationToken?: CancellationToken): Task_1<TRole | null>;
|
|
1481
|
+
FindByNameAsync(normalizedName: string, cancellationToken?: CancellationToken): Task_1<TRole | null>;
|
|
1481
1482
|
GetClaimsAsync(role: TRole, cancellationToken?: CancellationToken): Task_1<IList_1<Claim>>;
|
|
1482
|
-
GetNormalizedRoleNameAsync(role: TRole, cancellationToken?: CancellationToken): Task_1<string |
|
|
1483
|
+
GetNormalizedRoleNameAsync(role: TRole, cancellationToken?: CancellationToken): Task_1<string | null>;
|
|
1483
1484
|
GetRoleIdAsync(role: TRole, cancellationToken?: CancellationToken): Task_1<System_Internal.String>;
|
|
1484
|
-
GetRoleNameAsync(role: TRole, cancellationToken?: CancellationToken): Task_1<string |
|
|
1485
|
+
GetRoleNameAsync(role: TRole, cancellationToken?: CancellationToken): Task_1<string | null>;
|
|
1485
1486
|
RemoveClaimAsync(role: TRole, claim: Claim, cancellationToken?: CancellationToken): Task;
|
|
1486
|
-
SetNormalizedRoleNameAsync(role: TRole, normalizedName: string, cancellationToken?: CancellationToken): Task;
|
|
1487
|
-
SetRoleNameAsync(role: TRole, roleName: string, cancellationToken?: CancellationToken): Task;
|
|
1487
|
+
SetNormalizedRoleNameAsync(role: TRole, normalizedName: string | null, cancellationToken?: CancellationToken): Task;
|
|
1488
|
+
SetRoleNameAsync(role: TRole, roleName: string | null, cancellationToken?: CancellationToken): Task;
|
|
1488
1489
|
UpdateAsync(role: TRole, cancellationToken?: CancellationToken): Task_1<IdentityResult>;
|
|
1489
1490
|
}
|
|
1490
1491
|
|
|
@@ -1512,7 +1513,7 @@ export interface RoleValidator_1$instance<TRole> extends IRoleValidator_1$instan
|
|
|
1512
1513
|
|
|
1513
1514
|
|
|
1514
1515
|
export const RoleValidator_1: {
|
|
1515
|
-
new<TRole>(errors: IdentityErrorDescriber): RoleValidator_1<TRole>;
|
|
1516
|
+
new<TRole>(errors: IdentityErrorDescriber | null): RoleValidator_1<TRole>;
|
|
1516
1517
|
};
|
|
1517
1518
|
|
|
1518
1519
|
|
|
@@ -1526,10 +1527,10 @@ export type RoleValidator_1<TRole> = RoleValidator_1$instance<TRole> & __RoleVal
|
|
|
1526
1527
|
export interface SecurityStampRefreshingPrincipalContext$instance {
|
|
1527
1528
|
readonly __tsonic_type_Microsoft_AspNetCore_Identity_SecurityStampRefreshingPrincipalContext: never;
|
|
1528
1529
|
|
|
1529
|
-
get CurrentPrincipal(): ClaimsPrincipal |
|
|
1530
|
-
set CurrentPrincipal(value: ClaimsPrincipal |
|
|
1531
|
-
get NewPrincipal(): ClaimsPrincipal |
|
|
1532
|
-
set NewPrincipal(value: ClaimsPrincipal |
|
|
1530
|
+
get CurrentPrincipal(): ClaimsPrincipal | null;
|
|
1531
|
+
set CurrentPrincipal(value: ClaimsPrincipal | null);
|
|
1532
|
+
get NewPrincipal(): ClaimsPrincipal | null;
|
|
1533
|
+
set NewPrincipal(value: ClaimsPrincipal | null);
|
|
1533
1534
|
}
|
|
1534
1535
|
|
|
1535
1536
|
|
|
@@ -1552,7 +1553,7 @@ export interface SecurityStampValidator_1$instance<TUser> extends ISecurityStamp
|
|
|
1552
1553
|
readonly TimeProvider: TimeProvider;
|
|
1553
1554
|
SecurityStampVerified(user: TUser, context: CookieValidatePrincipalContext): Task;
|
|
1554
1555
|
ValidateAsync(context: CookieValidatePrincipalContext): Task;
|
|
1555
|
-
VerifySecurityStamp(principal: ClaimsPrincipal): Task_1<TUser |
|
|
1556
|
+
VerifySecurityStamp(principal: ClaimsPrincipal | null): Task_1<TUser | null>;
|
|
1556
1557
|
}
|
|
1557
1558
|
|
|
1558
1559
|
|
|
@@ -1572,10 +1573,10 @@ export type SecurityStampValidator_1<TUser> = SecurityStampValidator_1$instance<
|
|
|
1572
1573
|
export interface SecurityStampValidatorOptions$instance {
|
|
1573
1574
|
readonly __tsonic_type_Microsoft_AspNetCore_Identity_SecurityStampValidatorOptions: never;
|
|
1574
1575
|
|
|
1575
|
-
get OnRefreshingPrincipal(): Func_2<SecurityStampRefreshingPrincipalContext, Task> |
|
|
1576
|
-
set OnRefreshingPrincipal(value: Func_2<SecurityStampRefreshingPrincipalContext, Task> |
|
|
1577
|
-
get TimeProvider(): TimeProvider |
|
|
1578
|
-
set TimeProvider(value: TimeProvider |
|
|
1576
|
+
get OnRefreshingPrincipal(): Func_2<SecurityStampRefreshingPrincipalContext, Task> | null;
|
|
1577
|
+
set OnRefreshingPrincipal(value: Func_2<SecurityStampRefreshingPrincipalContext, Task> | null);
|
|
1578
|
+
get TimeProvider(): TimeProvider | null;
|
|
1579
|
+
set TimeProvider(value: TimeProvider | null);
|
|
1579
1580
|
ValidationInterval: TimeSpan;
|
|
1580
1581
|
}
|
|
1581
1582
|
|
|
@@ -1598,43 +1599,43 @@ export interface SignInManager_1$instance<TUser> {
|
|
|
1598
1599
|
UserManager: UserManager_1<TUser>;
|
|
1599
1600
|
CanSignInAsync(user: TUser): Task_1<System_Internal.Boolean>;
|
|
1600
1601
|
CheckPasswordSignInAsync(user: TUser, password: string, lockoutOnFailure: boolean): Task_1<SignInResult>;
|
|
1601
|
-
ConfigureExternalAuthenticationProperties(provider: string, redirectUrl: string, userId?: string): AuthenticationProperties;
|
|
1602
|
+
ConfigureExternalAuthenticationProperties(provider: string | null, redirectUrl: string | null, userId?: string | null): AuthenticationProperties;
|
|
1602
1603
|
CreateUserPrincipalAsync(user: TUser): Task_1<ClaimsPrincipal>;
|
|
1603
1604
|
ExternalLoginSignInAsync(loginProvider: string, providerKey: string, isPersistent: boolean): Task_1<SignInResult>;
|
|
1604
1605
|
ExternalLoginSignInAsync(loginProvider: string, providerKey: string, isPersistent: boolean, bypassTwoFactor: boolean): Task_1<SignInResult>;
|
|
1605
1606
|
ForgetTwoFactorClientAsync(): Task;
|
|
1606
1607
|
GetExternalAuthenticationSchemesAsync(): Task_1<IEnumerable_1<AuthenticationScheme>>;
|
|
1607
|
-
GetExternalLoginInfoAsync(expectedXsrf?: string): Task_1<ExternalLoginInfo |
|
|
1608
|
-
GetTwoFactorAuthenticationUserAsync(): Task_1<TUser |
|
|
1608
|
+
GetExternalLoginInfoAsync(expectedXsrf?: string | null): Task_1<ExternalLoginInfo | null>;
|
|
1609
|
+
GetTwoFactorAuthenticationUserAsync(): Task_1<TUser | null>;
|
|
1609
1610
|
IsLockedOut(user: TUser): Task_1<System_Internal.Boolean>;
|
|
1610
1611
|
IsSignedIn(principal: ClaimsPrincipal): boolean;
|
|
1611
1612
|
IsTwoFactorClientRememberedAsync(user: TUser): Task_1<System_Internal.Boolean>;
|
|
1612
1613
|
IsTwoFactorEnabledAsync(user: TUser): Task_1<System_Internal.Boolean>;
|
|
1613
1614
|
LockedOut(user: TUser): Task_1<SignInResult>;
|
|
1614
1615
|
MakePasskeyCreationOptionsAsync(userEntity: PasskeyUserEntity): Task_1<System_Internal.String>;
|
|
1615
|
-
MakePasskeyRequestOptionsAsync(user: TUser): Task_1<System_Internal.String>;
|
|
1616
|
+
MakePasskeyRequestOptionsAsync(user: TUser | null): Task_1<System_Internal.String>;
|
|
1616
1617
|
PasskeySignInAsync(credentialJson: string): Task_1<SignInResult>;
|
|
1617
1618
|
PasswordSignInAsync(user: TUser, password: string, isPersistent: boolean, lockoutOnFailure: boolean): Task_1<SignInResult>;
|
|
1618
1619
|
PasswordSignInAsync(userName: string, password: string, isPersistent: boolean, lockoutOnFailure: boolean): Task_1<SignInResult>;
|
|
1619
1620
|
PerformPasskeyAssertionAsync(credentialJson: string): Task_1<PasskeyAssertionResult_1<TUser>>;
|
|
1620
1621
|
PerformPasskeyAttestationAsync(credentialJson: string): Task_1<PasskeyAttestationResult>;
|
|
1621
|
-
PreSignInCheck(user: TUser): Task_1<SignInResult |
|
|
1622
|
+
PreSignInCheck(user: TUser): Task_1<SignInResult | null>;
|
|
1622
1623
|
RefreshSignInAsync(user: TUser): Task;
|
|
1623
1624
|
RememberTwoFactorClientAsync(user: TUser): Task;
|
|
1624
1625
|
ResetLockout(user: TUser): Task;
|
|
1625
|
-
SignInAsync(user: TUser, isPersistent: boolean, authenticationMethod?: string): Task;
|
|
1626
|
-
SignInAsync(user: TUser, authenticationProperties: AuthenticationProperties, authenticationMethod?: string): Task;
|
|
1627
|
-
SignInOrTwoFactorAsync(user: TUser, isPersistent: boolean, loginProvider?: string, bypassTwoFactor?: boolean): Task_1<SignInResult>;
|
|
1626
|
+
SignInAsync(user: TUser, isPersistent: boolean, authenticationMethod?: string | null): Task;
|
|
1627
|
+
SignInAsync(user: TUser, authenticationProperties: AuthenticationProperties, authenticationMethod?: string | null): Task;
|
|
1628
|
+
SignInOrTwoFactorAsync(user: TUser, isPersistent: boolean, loginProvider?: string | null, bypassTwoFactor?: boolean): Task_1<SignInResult>;
|
|
1628
1629
|
SignInWithClaimsAsync(user: TUser, isPersistent: boolean, additionalClaims: IEnumerable_1<Claim>): Task;
|
|
1629
|
-
SignInWithClaimsAsync(user: TUser, authenticationProperties: AuthenticationProperties, additionalClaims: IEnumerable_1<Claim>): Task;
|
|
1630
|
+
SignInWithClaimsAsync(user: TUser, authenticationProperties: AuthenticationProperties | null, additionalClaims: IEnumerable_1<Claim>): Task;
|
|
1630
1631
|
SignOutAsync(): Task;
|
|
1631
1632
|
TwoFactorAuthenticatorSignInAsync(code: string, isPersistent: boolean, rememberClient: boolean): Task_1<SignInResult>;
|
|
1632
1633
|
TwoFactorRecoveryCodeSignInAsync(recoveryCode: string): Task_1<SignInResult>;
|
|
1633
1634
|
TwoFactorSignInAsync(provider: string, code: string, isPersistent: boolean, rememberClient: boolean): Task_1<SignInResult>;
|
|
1634
1635
|
UpdateExternalAuthenticationTokensAsync(externalLogin: ExternalLoginInfo): Task_1<IdentityResult>;
|
|
1635
|
-
ValidateSecurityStampAsync(principal: ClaimsPrincipal): Task_1<TUser |
|
|
1636
|
-
ValidateSecurityStampAsync(user: TUser, securityStamp: string): Task_1<System_Internal.Boolean>;
|
|
1637
|
-
ValidateTwoFactorSecurityStampAsync(principal: ClaimsPrincipal): Task_1<TUser |
|
|
1636
|
+
ValidateSecurityStampAsync(principal: ClaimsPrincipal | null): Task_1<TUser | null>;
|
|
1637
|
+
ValidateSecurityStampAsync(user: TUser | null, securityStamp: string | null): Task_1<System_Internal.Boolean>;
|
|
1638
|
+
ValidateTwoFactorSecurityStampAsync(principal: ClaimsPrincipal | null): Task_1<TUser | null>;
|
|
1638
1639
|
}
|
|
1639
1640
|
|
|
1640
1641
|
|
|
@@ -1727,8 +1728,8 @@ export type TokenOptions = TokenOptions$instance;
|
|
|
1727
1728
|
export interface TokenProviderDescriptor$instance {
|
|
1728
1729
|
readonly __tsonic_type_Microsoft_AspNetCore_Identity_TokenProviderDescriptor: never;
|
|
1729
1730
|
|
|
1730
|
-
get ProviderInstance():
|
|
1731
|
-
set ProviderInstance(value:
|
|
1731
|
+
get ProviderInstance(): JsValue | null;
|
|
1732
|
+
set ProviderInstance(value: JsValue | null);
|
|
1732
1733
|
readonly ProviderType: Type;
|
|
1733
1734
|
}
|
|
1734
1735
|
|
|
@@ -1770,7 +1771,7 @@ export interface TwoFactorSecurityStampValidator_1$instance<TUser> extends Secur
|
|
|
1770
1771
|
readonly __tsonic_iface_Microsoft_AspNetCore_Identity_ITwoFactorSecurityStampValidator: never;
|
|
1771
1772
|
|
|
1772
1773
|
SecurityStampVerified(user: TUser, context: CookieValidatePrincipalContext): Task;
|
|
1773
|
-
VerifySecurityStamp(principal: ClaimsPrincipal): Task_1<TUser |
|
|
1774
|
+
VerifySecurityStamp(principal: ClaimsPrincipal | null): Task_1<TUser | null>;
|
|
1774
1775
|
}
|
|
1775
1776
|
|
|
1776
1777
|
|
|
@@ -1792,8 +1793,8 @@ export interface UpperInvariantLookupNormalizer$instance extends ILookupNormaliz
|
|
|
1792
1793
|
|
|
1793
1794
|
readonly __tsonic_iface_Microsoft_AspNetCore_Identity_ILookupNormalizer: never;
|
|
1794
1795
|
|
|
1795
|
-
NormalizeEmail(email: string): string |
|
|
1796
|
-
NormalizeName(name: string): string |
|
|
1796
|
+
NormalizeEmail(email: string | null): string | null;
|
|
1797
|
+
NormalizeName(name: string | null): string | null;
|
|
1797
1798
|
}
|
|
1798
1799
|
|
|
1799
1800
|
|
|
@@ -1859,14 +1860,14 @@ export interface UserLoginInfo$instance {
|
|
|
1859
1860
|
readonly __tsonic_type_Microsoft_AspNetCore_Identity_UserLoginInfo: never;
|
|
1860
1861
|
|
|
1861
1862
|
LoginProvider: string;
|
|
1862
|
-
get ProviderDisplayName(): string |
|
|
1863
|
-
set ProviderDisplayName(value: string |
|
|
1863
|
+
get ProviderDisplayName(): string | null;
|
|
1864
|
+
set ProviderDisplayName(value: string | null);
|
|
1864
1865
|
ProviderKey: string;
|
|
1865
1866
|
}
|
|
1866
1867
|
|
|
1867
1868
|
|
|
1868
1869
|
export const UserLoginInfo: {
|
|
1869
|
-
new(loginProvider: string, providerKey: string, providerDisplayName: string): UserLoginInfo;
|
|
1870
|
+
new(loginProvider: string, providerKey: string, providerDisplayName: string | null): UserLoginInfo;
|
|
1870
1871
|
};
|
|
1871
1872
|
|
|
1872
1873
|
|
|
@@ -1922,39 +1923,39 @@ export interface UserManager_1$instance<TUser> {
|
|
|
1922
1923
|
DeleteAsync(user: TUser): Task_1<IdentityResult>;
|
|
1923
1924
|
Dispose(): void;
|
|
1924
1925
|
Dispose(disposing: boolean): void;
|
|
1925
|
-
FindByEmailAsync(email: string): Task_1<TUser |
|
|
1926
|
-
FindByIdAsync(userId: string): Task_1<TUser |
|
|
1927
|
-
FindByLoginAsync(loginProvider: string, providerKey: string): Task_1<TUser |
|
|
1928
|
-
FindByNameAsync(userName: string): Task_1<TUser |
|
|
1929
|
-
FindByPasskeyIdAsync(credentialId: byte[]): Task_1<TUser |
|
|
1926
|
+
FindByEmailAsync(email: string): Task_1<TUser | null>;
|
|
1927
|
+
FindByIdAsync(userId: string): Task_1<TUser | null>;
|
|
1928
|
+
FindByLoginAsync(loginProvider: string, providerKey: string): Task_1<TUser | null>;
|
|
1929
|
+
FindByNameAsync(userName: string): Task_1<TUser | null>;
|
|
1930
|
+
FindByPasskeyIdAsync(credentialId: byte[]): Task_1<TUser | null>;
|
|
1930
1931
|
GenerateChangeEmailTokenAsync(user: TUser, newEmail: string): Task_1<System_Internal.String>;
|
|
1931
1932
|
GenerateChangePhoneNumberTokenAsync(user: TUser, phoneNumber: string): Task_1<System_Internal.String>;
|
|
1932
1933
|
GenerateConcurrencyStampAsync(user: TUser): Task_1<System_Internal.String>;
|
|
1933
1934
|
GenerateEmailConfirmationTokenAsync(user: TUser): Task_1<System_Internal.String>;
|
|
1934
1935
|
GenerateNewAuthenticatorKey(): string;
|
|
1935
|
-
GenerateNewTwoFactorRecoveryCodesAsync(user: TUser, number: int): Task_1<IEnumerable_1<System_Internal.String> |
|
|
1936
|
+
GenerateNewTwoFactorRecoveryCodesAsync(user: TUser, number: int): Task_1<IEnumerable_1<System_Internal.String> | null>;
|
|
1936
1937
|
GeneratePasswordResetTokenAsync(user: TUser): Task_1<System_Internal.String>;
|
|
1937
1938
|
GenerateTwoFactorTokenAsync(user: TUser, tokenProvider: string): Task_1<System_Internal.String>;
|
|
1938
1939
|
GenerateUserTokenAsync(user: TUser, tokenProvider: string, purpose: string): Task_1<System_Internal.String>;
|
|
1939
1940
|
GetAccessFailedCountAsync(user: TUser): Task_1<System_Internal.Int32>;
|
|
1940
|
-
GetAuthenticationTokenAsync(user: TUser, loginProvider: string, tokenName: string): Task_1<string |
|
|
1941
|
-
GetAuthenticatorKeyAsync(user: TUser): Task_1<string |
|
|
1941
|
+
GetAuthenticationTokenAsync(user: TUser, loginProvider: string, tokenName: string): Task_1<string | null>;
|
|
1942
|
+
GetAuthenticatorKeyAsync(user: TUser): Task_1<string | null>;
|
|
1942
1943
|
GetClaimsAsync(user: TUser): Task_1<IList_1<Claim>>;
|
|
1943
|
-
GetEmailAsync(user: TUser): Task_1<string |
|
|
1944
|
+
GetEmailAsync(user: TUser): Task_1<string | null>;
|
|
1944
1945
|
GetLockoutEnabledAsync(user: TUser): Task_1<System_Internal.Boolean>;
|
|
1945
1946
|
GetLockoutEndDateAsync(user: TUser): Task_1<Nullable_1<DateTimeOffset>>;
|
|
1946
1947
|
GetLoginsAsync(user: TUser): Task_1<IList_1<UserLoginInfo>>;
|
|
1947
|
-
GetPasskeyAsync(user: TUser, credentialId: byte[]): Task_1<UserPasskeyInfo |
|
|
1948
|
+
GetPasskeyAsync(user: TUser, credentialId: byte[]): Task_1<UserPasskeyInfo | null>;
|
|
1948
1949
|
GetPasskeysAsync(user: TUser): Task_1<IList_1<UserPasskeyInfo>>;
|
|
1949
|
-
GetPhoneNumberAsync(user: TUser): Task_1<string |
|
|
1950
|
+
GetPhoneNumberAsync(user: TUser): Task_1<string | null>;
|
|
1950
1951
|
GetRolesAsync(user: TUser): Task_1<IList_1<System_Internal.String>>;
|
|
1951
1952
|
GetSecurityStampAsync(user: TUser): Task_1<System_Internal.String>;
|
|
1952
1953
|
GetTwoFactorEnabledAsync(user: TUser): Task_1<System_Internal.Boolean>;
|
|
1953
|
-
GetUserAsync(principal: ClaimsPrincipal): Task_1<TUser |
|
|
1954
|
-
GetUserId(principal: ClaimsPrincipal): string |
|
|
1954
|
+
GetUserAsync(principal: ClaimsPrincipal): Task_1<TUser | null>;
|
|
1955
|
+
GetUserId(principal: ClaimsPrincipal): string | null;
|
|
1955
1956
|
GetUserIdAsync(user: TUser): Task_1<System_Internal.String>;
|
|
1956
|
-
GetUserName(principal: ClaimsPrincipal): string |
|
|
1957
|
-
GetUserNameAsync(user: TUser): Task_1<string |
|
|
1957
|
+
GetUserName(principal: ClaimsPrincipal): string | null;
|
|
1958
|
+
GetUserNameAsync(user: TUser): Task_1<string | null>;
|
|
1958
1959
|
GetUsersForClaimAsync(claim: Claim): Task_1<IList_1<TUser>>;
|
|
1959
1960
|
GetUsersInRoleAsync(roleName: string): Task_1<IList_1<TUser>>;
|
|
1960
1961
|
GetValidTwoFactorProvidersAsync(user: TUser): Task_1<IList_1<System_Internal.String>>;
|
|
@@ -1963,8 +1964,8 @@ export interface UserManager_1$instance<TUser> {
|
|
|
1963
1964
|
IsInRoleAsync(user: TUser, role: string): Task_1<System_Internal.Boolean>;
|
|
1964
1965
|
IsLockedOutAsync(user: TUser): Task_1<System_Internal.Boolean>;
|
|
1965
1966
|
IsPhoneNumberConfirmedAsync(user: TUser): Task_1<System_Internal.Boolean>;
|
|
1966
|
-
NormalizeEmail(email: string): string |
|
|
1967
|
-
NormalizeName(name: string): string |
|
|
1967
|
+
NormalizeEmail(email: string | null): string | null;
|
|
1968
|
+
NormalizeName(name: string | null): string | null;
|
|
1968
1969
|
RedeemTwoFactorRecoveryCodeAsync(user: TUser, code: string): Task_1<IdentityResult>;
|
|
1969
1970
|
RegisterTokenProvider(providerName: string, provider: IUserTwoFactorTokenProvider_1<TUser>): void;
|
|
1970
1971
|
RemoveAuthenticationTokenAsync(user: TUser, loginProvider: string, tokenName: string): Task_1<IdentityResult>;
|
|
@@ -1979,13 +1980,13 @@ export interface UserManager_1$instance<TUser> {
|
|
|
1979
1980
|
ResetAccessFailedCountAsync(user: TUser): Task_1<IdentityResult>;
|
|
1980
1981
|
ResetAuthenticatorKeyAsync(user: TUser): Task_1<IdentityResult>;
|
|
1981
1982
|
ResetPasswordAsync(user: TUser, token: string, newPassword: string): Task_1<IdentityResult>;
|
|
1982
|
-
SetAuthenticationTokenAsync(user: TUser, loginProvider: string, tokenName: string, tokenValue: string): Task_1<IdentityResult>;
|
|
1983
|
-
SetEmailAsync(user: TUser, email: string): Task_1<IdentityResult>;
|
|
1983
|
+
SetAuthenticationTokenAsync(user: TUser, loginProvider: string, tokenName: string, tokenValue: string | null): Task_1<IdentityResult>;
|
|
1984
|
+
SetEmailAsync(user: TUser, email: string | null): Task_1<IdentityResult>;
|
|
1984
1985
|
SetLockoutEnabledAsync(user: TUser, enabled: boolean): Task_1<IdentityResult>;
|
|
1985
1986
|
SetLockoutEndDateAsync(user: TUser, lockoutEnd: Nullable_1<DateTimeOffset>): Task_1<IdentityResult>;
|
|
1986
|
-
SetPhoneNumberAsync(user: TUser, phoneNumber: string): Task_1<IdentityResult>;
|
|
1987
|
+
SetPhoneNumberAsync(user: TUser, phoneNumber: string | null): Task_1<IdentityResult>;
|
|
1987
1988
|
SetTwoFactorEnabledAsync(user: TUser, enabled: boolean): Task_1<IdentityResult>;
|
|
1988
|
-
SetUserNameAsync(user: TUser, userName: string): Task_1<IdentityResult>;
|
|
1989
|
+
SetUserNameAsync(user: TUser, userName: string | null): Task_1<IdentityResult>;
|
|
1989
1990
|
UpdateAsync(user: TUser): Task_1<IdentityResult>;
|
|
1990
1991
|
UpdateNormalizedEmailAsync(user: TUser): Task;
|
|
1991
1992
|
UpdateNormalizedUserNameAsync(user: TUser): Task;
|
|
@@ -2035,16 +2036,16 @@ export interface UserPasskeyInfo$instance {
|
|
|
2035
2036
|
IsBackedUp: boolean;
|
|
2036
2037
|
readonly IsBackupEligible: boolean;
|
|
2037
2038
|
IsUserVerified: boolean;
|
|
2038
|
-
get Name(): string |
|
|
2039
|
-
set Name(value: string |
|
|
2039
|
+
get Name(): string | null;
|
|
2040
|
+
set Name(value: string | null);
|
|
2040
2041
|
readonly PublicKey: byte[];
|
|
2041
2042
|
SignCount: uint;
|
|
2042
|
-
readonly Transports: string[] |
|
|
2043
|
+
readonly Transports: string[] | null;
|
|
2043
2044
|
}
|
|
2044
2045
|
|
|
2045
2046
|
|
|
2046
2047
|
export const UserPasskeyInfo: {
|
|
2047
|
-
new(credentialId: byte[], publicKey: byte[], createdAt: DateTimeOffset, signCount: uint, transports: string[], isUserVerified: boolean, isBackupEligible: boolean, isBackedUp: boolean, attestationObject: byte[], clientDataJson: byte[]): UserPasskeyInfo;
|
|
2048
|
+
new(credentialId: byte[], publicKey: byte[], createdAt: DateTimeOffset, signCount: uint, transports: string[] | null, isUserVerified: boolean, isBackupEligible: boolean, isBackedUp: boolean, attestationObject: byte[], clientDataJson: byte[]): UserPasskeyInfo;
|
|
2048
2049
|
};
|
|
2049
2050
|
|
|
2050
2051
|
|
|
@@ -2073,41 +2074,41 @@ export interface UserStoreBase_5$instance<TUser extends IdentityUser_1<TKey>, TK
|
|
|
2073
2074
|
AddClaimsAsync(user: TUser, claims: IEnumerable_1<Claim>, cancellationToken?: CancellationToken): Task;
|
|
2074
2075
|
AddLoginAsync(user: TUser, login: UserLoginInfo, cancellationToken?: CancellationToken): Task;
|
|
2075
2076
|
AddUserTokenAsync(token: TUserToken): Task;
|
|
2076
|
-
ConvertIdFromString(id: string): TKey |
|
|
2077
|
-
ConvertIdToString(id: TKey): string |
|
|
2077
|
+
ConvertIdFromString(id: string | null): TKey | null;
|
|
2078
|
+
ConvertIdToString(id: TKey): string | null;
|
|
2078
2079
|
CountCodesAsync(user: TUser, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
|
|
2079
2080
|
CreateAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<IdentityResult>;
|
|
2080
2081
|
CreateUserClaim(user: TUser, claim: Claim): TUserClaim;
|
|
2081
2082
|
CreateUserLogin(user: TUser, login: UserLoginInfo): TUserLogin;
|
|
2082
|
-
CreateUserToken(user: TUser, loginProvider: string, name: string, value: string): TUserToken;
|
|
2083
|
+
CreateUserToken(user: TUser, loginProvider: string, name: string, value: string | null): TUserToken;
|
|
2083
2084
|
DeleteAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<IdentityResult>;
|
|
2084
2085
|
Dispose(): void;
|
|
2085
|
-
FindByEmailAsync(normalizedEmail: string, cancellationToken?: CancellationToken): Task_1<TUser |
|
|
2086
|
-
FindByIdAsync(userId: string, cancellationToken?: CancellationToken): Task_1<TUser |
|
|
2087
|
-
FindByLoginAsync(loginProvider: string, providerKey: string, cancellationToken?: CancellationToken): Task_1<TUser |
|
|
2088
|
-
FindByNameAsync(normalizedUserName: string, cancellationToken?: CancellationToken): Task_1<TUser |
|
|
2089
|
-
FindTokenAsync(user: TUser, loginProvider: string, name: string, cancellationToken: CancellationToken): Task_1<TUserToken |
|
|
2090
|
-
FindUserAsync(userId: TKey, cancellationToken: CancellationToken): Task_1<TUser |
|
|
2091
|
-
FindUserLoginAsync(userId: TKey, loginProvider: string, providerKey: string, cancellationToken: CancellationToken): Task_1<TUserLogin |
|
|
2092
|
-
FindUserLoginAsync(loginProvider: string, providerKey: string, cancellationToken: CancellationToken): Task_1<TUserLogin |
|
|
2086
|
+
FindByEmailAsync(normalizedEmail: string, cancellationToken?: CancellationToken): Task_1<TUser | null>;
|
|
2087
|
+
FindByIdAsync(userId: string, cancellationToken?: CancellationToken): Task_1<TUser | null>;
|
|
2088
|
+
FindByLoginAsync(loginProvider: string, providerKey: string, cancellationToken?: CancellationToken): Task_1<TUser | null>;
|
|
2089
|
+
FindByNameAsync(normalizedUserName: string, cancellationToken?: CancellationToken): Task_1<TUser | null>;
|
|
2090
|
+
FindTokenAsync(user: TUser, loginProvider: string, name: string, cancellationToken: CancellationToken): Task_1<TUserToken | null>;
|
|
2091
|
+
FindUserAsync(userId: TKey, cancellationToken: CancellationToken): Task_1<TUser | null>;
|
|
2092
|
+
FindUserLoginAsync(userId: TKey, loginProvider: string, providerKey: string, cancellationToken: CancellationToken): Task_1<TUserLogin | null>;
|
|
2093
|
+
FindUserLoginAsync(loginProvider: string, providerKey: string, cancellationToken: CancellationToken): Task_1<TUserLogin | null>;
|
|
2093
2094
|
GetAccessFailedCountAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<System_Internal.Int32>;
|
|
2094
|
-
GetAuthenticatorKeyAsync(user: TUser, cancellationToken: CancellationToken): Task_1<string |
|
|
2095
|
+
GetAuthenticatorKeyAsync(user: TUser, cancellationToken: CancellationToken): Task_1<string | null>;
|
|
2095
2096
|
GetClaimsAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<IList_1<Claim>>;
|
|
2096
|
-
GetEmailAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<string |
|
|
2097
|
+
GetEmailAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<string | null>;
|
|
2097
2098
|
GetEmailConfirmedAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<System_Internal.Boolean>;
|
|
2098
2099
|
GetLockoutEnabledAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<System_Internal.Boolean>;
|
|
2099
2100
|
GetLockoutEndDateAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<Nullable_1<DateTimeOffset>>;
|
|
2100
2101
|
GetLoginsAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<IList_1<UserLoginInfo>>;
|
|
2101
|
-
GetNormalizedEmailAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<string |
|
|
2102
|
-
GetNormalizedUserNameAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<string |
|
|
2103
|
-
GetPasswordHashAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<string |
|
|
2104
|
-
GetPhoneNumberAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<string |
|
|
2102
|
+
GetNormalizedEmailAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<string | null>;
|
|
2103
|
+
GetNormalizedUserNameAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<string | null>;
|
|
2104
|
+
GetPasswordHashAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<string | null>;
|
|
2105
|
+
GetPhoneNumberAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<string | null>;
|
|
2105
2106
|
GetPhoneNumberConfirmedAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<System_Internal.Boolean>;
|
|
2106
|
-
GetSecurityStampAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<string |
|
|
2107
|
-
GetTokenAsync(user: TUser, loginProvider: string, name: string, cancellationToken: CancellationToken): Task_1<string |
|
|
2107
|
+
GetSecurityStampAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<string | null>;
|
|
2108
|
+
GetTokenAsync(user: TUser, loginProvider: string, name: string, cancellationToken: CancellationToken): Task_1<string | null>;
|
|
2108
2109
|
GetTwoFactorEnabledAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<System_Internal.Boolean>;
|
|
2109
2110
|
GetUserIdAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<System_Internal.String>;
|
|
2110
|
-
GetUserNameAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<string |
|
|
2111
|
+
GetUserNameAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<string | null>;
|
|
2111
2112
|
GetUsersForClaimAsync(claim: Claim, cancellationToken?: CancellationToken): Task_1<IList_1<TUser>>;
|
|
2112
2113
|
HasPasswordAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<System_Internal.Boolean>;
|
|
2113
2114
|
IncrementAccessFailedCountAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<System_Internal.Int32>;
|
|
@@ -2120,19 +2121,19 @@ export interface UserStoreBase_5$instance<TUser extends IdentityUser_1<TKey>, TK
|
|
|
2120
2121
|
ReplaceCodesAsync(user: TUser, recoveryCodes: IEnumerable_1<System_Internal.String>, cancellationToken: CancellationToken): Task;
|
|
2121
2122
|
ResetAccessFailedCountAsync(user: TUser, cancellationToken?: CancellationToken): Task;
|
|
2122
2123
|
SetAuthenticatorKeyAsync(user: TUser, key: string, cancellationToken: CancellationToken): Task;
|
|
2123
|
-
SetEmailAsync(user: TUser, email: string, cancellationToken?: CancellationToken): Task;
|
|
2124
|
+
SetEmailAsync(user: TUser, email: string | null, cancellationToken?: CancellationToken): Task;
|
|
2124
2125
|
SetEmailConfirmedAsync(user: TUser, confirmed: boolean, cancellationToken?: CancellationToken): Task;
|
|
2125
2126
|
SetLockoutEnabledAsync(user: TUser, enabled: boolean, cancellationToken?: CancellationToken): Task;
|
|
2126
2127
|
SetLockoutEndDateAsync(user: TUser, lockoutEnd: Nullable_1<DateTimeOffset>, cancellationToken?: CancellationToken): Task;
|
|
2127
|
-
SetNormalizedEmailAsync(user: TUser, normalizedEmail: string, cancellationToken?: CancellationToken): Task;
|
|
2128
|
-
SetNormalizedUserNameAsync(user: TUser, normalizedName: string, cancellationToken?: CancellationToken): Task;
|
|
2129
|
-
SetPasswordHashAsync(user: TUser, passwordHash: string, cancellationToken?: CancellationToken): Task;
|
|
2130
|
-
SetPhoneNumberAsync(user: TUser, phoneNumber: string, cancellationToken?: CancellationToken): Task;
|
|
2128
|
+
SetNormalizedEmailAsync(user: TUser, normalizedEmail: string | null, cancellationToken?: CancellationToken): Task;
|
|
2129
|
+
SetNormalizedUserNameAsync(user: TUser, normalizedName: string | null, cancellationToken?: CancellationToken): Task;
|
|
2130
|
+
SetPasswordHashAsync(user: TUser, passwordHash: string | null, cancellationToken?: CancellationToken): Task;
|
|
2131
|
+
SetPhoneNumberAsync(user: TUser, phoneNumber: string | null, cancellationToken?: CancellationToken): Task;
|
|
2131
2132
|
SetPhoneNumberConfirmedAsync(user: TUser, confirmed: boolean, cancellationToken?: CancellationToken): Task;
|
|
2132
2133
|
SetSecurityStampAsync(user: TUser, stamp: string, cancellationToken?: CancellationToken): Task;
|
|
2133
|
-
SetTokenAsync(user: TUser, loginProvider: string, name: string, value: string, cancellationToken: CancellationToken): Task;
|
|
2134
|
+
SetTokenAsync(user: TUser, loginProvider: string, name: string, value: string | null, cancellationToken: CancellationToken): Task;
|
|
2134
2135
|
SetTwoFactorEnabledAsync(user: TUser, enabled: boolean, cancellationToken?: CancellationToken): Task;
|
|
2135
|
-
SetUserNameAsync(user: TUser, userName: string, cancellationToken?: CancellationToken): Task;
|
|
2136
|
+
SetUserNameAsync(user: TUser, userName: string | null, cancellationToken?: CancellationToken): Task;
|
|
2136
2137
|
UpdateAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<IdentityResult>;
|
|
2137
2138
|
}
|
|
2138
2139
|
|
|
@@ -2178,8 +2179,8 @@ export interface UserStoreBase_8$instance<TUser extends IdentityUser_1<TKey>, TR
|
|
|
2178
2179
|
|
|
2179
2180
|
AddToRoleAsync(user: TUser, normalizedRoleName: string, cancellationToken?: CancellationToken): Task;
|
|
2180
2181
|
CreateUserRole(user: TUser, role: TRole): TUserRole;
|
|
2181
|
-
FindRoleAsync(normalizedRoleName: string, cancellationToken: CancellationToken): Task_1<TRole |
|
|
2182
|
-
FindUserRoleAsync(userId: TKey, roleId: TKey, cancellationToken: CancellationToken): Task_1<TUserRole |
|
|
2182
|
+
FindRoleAsync(normalizedRoleName: string, cancellationToken: CancellationToken): Task_1<TRole | null>;
|
|
2183
|
+
FindUserRoleAsync(userId: TKey, roleId: TKey, cancellationToken: CancellationToken): Task_1<TUserRole | null>;
|
|
2183
2184
|
GetRolesAsync(user: TUser, cancellationToken?: CancellationToken): Task_1<IList_1<System_Internal.String>>;
|
|
2184
2185
|
GetUsersInRoleAsync(normalizedRoleName: string, cancellationToken?: CancellationToken): Task_1<IList_1<TUser>>;
|
|
2185
2186
|
IsInRoleAsync(user: TUser, normalizedRoleName: string, cancellationToken?: CancellationToken): Task_1<System_Internal.Boolean>;
|
|
@@ -2219,7 +2220,7 @@ export interface UserValidator_1$instance<TUser> extends IUserValidator_1$instan
|
|
|
2219
2220
|
|
|
2220
2221
|
|
|
2221
2222
|
export const UserValidator_1: {
|
|
2222
|
-
new<TUser>(errors: IdentityErrorDescriber): UserValidator_1<TUser>;
|
|
2223
|
+
new<TUser>(errors: IdentityErrorDescriber | null): UserValidator_1<TUser>;
|
|
2223
2224
|
};
|
|
2224
2225
|
|
|
2225
2226
|
|