@tsonic/efcore-sqlserver 10.0.1 → 10.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Azure/bindings.json +686 -17
- package/Azure/internal/index.d.ts +37 -15
- package/Azure.Core/bindings.json +1048 -19
- package/Azure.Core/internal/index.d.ts +61 -23
- package/Azure.Core.Cryptography/bindings.json +5 -0
- package/Azure.Core.Cryptography/internal/index.d.ts +4 -0
- package/Azure.Core.Diagnostics/bindings.json +56 -0
- package/Azure.Core.Diagnostics/internal/index.d.ts +6 -2
- package/Azure.Core.Diagnostics.d.ts +2 -2
- package/Azure.Core.Extensions/bindings.json +17 -0
- package/Azure.Core.Extensions/internal/index.d.ts +8 -0
- package/Azure.Core.GeoJson/bindings.json +362 -0
- package/Azure.Core.GeoJson/internal/index.d.ts +43 -7
- package/Azure.Core.Pipeline/bindings.json +450 -3
- package/Azure.Core.Pipeline/internal/index.d.ts +24 -9
- package/Azure.Core.Pipeline.d.ts +2 -2
- package/Azure.Core.Serialization/bindings.json +89 -1
- package/Azure.Core.Serialization/internal/index.d.ts +8 -2
- package/Azure.Core.d.ts +1 -1
- package/Azure.Identity/bindings.json +1039 -58
- package/Azure.Identity/internal/index.d.ts +97 -35
- package/Azure.Identity.d.ts +1 -1
- package/Azure.Messaging/bindings.json +69 -0
- package/Azure.Messaging/internal/index.d.ts +6 -5
- package/Azure.d.ts +1 -1
- package/Microsoft.Data/bindings.json +16 -0
- package/Microsoft.Data/internal/index.d.ts +2 -1
- package/Microsoft.Data.Sql/bindings.json +16 -0
- package/Microsoft.Data.SqlClient/bindings.json +2482 -38
- package/Microsoft.Data.SqlClient/internal/index.d.ts +140 -38
- package/Microsoft.Data.SqlClient.DataClassification/bindings.json +66 -0
- package/Microsoft.Data.SqlClient.Diagnostics/bindings.json +639 -0
- package/Microsoft.Data.SqlClient.Diagnostics/internal/index.d.ts +90 -15
- package/Microsoft.Data.SqlClient.Server/bindings.json +163 -0
- package/Microsoft.Data.SqlClient.Server/internal/index.d.ts +2 -0
- package/Microsoft.Data.SqlTypes/bindings.json +73 -0
- package/Microsoft.Data.SqlTypes/internal/index.d.ts +8 -1
- package/Microsoft.EntityFrameworkCore/bindings.json +700 -2
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +6 -1
- package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +35 -0
- package/Microsoft.EntityFrameworkCore.Infrastructure/bindings.json +107 -1
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +11 -1
- package/Microsoft.EntityFrameworkCore.Metadata/bindings.json +27 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/bindings.json +78 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +2 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/bindings.json +853 -10
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +87 -2
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.d.ts +3 -2
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/bindings.json +10 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Internal.d.ts +3 -0
- package/Microsoft.EntityFrameworkCore.Migrations/bindings.json +917 -0
- package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +53 -5
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/bindings.json +41 -0
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +9 -1
- package/Microsoft.EntityFrameworkCore.Migrations.d.ts +9 -5
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/bindings.json +122 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/internal/index.d.ts +9 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal/bindings.json +28 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal/bindings.json +27 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal.d.ts +3 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/bindings.json +421 -8
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/internal/index.d.ts +34 -8
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal.d.ts +3 -2
- package/Microsoft.EntityFrameworkCore.SqlServer.Internal/bindings.json +87 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/bindings.json +56 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/internal/index.d.ts +2 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/bindings.json +95 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/internal/index.d.ts +11 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/bindings.json +2415 -31
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/internal/index.d.ts +183 -9
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/bindings.json +39 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/internal/index.d.ts +6 -2
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.d.ts +5 -5
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/bindings.json +32 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/internal/index.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.d.ts +3 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/bindings.json +1816 -67
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/internal/index.d.ts +102 -8
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/bindings.json +397 -4
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/internal/index.d.ts +33 -3
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/bindings.json +138 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/internal/index.d.ts +21 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal.d.ts +3 -1
- package/Microsoft.EntityFrameworkCore.d.ts +4 -1
- package/Microsoft.Extensions.DependencyInjection/bindings.json +10 -0
- package/Microsoft.Extensions.DependencyInjection.d.ts +3 -0
- package/Microsoft.Identity.Client/bindings.json +1941 -39
- package/Microsoft.Identity.Client/internal/index.d.ts +113 -47
- package/Microsoft.Identity.Client.Advanced/bindings.json +5 -0
- package/Microsoft.Identity.Client.AppConfig/bindings.json +21 -0
- package/Microsoft.Identity.Client.AppConfig/internal/index.d.ts +0 -1
- package/Microsoft.Identity.Client.AuthScheme/bindings.json +6 -0
- package/Microsoft.Identity.Client.AuthScheme/internal/index.d.ts +2 -0
- package/Microsoft.Identity.Client.AuthScheme.PoP/bindings.json +3 -0
- package/Microsoft.Identity.Client.AuthScheme.PoP/internal/index.d.ts +2 -0
- package/Microsoft.Identity.Client.Cache/bindings.json +34 -0
- package/Microsoft.Identity.Client.Extensibility/bindings.json +80 -10
- package/Microsoft.Identity.Client.Extensibility/internal/index.d.ts +7 -5
- package/Microsoft.Identity.Client.Extensions.Msal/bindings.json +117 -0
- package/Microsoft.Identity.Client.Extensions.Msal/internal/index.d.ts +5 -4
- package/Microsoft.Identity.Client.Extensions.Msal.d.ts +1 -1
- package/Microsoft.Identity.Client.Kerberos/bindings.json +77 -0
- package/Microsoft.Identity.Client.Kerberos/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.ManagedIdentity/bindings.json +31 -0
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/bindings.json +18 -1
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.RP/bindings.json +10 -0
- package/Microsoft.Identity.Client.Region/bindings.json +29 -0
- package/Microsoft.Identity.Client.SSHCertificates/bindings.json +6 -0
- package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient/bindings.json +6 -0
- package/Microsoft.Identity.Client.Utils/bindings.json +10 -0
- package/Microsoft.Identity.Client.Utils/internal/index.d.ts +0 -1
- package/Microsoft.Identity.Client.Utils.Windows/bindings.json +6 -0
- package/Microsoft.IdentityModel.Abstractions/bindings.json +135 -1
- package/Microsoft.IdentityModel.Abstractions/internal/index.d.ts +13 -6
- package/Microsoft.IdentityModel.JsonWebTokens/bindings.json +252 -6
- package/Microsoft.IdentityModel.JsonWebTokens/internal/index.d.ts +11 -6
- package/Microsoft.IdentityModel.JsonWebTokens.d.ts +1 -1
- package/Microsoft.IdentityModel.Logging/bindings.json +122 -2
- package/Microsoft.IdentityModel.Logging/internal/index.d.ts +9 -3
- package/Microsoft.IdentityModel.Logging.d.ts +1 -1
- package/Microsoft.IdentityModel.Protocols/bindings.json +155 -1
- package/Microsoft.IdentityModel.Protocols/internal/index.d.ts +17 -1
- package/Microsoft.IdentityModel.Protocols.Configuration/bindings.json +30 -0
- package/Microsoft.IdentityModel.Protocols.Configuration/internal/index.d.ts +3 -1
- package/Microsoft.IdentityModel.Protocols.Configuration.d.ts +1 -1
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect/bindings.json +645 -0
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect/internal/index.d.ts +19 -3
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/bindings.json +17 -0
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/internal/index.d.ts +2 -0
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.d.ts +1 -1
- package/Microsoft.IdentityModel.Tokens/bindings.json +2486 -77
- package/Microsoft.IdentityModel.Tokens/internal/index.d.ts +145 -44
- package/Microsoft.IdentityModel.Tokens.Configuration/bindings.json +10 -0
- package/Microsoft.IdentityModel.Tokens.d.ts +4 -1
- package/Microsoft.SqlServer.Server/bindings.json +144 -0
- package/Microsoft.SqlServer.Server/internal/index.d.ts +4 -1
- package/System/bindings.json +63 -0
- package/System.ClientModel/bindings.json +256 -11
- package/System.ClientModel/internal/index.d.ts +21 -12
- package/System.ClientModel.Primitives/bindings.json +1673 -120
- package/System.ClientModel.Primitives/internal/index.d.ts +101 -32
- package/System.ClientModel.Primitives.d.ts +5 -2
- package/System.Configuration/bindings.json +5382 -321
- package/System.Configuration/internal/index.d.ts +292 -59
- package/System.Configuration.Internal/bindings.json +193 -1
- package/System.Configuration.Internal/internal/index.d.ts +23 -2
- package/System.Configuration.Provider/bindings.json +69 -1
- package/System.Configuration.Provider/internal/index.d.ts +8 -3
- package/System.Configuration.Provider.d.ts +1 -1
- package/System.Configuration.d.ts +3 -3
- package/System.Diagnostics/bindings.json +5 -0
- package/System.Drawing.Configuration/bindings.json +25 -0
- package/System.Drawing.Configuration/internal/index.d.ts +6 -2
- package/System.Drawing.Configuration.d.ts +5 -2
- package/System.IdentityModel.Tokens.Jwt/bindings.json +646 -36
- package/System.IdentityModel.Tokens.Jwt/internal/index.d.ts +56 -20
- package/System.Security.Cryptography/bindings.json +31 -0
- package/System.Text.Json.Serialization/bindings.json +10 -0
- package/__internal/extensions/index.d.ts +915 -14
- package/package.json +1 -1
|
@@ -20,7 +20,7 @@ import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Ru
|
|
|
20
20
|
import type { ISerializable, SerializationInfo, StreamingContext } from "@tsonic/dotnet/System.Runtime.Serialization.js";
|
|
21
21
|
import * as System_Security_Claims_Internal from "@tsonic/dotnet/System.Security.Claims.js";
|
|
22
22
|
import type { Claim, ClaimsIdentity, ClaimsPrincipal } from "@tsonic/dotnet/System.Security.Claims.js";
|
|
23
|
-
import type { AsymmetricAlgorithm, ECDsa, HashAlgorithm, HashAlgorithmName, KeyedHashAlgorithm, RSA, RSAParameters } from "@tsonic/dotnet/System.Security.Cryptography.js";
|
|
23
|
+
import type { AsymmetricAlgorithm, ECDsa, HashAlgorithm, HashAlgorithmName, KeyedHashAlgorithm, RSA, RSAParameters, SymmetricAlgorithm } from "@tsonic/dotnet/System.Security.Cryptography.js";
|
|
24
24
|
import type { X509Certificate2 } from "@tsonic/dotnet/System.Security.Cryptography.X509Certificates.js";
|
|
25
25
|
import * as System_Security_Principal_Internal from "@tsonic/dotnet/System.Security.Principal.js";
|
|
26
26
|
import type { IIdentity } from "@tsonic/dotnet/System.Security.Principal.js";
|
|
@@ -91,6 +91,8 @@ export type TypeValidator = (type: string, securityToken: SecurityToken, validat
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
export interface ICompressionProvider$instance {
|
|
94
|
+
readonly __tsonic_iface_Microsoft_IdentityModel_Tokens_ICompressionProvider: never;
|
|
95
|
+
|
|
94
96
|
readonly Algorithm: string;
|
|
95
97
|
Decompress(value: byte[]): byte[];
|
|
96
98
|
IsSupportedAlgorithm(algorithm: string): boolean;
|
|
@@ -100,6 +102,8 @@ export interface ICompressionProvider$instance {
|
|
|
100
102
|
export type ICompressionProvider = ICompressionProvider$instance;
|
|
101
103
|
|
|
102
104
|
export interface ICryptoProvider$instance {
|
|
105
|
+
readonly __tsonic_iface_Microsoft_IdentityModel_Tokens_ICryptoProvider: never;
|
|
106
|
+
|
|
103
107
|
Create(algorithm: string, ...args: unknown[]): unknown;
|
|
104
108
|
IsSupportedAlgorithm(algorithm: string, ...args: unknown[]): boolean;
|
|
105
109
|
Release(cryptoInstance: unknown): void;
|
|
@@ -109,6 +113,8 @@ export interface ICryptoProvider$instance {
|
|
|
109
113
|
export type ICryptoProvider = ICryptoProvider$instance;
|
|
110
114
|
|
|
111
115
|
export interface ISecurityTokenValidator$instance {
|
|
116
|
+
readonly __tsonic_iface_Microsoft_IdentityModel_Tokens_ISecurityTokenValidator: never;
|
|
117
|
+
|
|
112
118
|
readonly CanValidateToken: boolean;
|
|
113
119
|
MaximumTokenSizeInBytes: int;
|
|
114
120
|
CanReadToken(securityToken: string): boolean;
|
|
@@ -119,6 +125,8 @@ export interface ISecurityTokenValidator$instance {
|
|
|
119
125
|
export type ISecurityTokenValidator = ISecurityTokenValidator$instance;
|
|
120
126
|
|
|
121
127
|
export interface ITokenReplayCache$instance {
|
|
128
|
+
readonly __tsonic_iface_Microsoft_IdentityModel_Tokens_ITokenReplayCache: never;
|
|
129
|
+
|
|
122
130
|
TryAdd(securityToken: string, expiresOn: DateTime): boolean;
|
|
123
131
|
TryFind(securityToken: string): boolean;
|
|
124
132
|
}
|
|
@@ -132,16 +140,20 @@ export interface AsymmetricSecurityKey$instance extends SecurityKey {
|
|
|
132
140
|
}
|
|
133
141
|
|
|
134
142
|
|
|
135
|
-
export const AsymmetricSecurityKey: {
|
|
136
|
-
new(): AsymmetricSecurityKey;
|
|
143
|
+
export const AsymmetricSecurityKey: (abstract new() => AsymmetricSecurityKey) & {
|
|
137
144
|
};
|
|
138
145
|
|
|
139
146
|
|
|
140
147
|
export type AsymmetricSecurityKey = AsymmetricSecurityKey$instance;
|
|
141
148
|
|
|
142
149
|
export interface AsymmetricSignatureProvider$instance extends SignatureProvider {
|
|
150
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
151
|
+
|
|
143
152
|
readonly MinimumAsymmetricKeySizeInBitsForSigningMap: IReadOnlyDictionary<System_Internal.String, System_Internal.Int32>;
|
|
144
153
|
readonly MinimumAsymmetricKeySizeInBitsForVerifyingMap: IReadOnlyDictionary<System_Internal.String, System_Internal.Int32>;
|
|
154
|
+
Dispose(disposing: boolean): void;
|
|
155
|
+
Dispose(): void;
|
|
156
|
+
GetHashAlgorithmName(algorithm: string): HashAlgorithmName;
|
|
145
157
|
Sign(input: ReadOnlySpan<System_Internal.Byte>, signature: Span<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
146
158
|
Sign(input: byte[]): byte[];
|
|
147
159
|
Sign(input: byte[], offset: int, count: int): byte[];
|
|
@@ -163,13 +175,19 @@ export const AsymmetricSignatureProvider: {
|
|
|
163
175
|
export type AsymmetricSignatureProvider = AsymmetricSignatureProvider$instance;
|
|
164
176
|
|
|
165
177
|
export interface AuthenticatedEncryptionProvider$instance {
|
|
178
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
179
|
+
|
|
166
180
|
readonly Algorithm: string;
|
|
167
181
|
Context: string;
|
|
168
182
|
readonly Key: SecurityKey;
|
|
169
183
|
Decrypt(ciphertext: byte[], authenticatedData: byte[], iv: byte[], authenticationTag: byte[]): byte[];
|
|
170
184
|
Dispose(): void;
|
|
185
|
+
Dispose(disposing: boolean): void;
|
|
171
186
|
Encrypt(plaintext: byte[], authenticatedData: byte[]): AuthenticatedEncryptionResult;
|
|
172
187
|
Encrypt(plaintext: byte[], authenticatedData: byte[], iv: byte[]): AuthenticatedEncryptionResult;
|
|
188
|
+
GetKeyBytes(key: SecurityKey): byte[];
|
|
189
|
+
IsSupportedAlgorithm(key: SecurityKey, algorithm: string): boolean;
|
|
190
|
+
ValidateKeySize(key: SecurityKey, algorithm: string): void;
|
|
173
191
|
}
|
|
174
192
|
|
|
175
193
|
|
|
@@ -181,10 +199,10 @@ export const AuthenticatedEncryptionProvider: {
|
|
|
181
199
|
export type AuthenticatedEncryptionProvider = AuthenticatedEncryptionProvider$instance;
|
|
182
200
|
|
|
183
201
|
export interface AuthenticatedEncryptionResult$instance {
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
202
|
+
AuthenticationTag: byte[];
|
|
203
|
+
Ciphertext: byte[];
|
|
204
|
+
IV: byte[];
|
|
205
|
+
Key: SecurityKey;
|
|
188
206
|
}
|
|
189
207
|
|
|
190
208
|
|
|
@@ -204,7 +222,7 @@ export interface BaseConfiguration$instance {
|
|
|
204
222
|
}
|
|
205
223
|
|
|
206
224
|
|
|
207
|
-
export const BaseConfiguration: {
|
|
225
|
+
export const BaseConfiguration: (abstract new() => BaseConfiguration) & {
|
|
208
226
|
};
|
|
209
227
|
|
|
210
228
|
|
|
@@ -223,9 +241,7 @@ export interface BaseConfigurationManager$instance {
|
|
|
223
241
|
}
|
|
224
242
|
|
|
225
243
|
|
|
226
|
-
export const BaseConfigurationManager: {
|
|
227
|
-
new(): BaseConfigurationManager;
|
|
228
|
-
new(options: LKGConfigurationCacheOptions): BaseConfigurationManager;
|
|
244
|
+
export const BaseConfigurationManager: (abstract new() => BaseConfigurationManager) & (abstract new(options: LKGConfigurationCacheOptions) => BaseConfigurationManager) & {
|
|
229
245
|
readonly DefaultAutomaticRefreshInterval: TimeSpan;
|
|
230
246
|
readonly DefaultLastKnownGoodConfigurationLifetime: TimeSpan;
|
|
231
247
|
readonly DefaultRefreshInterval: TimeSpan;
|
|
@@ -249,7 +265,9 @@ export const CallContext: {
|
|
|
249
265
|
export type CallContext = CallContext$instance;
|
|
250
266
|
|
|
251
267
|
export interface CaseSensitiveClaimsIdentity$instance extends ClaimsIdentity {
|
|
252
|
-
readonly
|
|
268
|
+
readonly __tsonic_iface_System_Security_Principal_IIdentity: never;
|
|
269
|
+
|
|
270
|
+
SecurityToken: SecurityToken;
|
|
253
271
|
FindAll(type: string): IEnumerable<Claim>;
|
|
254
272
|
FindFirst(type: string): Claim;
|
|
255
273
|
HasClaim(type: string, value: string): boolean;
|
|
@@ -299,13 +317,15 @@ export const CompressionProviderFactory: {
|
|
|
299
317
|
export type CompressionProviderFactory = CompressionProviderFactory$instance;
|
|
300
318
|
|
|
301
319
|
export interface CryptoProviderCache$instance {
|
|
320
|
+
GetCacheKey(signatureProvider: SignatureProvider): string;
|
|
321
|
+
GetCacheKey(securityKey: SecurityKey, algorithm: string, typeofProvider: string): string;
|
|
302
322
|
TryAdd(signatureProvider: SignatureProvider): boolean;
|
|
303
323
|
TryGetSignatureProvider(securityKey: SecurityKey, algorithm: string, typeofProvider: string, willCreateSignatures: boolean, signatureProvider: SignatureProvider): boolean;
|
|
304
324
|
TryRemove(signatureProvider: SignatureProvider): boolean;
|
|
305
325
|
}
|
|
306
326
|
|
|
307
327
|
|
|
308
|
-
export const CryptoProviderCache: {
|
|
328
|
+
export const CryptoProviderCache: (abstract new() => CryptoProviderCache) & {
|
|
309
329
|
};
|
|
310
330
|
|
|
311
331
|
|
|
@@ -326,7 +346,7 @@ export type CryptoProviderCacheOptions = CryptoProviderCacheOptions$instance;
|
|
|
326
346
|
|
|
327
347
|
export interface CryptoProviderFactory$instance {
|
|
328
348
|
CacheSignatureProviders: boolean;
|
|
329
|
-
|
|
349
|
+
CryptoProviderCache: CryptoProviderCache;
|
|
330
350
|
CustomCryptoProvider: ICryptoProvider;
|
|
331
351
|
SignatureProviderObjectPoolCacheSize: int;
|
|
332
352
|
CreateAuthenticatedEncryptionProvider(key: SecurityKey, algorithm: string): AuthenticatedEncryptionProvider;
|
|
@@ -361,8 +381,10 @@ export const CryptoProviderFactory: {
|
|
|
361
381
|
export type CryptoProviderFactory = CryptoProviderFactory$instance;
|
|
362
382
|
|
|
363
383
|
export interface DeflateCompressionProvider$instance {
|
|
384
|
+
readonly __tsonic_iface_Microsoft_IdentityModel_Tokens_ICompressionProvider: never;
|
|
385
|
+
|
|
364
386
|
readonly Algorithm: string;
|
|
365
|
-
|
|
387
|
+
CompressionLevel: CompressionLevel;
|
|
366
388
|
MaximumDeflateSize: int;
|
|
367
389
|
Compress(value: byte[]): byte[];
|
|
368
390
|
Decompress(value: byte[]): byte[];
|
|
@@ -399,7 +421,7 @@ export const EcdhKeyExchangeProvider: {
|
|
|
399
421
|
export type EcdhKeyExchangeProvider = EcdhKeyExchangeProvider$instance;
|
|
400
422
|
|
|
401
423
|
export interface ECDsaSecurityKey$instance extends AsymmetricSecurityKey {
|
|
402
|
-
|
|
424
|
+
ECDsa: ECDsa;
|
|
403
425
|
readonly HasPrivateKey: boolean;
|
|
404
426
|
readonly KeySize: int;
|
|
405
427
|
readonly PrivateKeyStatus: PrivateKeyStatus;
|
|
@@ -416,10 +438,10 @@ export const ECDsaSecurityKey: {
|
|
|
416
438
|
export type ECDsaSecurityKey = ECDsaSecurityKey$instance;
|
|
417
439
|
|
|
418
440
|
export interface EncryptingCredentials$instance {
|
|
419
|
-
|
|
441
|
+
Alg: string;
|
|
420
442
|
CryptoProviderFactory: CryptoProviderFactory;
|
|
421
|
-
|
|
422
|
-
|
|
443
|
+
Enc: string;
|
|
444
|
+
Key: SecurityKey;
|
|
423
445
|
KeyExchangePublicKey: SecurityKey;
|
|
424
446
|
SetDefaultCtyClaim: boolean;
|
|
425
447
|
}
|
|
@@ -434,7 +456,12 @@ export const EncryptingCredentials: {
|
|
|
434
456
|
export type EncryptingCredentials = EncryptingCredentials$instance;
|
|
435
457
|
|
|
436
458
|
export interface InMemoryCryptoProviderCache$instance extends CryptoProviderCache {
|
|
459
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
460
|
+
|
|
437
461
|
Dispose(): void;
|
|
462
|
+
Dispose(disposing: boolean): void;
|
|
463
|
+
GetCacheKey(signatureProvider: SignatureProvider): string;
|
|
464
|
+
GetCacheKey(securityKey: SecurityKey, algorithm: string, typeofProvider: string): string;
|
|
438
465
|
TryAdd(signatureProvider: SignatureProvider): boolean;
|
|
439
466
|
TryGetSignatureProvider(securityKey: SecurityKey, algorithm: string, typeofProvider: string, willCreateSignatures: boolean, signatureProvider: SignatureProvider): boolean;
|
|
440
467
|
TryRemove(signatureProvider: SignatureProvider): boolean;
|
|
@@ -478,7 +505,7 @@ export interface JsonWebKey$instance extends SecurityKey {
|
|
|
478
505
|
Y: string;
|
|
479
506
|
CanComputeJwkThumbprint(): boolean;
|
|
480
507
|
ComputeJwkThumbprint(): byte[];
|
|
481
|
-
ToString(): string
|
|
508
|
+
ToString(): string;
|
|
482
509
|
}
|
|
483
510
|
|
|
484
511
|
|
|
@@ -510,7 +537,7 @@ export type JsonWebKeyConverter = JsonWebKeyConverter$instance;
|
|
|
510
537
|
|
|
511
538
|
export interface JsonWebKeySet$instance {
|
|
512
539
|
readonly AdditionalData: IDictionary<System_Internal.String, unknown>;
|
|
513
|
-
|
|
540
|
+
Keys: IList<JsonWebKey>;
|
|
514
541
|
SkipUnresolvedJsonWebKeys: boolean;
|
|
515
542
|
GetSigningKeys(): IList<SecurityKey>;
|
|
516
543
|
}
|
|
@@ -527,25 +554,33 @@ export const JsonWebKeySet: {
|
|
|
527
554
|
export type JsonWebKeySet = JsonWebKeySet$instance;
|
|
528
555
|
|
|
529
556
|
export interface KeyWrapProvider$instance {
|
|
557
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
558
|
+
|
|
530
559
|
readonly Algorithm: string;
|
|
531
560
|
Context: string;
|
|
532
561
|
readonly Key: SecurityKey;
|
|
533
562
|
Dispose(): void;
|
|
563
|
+
Dispose(disposing: boolean): void;
|
|
534
564
|
UnwrapKey(keyBytes: byte[]): byte[];
|
|
535
565
|
WrapKey(keyBytes: byte[]): byte[];
|
|
536
566
|
}
|
|
537
567
|
|
|
538
568
|
|
|
539
|
-
export const KeyWrapProvider: {
|
|
569
|
+
export const KeyWrapProvider: (abstract new() => KeyWrapProvider) & {
|
|
540
570
|
};
|
|
541
571
|
|
|
542
572
|
|
|
543
573
|
export type KeyWrapProvider = KeyWrapProvider$instance;
|
|
544
574
|
|
|
545
575
|
export interface RsaKeyWrapProvider$instance extends KeyWrapProvider {
|
|
576
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
577
|
+
|
|
546
578
|
readonly Algorithm: string;
|
|
547
579
|
Context: string;
|
|
548
580
|
readonly Key: SecurityKey;
|
|
581
|
+
Dispose(disposing: boolean): void;
|
|
582
|
+
Dispose(): void;
|
|
583
|
+
IsSupportedAlgorithm(key: SecurityKey, algorithm: string): boolean;
|
|
549
584
|
UnwrapKey(keyBytes: byte[]): byte[];
|
|
550
585
|
WrapKey(keyBytes: byte[]): byte[];
|
|
551
586
|
}
|
|
@@ -561,9 +596,9 @@ export type RsaKeyWrapProvider = RsaKeyWrapProvider$instance;
|
|
|
561
596
|
export interface RsaSecurityKey$instance extends AsymmetricSecurityKey {
|
|
562
597
|
readonly HasPrivateKey: boolean;
|
|
563
598
|
readonly KeySize: int;
|
|
564
|
-
|
|
599
|
+
Parameters: RSAParameters;
|
|
565
600
|
readonly PrivateKeyStatus: PrivateKeyStatus;
|
|
566
|
-
|
|
601
|
+
Rsa: RSA;
|
|
567
602
|
CanComputeJwkThumbprint(): boolean;
|
|
568
603
|
ComputeJwkThumbprint(): byte[];
|
|
569
604
|
}
|
|
@@ -584,12 +619,11 @@ export interface SecurityKey$instance {
|
|
|
584
619
|
CanComputeJwkThumbprint(): boolean;
|
|
585
620
|
ComputeJwkThumbprint(): byte[];
|
|
586
621
|
IsSupportedAlgorithm(algorithm: string): boolean;
|
|
587
|
-
ToString(): string
|
|
622
|
+
ToString(): string;
|
|
588
623
|
}
|
|
589
624
|
|
|
590
625
|
|
|
591
|
-
export const SecurityKey: {
|
|
592
|
-
new(): SecurityKey;
|
|
626
|
+
export const SecurityKey: (abstract new() => SecurityKey) & {
|
|
593
627
|
};
|
|
594
628
|
|
|
595
629
|
|
|
@@ -607,6 +641,8 @@ export const SecurityKeyIdentifierClause: {
|
|
|
607
641
|
export type SecurityKeyIdentifierClause = SecurityKeyIdentifierClause$instance;
|
|
608
642
|
|
|
609
643
|
export interface SecurityToken$instance {
|
|
644
|
+
readonly __tsonic_iface_Microsoft_IdentityModel_Logging_ISafeLogSecurityArtifact: never;
|
|
645
|
+
|
|
610
646
|
readonly Id: string;
|
|
611
647
|
readonly Issuer: string;
|
|
612
648
|
readonly SecurityKey: SecurityKey;
|
|
@@ -617,7 +653,7 @@ export interface SecurityToken$instance {
|
|
|
617
653
|
}
|
|
618
654
|
|
|
619
655
|
|
|
620
|
-
export const SecurityToken: {
|
|
656
|
+
export const SecurityToken: (abstract new() => SecurityToken) & {
|
|
621
657
|
};
|
|
622
658
|
|
|
623
659
|
|
|
@@ -631,6 +667,8 @@ export type SecurityToken = SecurityToken$instance & __SecurityToken$views;
|
|
|
631
667
|
|
|
632
668
|
|
|
633
669
|
export interface SecurityTokenArgumentException$instance extends ArgumentException {
|
|
670
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
671
|
+
|
|
634
672
|
}
|
|
635
673
|
|
|
636
674
|
|
|
@@ -644,6 +682,8 @@ export const SecurityTokenArgumentException: {
|
|
|
644
682
|
export type SecurityTokenArgumentException = SecurityTokenArgumentException$instance;
|
|
645
683
|
|
|
646
684
|
export interface SecurityTokenCompressionFailedException$instance extends SecurityTokenException {
|
|
685
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
686
|
+
|
|
647
687
|
}
|
|
648
688
|
|
|
649
689
|
|
|
@@ -657,6 +697,8 @@ export const SecurityTokenCompressionFailedException: {
|
|
|
657
697
|
export type SecurityTokenCompressionFailedException = SecurityTokenCompressionFailedException$instance;
|
|
658
698
|
|
|
659
699
|
export interface SecurityTokenDecompressionFailedException$instance extends SecurityTokenException {
|
|
700
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
701
|
+
|
|
660
702
|
}
|
|
661
703
|
|
|
662
704
|
|
|
@@ -670,6 +712,8 @@ export const SecurityTokenDecompressionFailedException: {
|
|
|
670
712
|
export type SecurityTokenDecompressionFailedException = SecurityTokenDecompressionFailedException$instance;
|
|
671
713
|
|
|
672
714
|
export interface SecurityTokenDecryptionFailedException$instance extends SecurityTokenException {
|
|
715
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
716
|
+
|
|
673
717
|
}
|
|
674
718
|
|
|
675
719
|
|
|
@@ -694,8 +738,7 @@ export interface SecurityTokenDescriptor$instance {
|
|
|
694
738
|
Issuer: string;
|
|
695
739
|
NotBefore: Nullable<DateTime>;
|
|
696
740
|
SigningCredentials: SigningCredentials;
|
|
697
|
-
|
|
698
|
-
set Subject(value: ClaimsIdentity);
|
|
741
|
+
Subject: ClaimsIdentity;
|
|
699
742
|
TokenType: string;
|
|
700
743
|
}
|
|
701
744
|
|
|
@@ -708,6 +751,8 @@ export const SecurityTokenDescriptor: {
|
|
|
708
751
|
export type SecurityTokenDescriptor = SecurityTokenDescriptor$instance;
|
|
709
752
|
|
|
710
753
|
export interface SecurityTokenEncryptionFailedException$instance extends SecurityTokenException {
|
|
754
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
755
|
+
|
|
711
756
|
}
|
|
712
757
|
|
|
713
758
|
|
|
@@ -721,6 +766,8 @@ export const SecurityTokenEncryptionFailedException: {
|
|
|
721
766
|
export type SecurityTokenEncryptionFailedException = SecurityTokenEncryptionFailedException$instance;
|
|
722
767
|
|
|
723
768
|
export interface SecurityTokenEncryptionKeyNotFoundException$instance extends SecurityTokenDecryptionFailedException {
|
|
769
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
770
|
+
|
|
724
771
|
}
|
|
725
772
|
|
|
726
773
|
|
|
@@ -734,6 +781,8 @@ export const SecurityTokenEncryptionKeyNotFoundException: {
|
|
|
734
781
|
export type SecurityTokenEncryptionKeyNotFoundException = SecurityTokenEncryptionKeyNotFoundException$instance;
|
|
735
782
|
|
|
736
783
|
export interface SecurityTokenException$instance extends Exception {
|
|
784
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
785
|
+
|
|
737
786
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
738
787
|
}
|
|
739
788
|
|
|
@@ -748,6 +797,8 @@ export const SecurityTokenException: {
|
|
|
748
797
|
export type SecurityTokenException = SecurityTokenException$instance;
|
|
749
798
|
|
|
750
799
|
export interface SecurityTokenExpiredException$instance extends SecurityTokenValidationException {
|
|
800
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
801
|
+
|
|
751
802
|
Expires: DateTime;
|
|
752
803
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
753
804
|
}
|
|
@@ -763,6 +814,8 @@ export const SecurityTokenExpiredException: {
|
|
|
763
814
|
export type SecurityTokenExpiredException = SecurityTokenExpiredException$instance;
|
|
764
815
|
|
|
765
816
|
export interface SecurityTokenHandler$instance extends TokenHandler {
|
|
817
|
+
readonly __tsonic_iface_Microsoft_IdentityModel_Tokens_ISecurityTokenValidator: never;
|
|
818
|
+
|
|
766
819
|
readonly CanValidateToken: boolean;
|
|
767
820
|
readonly CanWriteToken: boolean;
|
|
768
821
|
readonly TokenType: Type;
|
|
@@ -778,7 +831,7 @@ export interface SecurityTokenHandler$instance extends TokenHandler {
|
|
|
778
831
|
}
|
|
779
832
|
|
|
780
833
|
|
|
781
|
-
export const SecurityTokenHandler: {
|
|
834
|
+
export const SecurityTokenHandler: (abstract new() => SecurityTokenHandler) & {
|
|
782
835
|
};
|
|
783
836
|
|
|
784
837
|
|
|
@@ -792,6 +845,8 @@ export type SecurityTokenHandler = SecurityTokenHandler$instance & __SecurityTok
|
|
|
792
845
|
|
|
793
846
|
|
|
794
847
|
export interface SecurityTokenInvalidAlgorithmException$instance extends SecurityTokenValidationException {
|
|
848
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
849
|
+
|
|
795
850
|
InvalidAlgorithm: string;
|
|
796
851
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
797
852
|
}
|
|
@@ -807,6 +862,8 @@ export const SecurityTokenInvalidAlgorithmException: {
|
|
|
807
862
|
export type SecurityTokenInvalidAlgorithmException = SecurityTokenInvalidAlgorithmException$instance;
|
|
808
863
|
|
|
809
864
|
export interface SecurityTokenInvalidAudienceException$instance extends SecurityTokenValidationException {
|
|
865
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
866
|
+
|
|
810
867
|
InvalidAudience: string;
|
|
811
868
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
812
869
|
}
|
|
@@ -822,6 +879,8 @@ export const SecurityTokenInvalidAudienceException: {
|
|
|
822
879
|
export type SecurityTokenInvalidAudienceException = SecurityTokenInvalidAudienceException$instance;
|
|
823
880
|
|
|
824
881
|
export interface SecurityTokenInvalidIssuerException$instance extends SecurityTokenValidationException {
|
|
882
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
883
|
+
|
|
825
884
|
InvalidIssuer: string;
|
|
826
885
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
827
886
|
}
|
|
@@ -837,6 +896,8 @@ export const SecurityTokenInvalidIssuerException: {
|
|
|
837
896
|
export type SecurityTokenInvalidIssuerException = SecurityTokenInvalidIssuerException$instance;
|
|
838
897
|
|
|
839
898
|
export interface SecurityTokenInvalidLifetimeException$instance extends SecurityTokenValidationException {
|
|
899
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
900
|
+
|
|
840
901
|
Expires: Nullable<DateTime>;
|
|
841
902
|
NotBefore: Nullable<DateTime>;
|
|
842
903
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
@@ -853,6 +914,8 @@ export const SecurityTokenInvalidLifetimeException: {
|
|
|
853
914
|
export type SecurityTokenInvalidLifetimeException = SecurityTokenInvalidLifetimeException$instance;
|
|
854
915
|
|
|
855
916
|
export interface SecurityTokenInvalidSignatureException$instance extends SecurityTokenValidationException {
|
|
917
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
918
|
+
|
|
856
919
|
}
|
|
857
920
|
|
|
858
921
|
|
|
@@ -866,6 +929,8 @@ export const SecurityTokenInvalidSignatureException: {
|
|
|
866
929
|
export type SecurityTokenInvalidSignatureException = SecurityTokenInvalidSignatureException$instance;
|
|
867
930
|
|
|
868
931
|
export interface SecurityTokenInvalidSigningKeyException$instance extends SecurityTokenValidationException {
|
|
932
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
933
|
+
|
|
869
934
|
SigningKey: SecurityKey;
|
|
870
935
|
}
|
|
871
936
|
|
|
@@ -880,6 +945,8 @@ export const SecurityTokenInvalidSigningKeyException: {
|
|
|
880
945
|
export type SecurityTokenInvalidSigningKeyException = SecurityTokenInvalidSigningKeyException$instance;
|
|
881
946
|
|
|
882
947
|
export interface SecurityTokenInvalidTypeException$instance extends SecurityTokenValidationException {
|
|
948
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
949
|
+
|
|
883
950
|
InvalidType: string;
|
|
884
951
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
885
952
|
}
|
|
@@ -895,6 +962,8 @@ export const SecurityTokenInvalidTypeException: {
|
|
|
895
962
|
export type SecurityTokenInvalidTypeException = SecurityTokenInvalidTypeException$instance;
|
|
896
963
|
|
|
897
964
|
export interface SecurityTokenKeyWrapException$instance extends SecurityTokenException {
|
|
965
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
966
|
+
|
|
898
967
|
}
|
|
899
968
|
|
|
900
969
|
|
|
@@ -908,6 +977,8 @@ export const SecurityTokenKeyWrapException: {
|
|
|
908
977
|
export type SecurityTokenKeyWrapException = SecurityTokenKeyWrapException$instance;
|
|
909
978
|
|
|
910
979
|
export interface SecurityTokenMalformedException$instance extends SecurityTokenArgumentException {
|
|
980
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
981
|
+
|
|
911
982
|
}
|
|
912
983
|
|
|
913
984
|
|
|
@@ -921,6 +992,8 @@ export const SecurityTokenMalformedException: {
|
|
|
921
992
|
export type SecurityTokenMalformedException = SecurityTokenMalformedException$instance;
|
|
922
993
|
|
|
923
994
|
export interface SecurityTokenNoExpirationException$instance extends SecurityTokenValidationException {
|
|
995
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
996
|
+
|
|
924
997
|
}
|
|
925
998
|
|
|
926
999
|
|
|
@@ -934,6 +1007,8 @@ export const SecurityTokenNoExpirationException: {
|
|
|
934
1007
|
export type SecurityTokenNoExpirationException = SecurityTokenNoExpirationException$instance;
|
|
935
1008
|
|
|
936
1009
|
export interface SecurityTokenNotYetValidException$instance extends SecurityTokenValidationException {
|
|
1010
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1011
|
+
|
|
937
1012
|
NotBefore: DateTime;
|
|
938
1013
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
939
1014
|
}
|
|
@@ -949,6 +1024,8 @@ export const SecurityTokenNotYetValidException: {
|
|
|
949
1024
|
export type SecurityTokenNotYetValidException = SecurityTokenNotYetValidException$instance;
|
|
950
1025
|
|
|
951
1026
|
export interface SecurityTokenReplayAddFailedException$instance extends SecurityTokenValidationException {
|
|
1027
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1028
|
+
|
|
952
1029
|
}
|
|
953
1030
|
|
|
954
1031
|
|
|
@@ -962,6 +1039,8 @@ export const SecurityTokenReplayAddFailedException: {
|
|
|
962
1039
|
export type SecurityTokenReplayAddFailedException = SecurityTokenReplayAddFailedException$instance;
|
|
963
1040
|
|
|
964
1041
|
export interface SecurityTokenReplayDetectedException$instance extends SecurityTokenValidationException {
|
|
1042
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1043
|
+
|
|
965
1044
|
}
|
|
966
1045
|
|
|
967
1046
|
|
|
@@ -975,6 +1054,8 @@ export const SecurityTokenReplayDetectedException: {
|
|
|
975
1054
|
export type SecurityTokenReplayDetectedException = SecurityTokenReplayDetectedException$instance;
|
|
976
1055
|
|
|
977
1056
|
export interface SecurityTokenSignatureKeyNotFoundException$instance extends SecurityTokenInvalidSignatureException {
|
|
1057
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1058
|
+
|
|
978
1059
|
}
|
|
979
1060
|
|
|
980
1061
|
|
|
@@ -988,6 +1069,8 @@ export const SecurityTokenSignatureKeyNotFoundException: {
|
|
|
988
1069
|
export type SecurityTokenSignatureKeyNotFoundException = SecurityTokenSignatureKeyNotFoundException$instance;
|
|
989
1070
|
|
|
990
1071
|
export interface SecurityTokenUnableToValidateException$instance extends SecurityTokenInvalidSignatureException {
|
|
1072
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1073
|
+
|
|
991
1074
|
ValidationFailure: ValidationFailure;
|
|
992
1075
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
993
1076
|
}
|
|
@@ -1004,6 +1087,8 @@ export const SecurityTokenUnableToValidateException: {
|
|
|
1004
1087
|
export type SecurityTokenUnableToValidateException = SecurityTokenUnableToValidateException$instance;
|
|
1005
1088
|
|
|
1006
1089
|
export interface SecurityTokenValidationException$instance extends SecurityTokenException {
|
|
1090
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1091
|
+
|
|
1007
1092
|
}
|
|
1008
1093
|
|
|
1009
1094
|
|
|
@@ -1017,12 +1102,15 @@ export const SecurityTokenValidationException: {
|
|
|
1017
1102
|
export type SecurityTokenValidationException = SecurityTokenValidationException$instance;
|
|
1018
1103
|
|
|
1019
1104
|
export interface SignatureProvider$instance {
|
|
1020
|
-
readonly
|
|
1105
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1106
|
+
|
|
1107
|
+
Algorithm: string;
|
|
1021
1108
|
Context: string;
|
|
1022
1109
|
CryptoProviderCache: CryptoProviderCache;
|
|
1023
|
-
|
|
1024
|
-
|
|
1110
|
+
Key: SecurityKey;
|
|
1111
|
+
WillCreateSignatures: boolean;
|
|
1025
1112
|
Dispose(): void;
|
|
1113
|
+
Dispose(disposing: boolean): void;
|
|
1026
1114
|
Sign(input: byte[]): byte[];
|
|
1027
1115
|
Sign(input: byte[], offset: int, count: int): byte[];
|
|
1028
1116
|
Sign(data: ReadOnlySpan<System_Internal.Byte>, destination: Span<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
@@ -1031,17 +1119,17 @@ export interface SignatureProvider$instance {
|
|
|
1031
1119
|
}
|
|
1032
1120
|
|
|
1033
1121
|
|
|
1034
|
-
export const SignatureProvider: {
|
|
1122
|
+
export const SignatureProvider: (abstract new(key: SecurityKey, algorithm: string) => SignatureProvider) & {
|
|
1035
1123
|
};
|
|
1036
1124
|
|
|
1037
1125
|
|
|
1038
1126
|
export type SignatureProvider = SignatureProvider$instance;
|
|
1039
1127
|
|
|
1040
1128
|
export interface SigningCredentials$instance {
|
|
1041
|
-
|
|
1129
|
+
Algorithm: string;
|
|
1042
1130
|
CryptoProviderFactory: CryptoProviderFactory;
|
|
1043
|
-
|
|
1044
|
-
|
|
1131
|
+
Digest: string;
|
|
1132
|
+
Key: SecurityKey;
|
|
1045
1133
|
readonly Kid: string;
|
|
1046
1134
|
}
|
|
1047
1135
|
|
|
@@ -1055,9 +1143,15 @@ export const SigningCredentials: {
|
|
|
1055
1143
|
export type SigningCredentials = SigningCredentials$instance;
|
|
1056
1144
|
|
|
1057
1145
|
export interface SymmetricKeyWrapProvider$instance extends KeyWrapProvider {
|
|
1146
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1147
|
+
|
|
1058
1148
|
readonly Algorithm: string;
|
|
1059
1149
|
Context: string;
|
|
1060
1150
|
readonly Key: SecurityKey;
|
|
1151
|
+
Dispose(disposing: boolean): void;
|
|
1152
|
+
Dispose(): void;
|
|
1153
|
+
GetSymmetricAlgorithm(key: SecurityKey, algorithm: string): SymmetricAlgorithm;
|
|
1154
|
+
IsSupportedAlgorithm(key: SecurityKey, algorithm: string): boolean;
|
|
1061
1155
|
UnwrapKey(keyBytes: byte[]): byte[];
|
|
1062
1156
|
WrapKey(keyBytes: byte[]): byte[];
|
|
1063
1157
|
}
|
|
@@ -1086,7 +1180,14 @@ export const SymmetricSecurityKey: {
|
|
|
1086
1180
|
export type SymmetricSecurityKey = SymmetricSecurityKey$instance;
|
|
1087
1181
|
|
|
1088
1182
|
export interface SymmetricSignatureProvider$instance extends SignatureProvider {
|
|
1183
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1184
|
+
|
|
1089
1185
|
MinimumSymmetricKeySizeInBits: int;
|
|
1186
|
+
Dispose(disposing: boolean): void;
|
|
1187
|
+
Dispose(): void;
|
|
1188
|
+
GetKeyBytes(key: SecurityKey): byte[];
|
|
1189
|
+
GetKeyedHashAlgorithm(keyBytes: byte[], algorithm: string): KeyedHashAlgorithm;
|
|
1190
|
+
ReleaseKeyedHashAlgorithm(keyedHashAlgorithm: KeyedHashAlgorithm): void;
|
|
1090
1191
|
Sign(input: byte[]): byte[];
|
|
1091
1192
|
Sign(input: ReadOnlySpan<System_Internal.Byte>, signature: Span<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1092
1193
|
Sign(input: byte[], offset: int, count: int): byte[];
|
|
@@ -1128,7 +1229,7 @@ export interface TokenHandler$instance {
|
|
|
1128
1229
|
}
|
|
1129
1230
|
|
|
1130
1231
|
|
|
1131
|
-
export const TokenHandler: {
|
|
1232
|
+
export const TokenHandler: (abstract new() => TokenHandler) & {
|
|
1132
1233
|
readonly DefaultTokenLifetimeInMinutes: int;
|
|
1133
1234
|
};
|
|
1134
1235
|
|
|
@@ -1147,7 +1248,7 @@ export interface TokenValidationParameters$instance {
|
|
|
1147
1248
|
IgnoreTrailingSlashWhenValidatingAudience: boolean;
|
|
1148
1249
|
IncludeTokenOnFailedValidation: boolean;
|
|
1149
1250
|
readonly InstancePropertyBag: IDictionary<System_Internal.String, unknown>;
|
|
1150
|
-
|
|
1251
|
+
IsClone: boolean;
|
|
1151
1252
|
IssuerSigningKey: SecurityKey;
|
|
1152
1253
|
IssuerSigningKeyResolver: IssuerSigningKeyResolver;
|
|
1153
1254
|
IssuerSigningKeyResolverUsingConfiguration: IssuerSigningKeyResolverUsingConfiguration;
|
|
@@ -1218,7 +1319,7 @@ export interface TokenValidationResult$instance {
|
|
|
1218
1319
|
readonly PropertyBag: IDictionary<System_Internal.String, unknown>;
|
|
1219
1320
|
SecurityToken: SecurityToken;
|
|
1220
1321
|
TokenContext: CallContext;
|
|
1221
|
-
|
|
1322
|
+
TokenOnFailedValidation: SecurityToken;
|
|
1222
1323
|
TokenType: string;
|
|
1223
1324
|
}
|
|
1224
1325
|
|
|
@@ -1231,7 +1332,7 @@ export const TokenValidationResult: {
|
|
|
1231
1332
|
export type TokenValidationResult = TokenValidationResult$instance;
|
|
1232
1333
|
|
|
1233
1334
|
export interface X509EncryptingCredentials$instance extends EncryptingCredentials {
|
|
1234
|
-
|
|
1335
|
+
Certificate: X509Certificate2;
|
|
1235
1336
|
}
|
|
1236
1337
|
|
|
1237
1338
|
|
|
@@ -1244,7 +1345,7 @@ export const X509EncryptingCredentials: {
|
|
|
1244
1345
|
export type X509EncryptingCredentials = X509EncryptingCredentials$instance;
|
|
1245
1346
|
|
|
1246
1347
|
export interface X509SecurityKey$instance extends AsymmetricSecurityKey {
|
|
1247
|
-
|
|
1348
|
+
Certificate: X509Certificate2;
|
|
1248
1349
|
readonly HasPrivateKey: boolean;
|
|
1249
1350
|
readonly KeySize: int;
|
|
1250
1351
|
readonly PrivateKey: AsymmetricAlgorithm;
|
|
@@ -1267,7 +1368,7 @@ export const X509SecurityKey: {
|
|
|
1267
1368
|
export type X509SecurityKey = X509SecurityKey$instance;
|
|
1268
1369
|
|
|
1269
1370
|
export interface X509SigningCredentials$instance extends SigningCredentials {
|
|
1270
|
-
|
|
1371
|
+
Certificate: X509Certificate2;
|
|
1271
1372
|
}
|
|
1272
1373
|
|
|
1273
1374
|
|