@tsonic/efcore-sqlserver 10.0.2 → 10.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Azure/internal/index.d.ts +119 -85
- package/Azure.Core/internal/index.d.ts +151 -92
- package/Azure.Core.Cryptography/internal/index.d.ts +10 -6
- package/Azure.Core.Diagnostics/internal/index.d.ts +12 -12
- package/Azure.Core.Extensions/internal/index.d.ts +12 -4
- package/Azure.Core.GeoJson/internal/index.d.ts +102 -42
- package/Azure.Core.Pipeline/internal/index.d.ts +75 -59
- package/Azure.Core.Serialization/internal/index.d.ts +29 -20
- package/Azure.Identity/internal/index.d.ts +265 -118
- package/Azure.Messaging/internal/index.d.ts +16 -16
- package/Microsoft.Data/internal/index.d.ts +9 -6
- package/Microsoft.Data.Sql/internal/index.d.ts +9 -5
- package/Microsoft.Data.SqlClient/internal/index.d.ts +272 -172
- package/Microsoft.Data.SqlClient.DataClassification/internal/index.d.ts +20 -10
- package/Microsoft.Data.SqlClient.Diagnostics/internal/index.d.ts +157 -52
- package/Microsoft.Data.SqlClient.Server/internal/index.d.ts +11 -5
- package/Microsoft.Data.SqlTypes/internal/index.d.ts +23 -10
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +333 -333
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +9 -7
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +35 -16
- package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +20 -6
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +135 -98
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.Metadata.Internal.d.ts +3 -0
- package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +57 -57
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +20 -8
- package/Microsoft.EntityFrameworkCore.Migrations.d.ts +3 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/internal/index.d.ts +29 -23
- package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal/internal/index.d.ts +4 -2
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal/internal/index.d.ts +28 -28
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal.d.ts +3 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/internal/index.d.ts +43 -35
- package/Microsoft.EntityFrameworkCore.SqlServer.Internal/internal/index.d.ts +22 -22
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/internal/index.d.ts +15 -11
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/internal/index.d.ts +34 -24
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/internal/index.d.ts +343 -226
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/internal/index.d.ts +18 -17
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/internal/index.d.ts +19 -11
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.d.ts +3 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/internal/index.d.ts +187 -211
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/internal/index.d.ts +50 -41
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/internal/index.d.ts +38 -25
- package/Microsoft.EntityFrameworkCore.d.ts +3 -0
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +7 -7
- package/Microsoft.Extensions.DependencyInjection.d.ts +3 -0
- package/Microsoft.Identity.Client/internal/index.d.ts +377 -263
- package/Microsoft.Identity.Client.Advanced/internal/index.d.ts +4 -4
- package/Microsoft.Identity.Client.AppConfig/internal/index.d.ts +7 -4
- package/Microsoft.Identity.Client.AuthScheme/internal/index.d.ts +5 -3
- package/Microsoft.Identity.Client.AuthScheme.PoP/internal/index.d.ts +3 -1
- package/Microsoft.Identity.Client.Cache/internal/index.d.ts +4 -2
- package/Microsoft.Identity.Client.Extensibility/internal/index.d.ts +28 -19
- package/Microsoft.Identity.Client.Extensions.Msal/internal/index.d.ts +34 -18
- package/Microsoft.Identity.Client.Kerberos/internal/index.d.ts +5 -3
- package/Microsoft.Identity.Client.ManagedIdentity/internal/index.d.ts +2 -2
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/internal/index.d.ts +5 -4
- package/Microsoft.Identity.Client.RP/internal/index.d.ts +3 -3
- package/Microsoft.Identity.Client.Region/internal/index.d.ts +2 -2
- package/Microsoft.Identity.Client.SSHCertificates/internal/index.d.ts +2 -2
- package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient/internal/index.d.ts +4 -2
- package/Microsoft.Identity.Client.Utils/internal/index.d.ts +6 -5
- package/Microsoft.Identity.Client.Utils.Windows/internal/index.d.ts +2 -2
- package/Microsoft.IdentityModel.Abstractions/internal/index.d.ts +29 -19
- package/Microsoft.IdentityModel.JsonWebTokens/internal/index.d.ts +41 -33
- package/Microsoft.IdentityModel.Logging/internal/index.d.ts +25 -16
- package/Microsoft.IdentityModel.Protocols/internal/index.d.ts +59 -32
- package/Microsoft.IdentityModel.Protocols.Configuration/internal/index.d.ts +12 -7
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect/internal/index.d.ts +83 -64
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/internal/index.d.ts +6 -4
- package/Microsoft.IdentityModel.Tokens/internal/index.d.ts +316 -191
- package/Microsoft.IdentityModel.Tokens.Configuration/internal/index.d.ts +7 -5
- package/Microsoft.IdentityModel.Tokens.d.ts +3 -0
- package/Microsoft.SqlServer.Server/internal/index.d.ts +21 -6
- package/System/internal/index.d.ts +19 -17
- package/System.ClientModel/internal/index.d.ts +54 -43
- package/System.ClientModel.Primitives/internal/index.d.ts +220 -177
- package/System.ClientModel.Primitives.d.ts +3 -0
- package/System.Configuration/internal/index.d.ts +529 -340
- package/System.Configuration.Internal/internal/index.d.ts +33 -8
- package/System.Configuration.Provider/internal/index.d.ts +20 -11
- package/System.Diagnostics/internal/index.d.ts +2 -2
- package/System.Drawing.Configuration/internal/index.d.ts +7 -9
- package/System.IdentityModel.Tokens.Jwt/internal/index.d.ts +102 -68
- package/System.Security.Cryptography/internal/index.d.ts +2 -2
- package/System.Text.Json.Serialization/internal/index.d.ts +7 -5
- package/__internal/extensions/index.d.ts +1004 -53
- package/package.json +5 -5
|
@@ -12,21 +12,21 @@ import type { ptr } from "@tsonic/core/types.js";
|
|
|
12
12
|
import * as Microsoft_IdentityModel_Logging_Internal from "../../Microsoft.IdentityModel.Logging/internal/index.js";
|
|
13
13
|
import type { ISafeLogSecurityArtifact, LoggerContext } from "../../Microsoft.IdentityModel.Logging/internal/index.js";
|
|
14
14
|
import type { LKGConfigurationCacheOptions } from "../../Microsoft.IdentityModel.Tokens.Configuration/internal/index.js";
|
|
15
|
-
import type {
|
|
16
|
-
import type { CompressionLevel } from "@tsonic/dotnet/System.IO.Compression.js";
|
|
17
|
-
import * as
|
|
18
|
-
import type {
|
|
19
|
-
import * as
|
|
20
|
-
import type {
|
|
21
|
-
import
|
|
22
|
-
import type {
|
|
23
|
-
import
|
|
24
|
-
import type {
|
|
25
|
-
import
|
|
26
|
-
import type {
|
|
27
|
-
import type {
|
|
28
|
-
import
|
|
29
|
-
import type {
|
|
15
|
+
import type { Dictionary_2, ICollection_1, IDictionary_2, IEnumerable_1, IList_1, IReadOnlyDictionary_2 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
16
|
+
import type { CompressionLevel } from "@tsonic/dotnet/System.IO.Compression/internal/index.js";
|
|
17
|
+
import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
18
|
+
import type { ISerializable, SerializationInfo, StreamingContext } from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
19
|
+
import * as System_Security_Claims_Internal from "@tsonic/dotnet/System.Security.Claims/internal/index.js";
|
|
20
|
+
import type { Claim, ClaimsIdentity, ClaimsPrincipal } from "@tsonic/dotnet/System.Security.Claims/internal/index.js";
|
|
21
|
+
import type { X509Certificate2 } from "@tsonic/dotnet/System.Security.Cryptography.X509Certificates/internal/index.js";
|
|
22
|
+
import type { AsymmetricAlgorithm, ECDsa, HashAlgorithm, HashAlgorithmName, KeyedHashAlgorithm, RSA, RSAParameters, SymmetricAlgorithm } from "@tsonic/dotnet/System.Security.Cryptography/internal/index.js";
|
|
23
|
+
import * as System_Security_Principal_Internal from "@tsonic/dotnet/System.Security.Principal/internal/index.js";
|
|
24
|
+
import type { IIdentity } from "@tsonic/dotnet/System.Security.Principal/internal/index.js";
|
|
25
|
+
import type { Task_1 } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
26
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
27
|
+
import type { XmlReader, XmlWriter } from "@tsonic/dotnet/System.Xml/internal/index.js";
|
|
28
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
29
|
+
import type { ArgumentException, AsyncCallback, Boolean as ClrBoolean, Byte, Char, DateTime, DateTimeKind, Enum, Exception, Func_3, Guid, IAsyncResult, ICloneable, IComparable, IConvertible, IDisposable, IFormattable, Int32, Int64, IntPtr, ISpanFormattable, MulticastDelegate, Nullable_1, Object as ClrObject, ReadOnlySpan_1, Span_1, String as ClrString, TimeSpan, Type, Uri, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
30
30
|
|
|
31
31
|
export enum PrivateKeyStatus {
|
|
32
32
|
Exists = 0,
|
|
@@ -45,13 +45,13 @@ export enum ValidationFailure {
|
|
|
45
45
|
export type AlgorithmValidator = (algorithm: string, securityKey: SecurityKey, securityToken: SecurityToken, validationParameters: TokenValidationParameters) => boolean;
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
export type AudienceValidator = (audiences:
|
|
48
|
+
export type AudienceValidator = (audiences: IEnumerable_1<System_Internal.String>, securityToken: SecurityToken, validationParameters: TokenValidationParameters) => boolean;
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
export type IssuerSigningKeyResolver = (token: string, securityToken: SecurityToken, kid: string, validationParameters: TokenValidationParameters) =>
|
|
51
|
+
export type IssuerSigningKeyResolver = (token: string, securityToken: SecurityToken, kid: string, validationParameters: TokenValidationParameters) => IEnumerable_1<SecurityKey>;
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
export type IssuerSigningKeyResolverUsingConfiguration = (token: string, securityToken: SecurityToken, kid: string, validationParameters: TokenValidationParameters, configuration: BaseConfiguration) =>
|
|
54
|
+
export type IssuerSigningKeyResolverUsingConfiguration = (token: string, securityToken: SecurityToken, kid: string, validationParameters: TokenValidationParameters, configuration: BaseConfiguration) => IEnumerable_1<SecurityKey>;
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
export type IssuerSigningKeyValidator = (securityKey: SecurityKey, securityToken: SecurityToken, validationParameters: TokenValidationParameters) => boolean;
|
|
@@ -66,7 +66,7 @@ export type IssuerValidator = (issuer: string, securityToken: SecurityToken, val
|
|
|
66
66
|
export type IssuerValidatorUsingConfiguration = (issuer: string, securityToken: SecurityToken, validationParameters: TokenValidationParameters, configuration: BaseConfiguration) => string;
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
export type LifetimeValidator = (notBefore:
|
|
69
|
+
export type LifetimeValidator = (notBefore: Nullable_1<DateTime>, expires: Nullable_1<DateTime>, securityToken: SecurityToken, validationParameters: TokenValidationParameters) => boolean;
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
export type SignatureValidator = (token: string, validationParameters: TokenValidationParameters) => SecurityToken;
|
|
@@ -75,13 +75,13 @@ export type SignatureValidator = (token: string, validationParameters: TokenVali
|
|
|
75
75
|
export type SignatureValidatorUsingConfiguration = (token: string, validationParameters: TokenValidationParameters, configuration: BaseConfiguration) => SecurityToken;
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
export type TokenDecryptionKeyResolver = (token: string, securityToken: SecurityToken, kid: string, validationParameters: TokenValidationParameters) =>
|
|
78
|
+
export type TokenDecryptionKeyResolver = (token: string, securityToken: SecurityToken, kid: string, validationParameters: TokenValidationParameters) => IEnumerable_1<SecurityKey>;
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
export type TokenReader = (token: string, validationParameters: TokenValidationParameters) => SecurityToken;
|
|
82
82
|
|
|
83
83
|
|
|
84
|
-
export type TokenReplayValidator = (expirationTime:
|
|
84
|
+
export type TokenReplayValidator = (expirationTime: Nullable_1<DateTime>, securityToken: string, validationParameters: TokenValidationParameters) => boolean;
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
export type TransformBeforeSignatureValidation = (token: SecurityToken, validationParameters: TokenValidationParameters) => SecurityToken;
|
|
@@ -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
|
}
|
|
@@ -127,32 +135,33 @@ export interface ITokenReplayCache$instance {
|
|
|
127
135
|
export type ITokenReplayCache = ITokenReplayCache$instance;
|
|
128
136
|
|
|
129
137
|
export interface AsymmetricSecurityKey$instance extends SecurityKey {
|
|
138
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_AsymmetricSecurityKey: never;
|
|
139
|
+
|
|
130
140
|
readonly HasPrivateKey: boolean;
|
|
131
141
|
readonly PrivateKeyStatus: PrivateKeyStatus;
|
|
132
142
|
}
|
|
133
143
|
|
|
134
144
|
|
|
135
|
-
export const AsymmetricSecurityKey: {
|
|
136
|
-
new(): AsymmetricSecurityKey;
|
|
145
|
+
export const AsymmetricSecurityKey: (abstract new() => AsymmetricSecurityKey) & {
|
|
137
146
|
};
|
|
138
147
|
|
|
139
148
|
|
|
140
149
|
export type AsymmetricSecurityKey = AsymmetricSecurityKey$instance;
|
|
141
150
|
|
|
142
|
-
export
|
|
143
|
-
|
|
144
|
-
protected GetHashAlgorithmName(algorithm: string): HashAlgorithmName;
|
|
145
|
-
}
|
|
151
|
+
export interface AsymmetricSignatureProvider$instance extends SignatureProvider {
|
|
152
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_AsymmetricSignatureProvider: never;
|
|
146
153
|
|
|
154
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
147
155
|
|
|
148
|
-
|
|
149
|
-
readonly
|
|
150
|
-
|
|
156
|
+
readonly MinimumAsymmetricKeySizeInBitsForSigningMap: IReadOnlyDictionary_2<System_Internal.String, System_Internal.Int32>;
|
|
157
|
+
readonly MinimumAsymmetricKeySizeInBitsForVerifyingMap: IReadOnlyDictionary_2<System_Internal.String, System_Internal.Int32>;
|
|
158
|
+
Dispose(disposing: boolean): void;
|
|
151
159
|
Dispose(): void;
|
|
152
|
-
|
|
160
|
+
GetHashAlgorithmName(algorithm: string): HashAlgorithmName;
|
|
161
|
+
Sign(input: ReadOnlySpan_1<System_Internal.Byte>, signature: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
153
162
|
Sign(input: byte[]): byte[];
|
|
154
163
|
Sign(input: byte[], offset: int, count: int): byte[];
|
|
155
|
-
Sign(data:
|
|
164
|
+
Sign(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
156
165
|
ValidateAsymmetricSecurityKeySize(key: SecurityKey, algorithm: string, willCreateSignatures: boolean): void;
|
|
157
166
|
Verify(input: byte[], signature: byte[]): boolean;
|
|
158
167
|
Verify(input: byte[], inputOffset: int, inputLength: int, signature: byte[], signatureOffset: int, signatureLength: int): boolean;
|
|
@@ -162,29 +171,29 @@ export interface AsymmetricSignatureProvider$instance extends AsymmetricSignatur
|
|
|
162
171
|
export const AsymmetricSignatureProvider: {
|
|
163
172
|
new(key: SecurityKey, algorithm: string): AsymmetricSignatureProvider;
|
|
164
173
|
new(key: SecurityKey, algorithm: string, willCreateSignatures: boolean): AsymmetricSignatureProvider;
|
|
165
|
-
readonly DefaultMinimumAsymmetricKeySizeInBitsForSigningMap:
|
|
166
|
-
readonly DefaultMinimumAsymmetricKeySizeInBitsForVerifyingMap:
|
|
174
|
+
readonly DefaultMinimumAsymmetricKeySizeInBitsForSigningMap: Dictionary_2<System_Internal.String, System_Internal.Int32>;
|
|
175
|
+
readonly DefaultMinimumAsymmetricKeySizeInBitsForVerifyingMap: Dictionary_2<System_Internal.String, System_Internal.Int32>;
|
|
167
176
|
};
|
|
168
177
|
|
|
169
178
|
|
|
170
179
|
export type AsymmetricSignatureProvider = AsymmetricSignatureProvider$instance;
|
|
171
180
|
|
|
172
|
-
export
|
|
173
|
-
|
|
174
|
-
protected GetKeyBytes(key: SecurityKey): byte[];
|
|
175
|
-
protected IsSupportedAlgorithm(key: SecurityKey, algorithm: string): boolean;
|
|
176
|
-
protected ValidateKeySize(key: SecurityKey, algorithm: string): void;
|
|
177
|
-
}
|
|
181
|
+
export interface AuthenticatedEncryptionProvider$instance {
|
|
182
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_AuthenticatedEncryptionProvider: never;
|
|
178
183
|
|
|
184
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
179
185
|
|
|
180
|
-
export interface AuthenticatedEncryptionProvider$instance extends AuthenticatedEncryptionProvider$protected {
|
|
181
186
|
readonly Algorithm: string;
|
|
182
187
|
Context: string;
|
|
183
188
|
readonly Key: SecurityKey;
|
|
184
189
|
Decrypt(ciphertext: byte[], authenticatedData: byte[], iv: byte[], authenticationTag: byte[]): byte[];
|
|
185
190
|
Dispose(): void;
|
|
191
|
+
Dispose(disposing: boolean): void;
|
|
186
192
|
Encrypt(plaintext: byte[], authenticatedData: byte[]): AuthenticatedEncryptionResult;
|
|
187
193
|
Encrypt(plaintext: byte[], authenticatedData: byte[], iv: byte[]): AuthenticatedEncryptionResult;
|
|
194
|
+
GetKeyBytes(key: SecurityKey): byte[];
|
|
195
|
+
IsSupportedAlgorithm(key: SecurityKey, algorithm: string): boolean;
|
|
196
|
+
ValidateKeySize(key: SecurityKey, algorithm: string): void;
|
|
188
197
|
}
|
|
189
198
|
|
|
190
199
|
|
|
@@ -196,6 +205,8 @@ export const AuthenticatedEncryptionProvider: {
|
|
|
196
205
|
export type AuthenticatedEncryptionProvider = AuthenticatedEncryptionProvider$instance;
|
|
197
206
|
|
|
198
207
|
export interface AuthenticatedEncryptionResult$instance {
|
|
208
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_AuthenticatedEncryptionResult: never;
|
|
209
|
+
|
|
199
210
|
AuthenticationTag: byte[];
|
|
200
211
|
Ciphertext: byte[];
|
|
201
212
|
IV: byte[];
|
|
@@ -211,22 +222,25 @@ export const AuthenticatedEncryptionResult: {
|
|
|
211
222
|
export type AuthenticatedEncryptionResult = AuthenticatedEncryptionResult$instance;
|
|
212
223
|
|
|
213
224
|
export interface BaseConfiguration$instance {
|
|
225
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_BaseConfiguration: never;
|
|
226
|
+
|
|
214
227
|
ActiveTokenEndpoint: string;
|
|
215
228
|
Issuer: string;
|
|
216
|
-
readonly SigningKeys:
|
|
217
|
-
readonly TokenDecryptionKeys:
|
|
229
|
+
readonly SigningKeys: ICollection_1<SecurityKey>;
|
|
230
|
+
readonly TokenDecryptionKeys: ICollection_1<SecurityKey>;
|
|
218
231
|
TokenEndpoint: string;
|
|
219
232
|
}
|
|
220
233
|
|
|
221
234
|
|
|
222
|
-
export const BaseConfiguration: {
|
|
223
|
-
new(): BaseConfiguration;
|
|
235
|
+
export const BaseConfiguration: (abstract new() => BaseConfiguration) & {
|
|
224
236
|
};
|
|
225
237
|
|
|
226
238
|
|
|
227
239
|
export type BaseConfiguration = BaseConfiguration$instance;
|
|
228
240
|
|
|
229
241
|
export interface BaseConfigurationManager$instance {
|
|
242
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_BaseConfigurationManager: never;
|
|
243
|
+
|
|
230
244
|
AutomaticRefreshInterval: TimeSpan;
|
|
231
245
|
readonly IsLastKnownGoodValid: boolean;
|
|
232
246
|
LastKnownGoodConfiguration: BaseConfiguration;
|
|
@@ -234,14 +248,12 @@ export interface BaseConfigurationManager$instance {
|
|
|
234
248
|
MetadataAddress: string;
|
|
235
249
|
RefreshInterval: TimeSpan;
|
|
236
250
|
UseLastKnownGoodConfiguration: boolean;
|
|
237
|
-
GetBaseConfigurationAsync(cancel: CancellationToken):
|
|
251
|
+
GetBaseConfigurationAsync(cancel: CancellationToken): Task_1<BaseConfiguration>;
|
|
238
252
|
RequestRefresh(): void;
|
|
239
253
|
}
|
|
240
254
|
|
|
241
255
|
|
|
242
|
-
export const BaseConfigurationManager: {
|
|
243
|
-
new(): BaseConfigurationManager;
|
|
244
|
-
new(options: LKGConfigurationCacheOptions): BaseConfigurationManager;
|
|
256
|
+
export const BaseConfigurationManager: (abstract new() => BaseConfigurationManager) & (abstract new(options: LKGConfigurationCacheOptions) => BaseConfigurationManager) & {
|
|
245
257
|
readonly DefaultAutomaticRefreshInterval: TimeSpan;
|
|
246
258
|
readonly DefaultLastKnownGoodConfigurationLifetime: TimeSpan;
|
|
247
259
|
readonly DefaultRefreshInterval: TimeSpan;
|
|
@@ -253,6 +265,8 @@ export const BaseConfigurationManager: {
|
|
|
253
265
|
export type BaseConfigurationManager = BaseConfigurationManager$instance;
|
|
254
266
|
|
|
255
267
|
export interface CallContext$instance extends LoggerContext {
|
|
268
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_CallContext: never;
|
|
269
|
+
|
|
256
270
|
}
|
|
257
271
|
|
|
258
272
|
|
|
@@ -265,8 +279,12 @@ export const CallContext: {
|
|
|
265
279
|
export type CallContext = CallContext$instance;
|
|
266
280
|
|
|
267
281
|
export interface CaseSensitiveClaimsIdentity$instance extends ClaimsIdentity {
|
|
282
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_CaseSensitiveClaimsIdentity: never;
|
|
283
|
+
|
|
284
|
+
readonly __tsonic_iface_System_Security_Principal_IIdentity: never;
|
|
285
|
+
|
|
268
286
|
SecurityToken: SecurityToken;
|
|
269
|
-
FindAll(type: string):
|
|
287
|
+
FindAll(type: string): IEnumerable_1<Claim>;
|
|
270
288
|
FindFirst(type: string): Claim;
|
|
271
289
|
HasClaim(type: string, value: string): boolean;
|
|
272
290
|
}
|
|
@@ -276,9 +294,9 @@ export const CaseSensitiveClaimsIdentity: {
|
|
|
276
294
|
new(): CaseSensitiveClaimsIdentity;
|
|
277
295
|
new(authenticationType: string): CaseSensitiveClaimsIdentity;
|
|
278
296
|
new(claimsIdentity: ClaimsIdentity): CaseSensitiveClaimsIdentity;
|
|
279
|
-
new(claims:
|
|
280
|
-
new(claims:
|
|
281
|
-
new(claims:
|
|
297
|
+
new(claims: IEnumerable_1<Claim>): CaseSensitiveClaimsIdentity;
|
|
298
|
+
new(claims: IEnumerable_1<Claim>, authenticationType: string): CaseSensitiveClaimsIdentity;
|
|
299
|
+
new(claims: IEnumerable_1<Claim>, authenticationType: string, nameType: string, roleType: string): CaseSensitiveClaimsIdentity;
|
|
282
300
|
new(authenticationType: string, nameType: string, roleType: string): CaseSensitiveClaimsIdentity;
|
|
283
301
|
};
|
|
284
302
|
|
|
@@ -286,6 +304,8 @@ export const CaseSensitiveClaimsIdentity: {
|
|
|
286
304
|
export type CaseSensitiveClaimsIdentity = CaseSensitiveClaimsIdentity$instance;
|
|
287
305
|
|
|
288
306
|
export interface CompressionAlgorithms$instance {
|
|
307
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_CompressionAlgorithms: never;
|
|
308
|
+
|
|
289
309
|
}
|
|
290
310
|
|
|
291
311
|
|
|
@@ -298,6 +318,8 @@ export const CompressionAlgorithms: {
|
|
|
298
318
|
export type CompressionAlgorithms = CompressionAlgorithms$instance;
|
|
299
319
|
|
|
300
320
|
export interface CompressionProviderFactory$instance {
|
|
321
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_CompressionProviderFactory: never;
|
|
322
|
+
|
|
301
323
|
CustomCompressionProvider: ICompressionProvider;
|
|
302
324
|
CreateCompressionProvider(algorithm: string): ICompressionProvider;
|
|
303
325
|
CreateCompressionProvider(algorithm: string, maximumDeflateSize: int): ICompressionProvider;
|
|
@@ -314,27 +336,26 @@ export const CompressionProviderFactory: {
|
|
|
314
336
|
|
|
315
337
|
export type CompressionProviderFactory = CompressionProviderFactory$instance;
|
|
316
338
|
|
|
317
|
-
export
|
|
318
|
-
|
|
319
|
-
protected abstract GetCacheKey(securityKey: SecurityKey, algorithm: string, typeofProvider: string): string;
|
|
320
|
-
}
|
|
321
|
-
|
|
339
|
+
export interface CryptoProviderCache$instance {
|
|
340
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_CryptoProviderCache: never;
|
|
322
341
|
|
|
323
|
-
|
|
342
|
+
GetCacheKey(signatureProvider: SignatureProvider): string;
|
|
343
|
+
GetCacheKey(securityKey: SecurityKey, algorithm: string, typeofProvider: string): string;
|
|
324
344
|
TryAdd(signatureProvider: SignatureProvider): boolean;
|
|
325
345
|
TryGetSignatureProvider(securityKey: SecurityKey, algorithm: string, typeofProvider: string, willCreateSignatures: boolean, signatureProvider: SignatureProvider): boolean;
|
|
326
346
|
TryRemove(signatureProvider: SignatureProvider): boolean;
|
|
327
347
|
}
|
|
328
348
|
|
|
329
349
|
|
|
330
|
-
export const CryptoProviderCache: {
|
|
331
|
-
new(): CryptoProviderCache;
|
|
350
|
+
export const CryptoProviderCache: (abstract new() => CryptoProviderCache) & {
|
|
332
351
|
};
|
|
333
352
|
|
|
334
353
|
|
|
335
354
|
export type CryptoProviderCache = CryptoProviderCache$instance;
|
|
336
355
|
|
|
337
356
|
export interface CryptoProviderCacheOptions$instance {
|
|
357
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_CryptoProviderCacheOptions: never;
|
|
358
|
+
|
|
338
359
|
SizeLimit: int;
|
|
339
360
|
}
|
|
340
361
|
|
|
@@ -348,6 +369,8 @@ export const CryptoProviderCacheOptions: {
|
|
|
348
369
|
export type CryptoProviderCacheOptions = CryptoProviderCacheOptions$instance;
|
|
349
370
|
|
|
350
371
|
export interface CryptoProviderFactory$instance {
|
|
372
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_CryptoProviderFactory: never;
|
|
373
|
+
|
|
351
374
|
CacheSignatureProviders: boolean;
|
|
352
375
|
CryptoProviderCache: CryptoProviderCache;
|
|
353
376
|
CustomCryptoProvider: ICryptoProvider;
|
|
@@ -383,7 +406,11 @@ export const CryptoProviderFactory: {
|
|
|
383
406
|
|
|
384
407
|
export type CryptoProviderFactory = CryptoProviderFactory$instance;
|
|
385
408
|
|
|
386
|
-
export interface DeflateCompressionProvider$instance {
|
|
409
|
+
export interface DeflateCompressionProvider$instance extends ICompressionProvider$instance {
|
|
410
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_DeflateCompressionProvider: never;
|
|
411
|
+
|
|
412
|
+
readonly __tsonic_iface_Microsoft_IdentityModel_Tokens_ICompressionProvider: never;
|
|
413
|
+
|
|
387
414
|
readonly Algorithm: string;
|
|
388
415
|
CompressionLevel: CompressionLevel;
|
|
389
416
|
MaximumDeflateSize: int;
|
|
@@ -403,12 +430,12 @@ export interface __DeflateCompressionProvider$views {
|
|
|
403
430
|
As_ICompressionProvider(): ICompressionProvider$instance;
|
|
404
431
|
}
|
|
405
432
|
|
|
406
|
-
export interface DeflateCompressionProvider$instance extends ICompressionProvider$instance {}
|
|
407
|
-
|
|
408
433
|
export type DeflateCompressionProvider = DeflateCompressionProvider$instance & __DeflateCompressionProvider$views;
|
|
409
434
|
|
|
410
435
|
|
|
411
436
|
export interface EcdhKeyExchangeProvider$instance {
|
|
437
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_EcdhKeyExchangeProvider: never;
|
|
438
|
+
|
|
412
439
|
KeyDataLen: int;
|
|
413
440
|
GenerateKdf(apu?: string, apv?: string): SecurityKey;
|
|
414
441
|
}
|
|
@@ -422,6 +449,8 @@ export const EcdhKeyExchangeProvider: {
|
|
|
422
449
|
export type EcdhKeyExchangeProvider = EcdhKeyExchangeProvider$instance;
|
|
423
450
|
|
|
424
451
|
export interface ECDsaSecurityKey$instance extends AsymmetricSecurityKey {
|
|
452
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_ECDsaSecurityKey: never;
|
|
453
|
+
|
|
425
454
|
ECDsa: ECDsa;
|
|
426
455
|
readonly HasPrivateKey: boolean;
|
|
427
456
|
readonly KeySize: int;
|
|
@@ -439,6 +468,8 @@ export const ECDsaSecurityKey: {
|
|
|
439
468
|
export type ECDsaSecurityKey = ECDsaSecurityKey$instance;
|
|
440
469
|
|
|
441
470
|
export interface EncryptingCredentials$instance {
|
|
471
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_EncryptingCredentials: never;
|
|
472
|
+
|
|
442
473
|
Alg: string;
|
|
443
474
|
CryptoProviderFactory: CryptoProviderFactory;
|
|
444
475
|
Enc: string;
|
|
@@ -449,7 +480,6 @@ export interface EncryptingCredentials$instance {
|
|
|
449
480
|
|
|
450
481
|
|
|
451
482
|
export const EncryptingCredentials: {
|
|
452
|
-
new(certificate: X509Certificate2, alg: string, enc: string): EncryptingCredentials;
|
|
453
483
|
new(key: SecurityKey, alg: string, enc: string): EncryptingCredentials;
|
|
454
484
|
new(key: SymmetricSecurityKey, enc: string): EncryptingCredentials;
|
|
455
485
|
};
|
|
@@ -457,15 +487,15 @@ export const EncryptingCredentials: {
|
|
|
457
487
|
|
|
458
488
|
export type EncryptingCredentials = EncryptingCredentials$instance;
|
|
459
489
|
|
|
460
|
-
export
|
|
461
|
-
|
|
462
|
-
protected GetCacheKey(signatureProvider: SignatureProvider): string;
|
|
463
|
-
protected GetCacheKey(securityKey: SecurityKey, algorithm: string, typeofProvider: string): string;
|
|
464
|
-
}
|
|
490
|
+
export interface InMemoryCryptoProviderCache$instance extends CryptoProviderCache {
|
|
491
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_InMemoryCryptoProviderCache: never;
|
|
465
492
|
|
|
493
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
466
494
|
|
|
467
|
-
export interface InMemoryCryptoProviderCache$instance extends InMemoryCryptoProviderCache$protected, CryptoProviderCache {
|
|
468
495
|
Dispose(): void;
|
|
496
|
+
Dispose(disposing: boolean): void;
|
|
497
|
+
GetCacheKey(signatureProvider: SignatureProvider): string;
|
|
498
|
+
GetCacheKey(securityKey: SecurityKey, algorithm: string, typeofProvider: string): string;
|
|
469
499
|
TryAdd(signatureProvider: SignatureProvider): boolean;
|
|
470
500
|
TryGetSignatureProvider(securityKey: SecurityKey, algorithm: string, typeofProvider: string, willCreateSignatures: boolean, signatureProvider: SignatureProvider): boolean;
|
|
471
501
|
TryRemove(signatureProvider: SignatureProvider): boolean;
|
|
@@ -481,7 +511,9 @@ export const InMemoryCryptoProviderCache: {
|
|
|
481
511
|
export type InMemoryCryptoProviderCache = InMemoryCryptoProviderCache$instance;
|
|
482
512
|
|
|
483
513
|
export interface JsonWebKey$instance extends SecurityKey {
|
|
484
|
-
readonly
|
|
514
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_JsonWebKey: never;
|
|
515
|
+
|
|
516
|
+
readonly AdditionalData: IDictionary_2<System_Internal.String, unknown>;
|
|
485
517
|
Alg: string;
|
|
486
518
|
Crv: string;
|
|
487
519
|
D: string;
|
|
@@ -491,25 +523,25 @@ export interface JsonWebKey$instance extends SecurityKey {
|
|
|
491
523
|
readonly HasPrivateKey: boolean;
|
|
492
524
|
K: string;
|
|
493
525
|
KeyId: string;
|
|
494
|
-
readonly KeyOps:
|
|
526
|
+
readonly KeyOps: IList_1<System_Internal.String>;
|
|
495
527
|
readonly KeySize: int;
|
|
496
528
|
Kid: string;
|
|
497
529
|
Kty: string;
|
|
498
530
|
N: string;
|
|
499
|
-
readonly Oth:
|
|
531
|
+
readonly Oth: IList_1<System_Internal.String>;
|
|
500
532
|
P: string;
|
|
501
533
|
Q: string;
|
|
502
534
|
QI: string;
|
|
503
535
|
Use: string;
|
|
504
536
|
X: string;
|
|
505
|
-
readonly X5c:
|
|
537
|
+
readonly X5c: IList_1<System_Internal.String>;
|
|
506
538
|
X5t: string;
|
|
507
539
|
X5tS256: string;
|
|
508
540
|
X5u: string;
|
|
509
541
|
Y: string;
|
|
510
542
|
CanComputeJwkThumbprint(): boolean;
|
|
511
543
|
ComputeJwkThumbprint(): byte[];
|
|
512
|
-
ToString(): string
|
|
544
|
+
ToString(): string;
|
|
513
545
|
}
|
|
514
546
|
|
|
515
547
|
|
|
@@ -523,6 +555,8 @@ export const JsonWebKey: {
|
|
|
523
555
|
export type JsonWebKey = JsonWebKey$instance;
|
|
524
556
|
|
|
525
557
|
export interface JsonWebKeyConverter$instance {
|
|
558
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_JsonWebKeyConverter: never;
|
|
559
|
+
|
|
526
560
|
}
|
|
527
561
|
|
|
528
562
|
|
|
@@ -540,10 +574,12 @@ export const JsonWebKeyConverter: {
|
|
|
540
574
|
export type JsonWebKeyConverter = JsonWebKeyConverter$instance;
|
|
541
575
|
|
|
542
576
|
export interface JsonWebKeySet$instance {
|
|
543
|
-
readonly
|
|
544
|
-
|
|
577
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_JsonWebKeySet: never;
|
|
578
|
+
|
|
579
|
+
readonly AdditionalData: IDictionary_2<System_Internal.String, unknown>;
|
|
580
|
+
Keys: IList_1<JsonWebKey>;
|
|
545
581
|
SkipUnresolvedJsonWebKeys: boolean;
|
|
546
|
-
GetSigningKeys():
|
|
582
|
+
GetSigningKeys(): IList_1<SecurityKey>;
|
|
547
583
|
}
|
|
548
584
|
|
|
549
585
|
|
|
@@ -557,39 +593,38 @@ export const JsonWebKeySet: {
|
|
|
557
593
|
|
|
558
594
|
export type JsonWebKeySet = JsonWebKeySet$instance;
|
|
559
595
|
|
|
560
|
-
export
|
|
561
|
-
|
|
562
|
-
}
|
|
596
|
+
export interface KeyWrapProvider$instance {
|
|
597
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_KeyWrapProvider: never;
|
|
563
598
|
|
|
599
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
564
600
|
|
|
565
|
-
export interface KeyWrapProvider$instance extends KeyWrapProvider$protected {
|
|
566
601
|
readonly Algorithm: string;
|
|
567
602
|
Context: string;
|
|
568
603
|
readonly Key: SecurityKey;
|
|
569
604
|
Dispose(): void;
|
|
605
|
+
Dispose(disposing: boolean): void;
|
|
570
606
|
UnwrapKey(keyBytes: byte[]): byte[];
|
|
571
607
|
WrapKey(keyBytes: byte[]): byte[];
|
|
572
608
|
}
|
|
573
609
|
|
|
574
610
|
|
|
575
|
-
export const KeyWrapProvider: {
|
|
576
|
-
new(): KeyWrapProvider;
|
|
611
|
+
export const KeyWrapProvider: (abstract new() => KeyWrapProvider) & {
|
|
577
612
|
};
|
|
578
613
|
|
|
579
614
|
|
|
580
615
|
export type KeyWrapProvider = KeyWrapProvider$instance;
|
|
581
616
|
|
|
582
|
-
export
|
|
583
|
-
|
|
584
|
-
protected IsSupportedAlgorithm(key: SecurityKey, algorithm: string): boolean;
|
|
585
|
-
}
|
|
617
|
+
export interface RsaKeyWrapProvider$instance extends KeyWrapProvider {
|
|
618
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_RsaKeyWrapProvider: never;
|
|
586
619
|
|
|
620
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
587
621
|
|
|
588
|
-
export interface RsaKeyWrapProvider$instance extends RsaKeyWrapProvider$protected, KeyWrapProvider {
|
|
589
622
|
readonly Algorithm: string;
|
|
590
623
|
Context: string;
|
|
591
624
|
readonly Key: SecurityKey;
|
|
625
|
+
Dispose(disposing: boolean): void;
|
|
592
626
|
Dispose(): void;
|
|
627
|
+
IsSupportedAlgorithm(key: SecurityKey, algorithm: string): boolean;
|
|
593
628
|
UnwrapKey(keyBytes: byte[]): byte[];
|
|
594
629
|
WrapKey(keyBytes: byte[]): byte[];
|
|
595
630
|
}
|
|
@@ -603,6 +638,8 @@ export const RsaKeyWrapProvider: {
|
|
|
603
638
|
export type RsaKeyWrapProvider = RsaKeyWrapProvider$instance;
|
|
604
639
|
|
|
605
640
|
export interface RsaSecurityKey$instance extends AsymmetricSecurityKey {
|
|
641
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_RsaSecurityKey: never;
|
|
642
|
+
|
|
606
643
|
readonly HasPrivateKey: boolean;
|
|
607
644
|
readonly KeySize: int;
|
|
608
645
|
Parameters: RSAParameters;
|
|
@@ -622,24 +659,27 @@ export const RsaSecurityKey: {
|
|
|
622
659
|
export type RsaSecurityKey = RsaSecurityKey$instance;
|
|
623
660
|
|
|
624
661
|
export interface SecurityKey$instance {
|
|
662
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityKey: never;
|
|
663
|
+
|
|
625
664
|
CryptoProviderFactory: CryptoProviderFactory;
|
|
626
665
|
KeyId: string;
|
|
627
666
|
readonly KeySize: int;
|
|
628
667
|
CanComputeJwkThumbprint(): boolean;
|
|
629
668
|
ComputeJwkThumbprint(): byte[];
|
|
630
669
|
IsSupportedAlgorithm(algorithm: string): boolean;
|
|
631
|
-
ToString(): string
|
|
670
|
+
ToString(): string;
|
|
632
671
|
}
|
|
633
672
|
|
|
634
673
|
|
|
635
|
-
export const SecurityKey: {
|
|
636
|
-
new(): SecurityKey;
|
|
674
|
+
export const SecurityKey: (abstract new() => SecurityKey) & {
|
|
637
675
|
};
|
|
638
676
|
|
|
639
677
|
|
|
640
678
|
export type SecurityKey = SecurityKey$instance;
|
|
641
679
|
|
|
642
680
|
export interface SecurityKeyIdentifierClause$instance {
|
|
681
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityKeyIdentifierClause: never;
|
|
682
|
+
|
|
643
683
|
}
|
|
644
684
|
|
|
645
685
|
|
|
@@ -650,7 +690,11 @@ export const SecurityKeyIdentifierClause: {
|
|
|
650
690
|
|
|
651
691
|
export type SecurityKeyIdentifierClause = SecurityKeyIdentifierClause$instance;
|
|
652
692
|
|
|
653
|
-
export interface SecurityToken$instance {
|
|
693
|
+
export interface SecurityToken$instance extends Microsoft_IdentityModel_Logging_Internal.ISafeLogSecurityArtifact$instance {
|
|
694
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityToken: never;
|
|
695
|
+
|
|
696
|
+
readonly __tsonic_iface_Microsoft_IdentityModel_Logging_ISafeLogSecurityArtifact: never;
|
|
697
|
+
|
|
654
698
|
readonly Id: string;
|
|
655
699
|
readonly Issuer: string;
|
|
656
700
|
readonly SecurityKey: SecurityKey;
|
|
@@ -661,8 +705,7 @@ export interface SecurityToken$instance {
|
|
|
661
705
|
}
|
|
662
706
|
|
|
663
707
|
|
|
664
|
-
export const SecurityToken: {
|
|
665
|
-
new(): SecurityToken;
|
|
708
|
+
export const SecurityToken: (abstract new() => SecurityToken) & {
|
|
666
709
|
};
|
|
667
710
|
|
|
668
711
|
|
|
@@ -670,12 +713,14 @@ export interface __SecurityToken$views {
|
|
|
670
713
|
As_ISafeLogSecurityArtifact(): Microsoft_IdentityModel_Logging_Internal.ISafeLogSecurityArtifact$instance;
|
|
671
714
|
}
|
|
672
715
|
|
|
673
|
-
export interface SecurityToken$instance extends Microsoft_IdentityModel_Logging_Internal.ISafeLogSecurityArtifact$instance {}
|
|
674
|
-
|
|
675
716
|
export type SecurityToken = SecurityToken$instance & __SecurityToken$views;
|
|
676
717
|
|
|
677
718
|
|
|
678
719
|
export interface SecurityTokenArgumentException$instance extends ArgumentException {
|
|
720
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenArgumentException: never;
|
|
721
|
+
|
|
722
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
723
|
+
|
|
679
724
|
}
|
|
680
725
|
|
|
681
726
|
|
|
@@ -683,13 +728,16 @@ export const SecurityTokenArgumentException: {
|
|
|
683
728
|
new(): SecurityTokenArgumentException;
|
|
684
729
|
new(message: string): SecurityTokenArgumentException;
|
|
685
730
|
new(message: string, innerException: Exception): SecurityTokenArgumentException;
|
|
686
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenArgumentException;
|
|
687
731
|
};
|
|
688
732
|
|
|
689
733
|
|
|
690
734
|
export type SecurityTokenArgumentException = SecurityTokenArgumentException$instance;
|
|
691
735
|
|
|
692
736
|
export interface SecurityTokenCompressionFailedException$instance extends SecurityTokenException {
|
|
737
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenCompressionFailedException: never;
|
|
738
|
+
|
|
739
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
740
|
+
|
|
693
741
|
}
|
|
694
742
|
|
|
695
743
|
|
|
@@ -697,13 +745,16 @@ export const SecurityTokenCompressionFailedException: {
|
|
|
697
745
|
new(): SecurityTokenCompressionFailedException;
|
|
698
746
|
new(message: string): SecurityTokenCompressionFailedException;
|
|
699
747
|
new(message: string, inner: Exception): SecurityTokenCompressionFailedException;
|
|
700
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenCompressionFailedException;
|
|
701
748
|
};
|
|
702
749
|
|
|
703
750
|
|
|
704
751
|
export type SecurityTokenCompressionFailedException = SecurityTokenCompressionFailedException$instance;
|
|
705
752
|
|
|
706
753
|
export interface SecurityTokenDecompressionFailedException$instance extends SecurityTokenException {
|
|
754
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenDecompressionFailedException: never;
|
|
755
|
+
|
|
756
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
757
|
+
|
|
707
758
|
}
|
|
708
759
|
|
|
709
760
|
|
|
@@ -711,13 +762,16 @@ export const SecurityTokenDecompressionFailedException: {
|
|
|
711
762
|
new(): SecurityTokenDecompressionFailedException;
|
|
712
763
|
new(message: string): SecurityTokenDecompressionFailedException;
|
|
713
764
|
new(message: string, inner: Exception): SecurityTokenDecompressionFailedException;
|
|
714
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenDecompressionFailedException;
|
|
715
765
|
};
|
|
716
766
|
|
|
717
767
|
|
|
718
768
|
export type SecurityTokenDecompressionFailedException = SecurityTokenDecompressionFailedException$instance;
|
|
719
769
|
|
|
720
770
|
export interface SecurityTokenDecryptionFailedException$instance extends SecurityTokenException {
|
|
771
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenDecryptionFailedException: never;
|
|
772
|
+
|
|
773
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
774
|
+
|
|
721
775
|
}
|
|
722
776
|
|
|
723
777
|
|
|
@@ -725,26 +779,26 @@ export const SecurityTokenDecryptionFailedException: {
|
|
|
725
779
|
new(): SecurityTokenDecryptionFailedException;
|
|
726
780
|
new(message: string): SecurityTokenDecryptionFailedException;
|
|
727
781
|
new(message: string, innerException: Exception): SecurityTokenDecryptionFailedException;
|
|
728
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenDecryptionFailedException;
|
|
729
782
|
};
|
|
730
783
|
|
|
731
784
|
|
|
732
785
|
export type SecurityTokenDecryptionFailedException = SecurityTokenDecryptionFailedException$instance;
|
|
733
786
|
|
|
734
787
|
export interface SecurityTokenDescriptor$instance {
|
|
735
|
-
|
|
736
|
-
|
|
788
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenDescriptor: never;
|
|
789
|
+
|
|
790
|
+
AdditionalHeaderClaims: IDictionary_2<System_Internal.String, unknown>;
|
|
791
|
+
AdditionalInnerHeaderClaims: IDictionary_2<System_Internal.String, unknown>;
|
|
737
792
|
Audience: string;
|
|
738
|
-
Claims:
|
|
793
|
+
Claims: IDictionary_2<System_Internal.String, unknown>;
|
|
739
794
|
CompressionAlgorithm: string;
|
|
740
795
|
EncryptingCredentials: EncryptingCredentials;
|
|
741
|
-
Expires:
|
|
742
|
-
IssuedAt:
|
|
796
|
+
Expires: Nullable_1<DateTime>;
|
|
797
|
+
IssuedAt: Nullable_1<DateTime>;
|
|
743
798
|
Issuer: string;
|
|
744
|
-
NotBefore:
|
|
799
|
+
NotBefore: Nullable_1<DateTime>;
|
|
745
800
|
SigningCredentials: SigningCredentials;
|
|
746
|
-
|
|
747
|
-
set Subject(value: ClaimsIdentity);
|
|
801
|
+
Subject: ClaimsIdentity;
|
|
748
802
|
TokenType: string;
|
|
749
803
|
}
|
|
750
804
|
|
|
@@ -757,6 +811,10 @@ export const SecurityTokenDescriptor: {
|
|
|
757
811
|
export type SecurityTokenDescriptor = SecurityTokenDescriptor$instance;
|
|
758
812
|
|
|
759
813
|
export interface SecurityTokenEncryptionFailedException$instance extends SecurityTokenException {
|
|
814
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenEncryptionFailedException: never;
|
|
815
|
+
|
|
816
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
817
|
+
|
|
760
818
|
}
|
|
761
819
|
|
|
762
820
|
|
|
@@ -764,13 +822,16 @@ export const SecurityTokenEncryptionFailedException: {
|
|
|
764
822
|
new(): SecurityTokenEncryptionFailedException;
|
|
765
823
|
new(message: string): SecurityTokenEncryptionFailedException;
|
|
766
824
|
new(message: string, innerException: Exception): SecurityTokenEncryptionFailedException;
|
|
767
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenEncryptionFailedException;
|
|
768
825
|
};
|
|
769
826
|
|
|
770
827
|
|
|
771
828
|
export type SecurityTokenEncryptionFailedException = SecurityTokenEncryptionFailedException$instance;
|
|
772
829
|
|
|
773
830
|
export interface SecurityTokenEncryptionKeyNotFoundException$instance extends SecurityTokenDecryptionFailedException {
|
|
831
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenEncryptionKeyNotFoundException: never;
|
|
832
|
+
|
|
833
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
834
|
+
|
|
774
835
|
}
|
|
775
836
|
|
|
776
837
|
|
|
@@ -778,13 +839,16 @@ export const SecurityTokenEncryptionKeyNotFoundException: {
|
|
|
778
839
|
new(): SecurityTokenEncryptionKeyNotFoundException;
|
|
779
840
|
new(message: string): SecurityTokenEncryptionKeyNotFoundException;
|
|
780
841
|
new(message: string, innerException: Exception): SecurityTokenEncryptionKeyNotFoundException;
|
|
781
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenEncryptionKeyNotFoundException;
|
|
782
842
|
};
|
|
783
843
|
|
|
784
844
|
|
|
785
845
|
export type SecurityTokenEncryptionKeyNotFoundException = SecurityTokenEncryptionKeyNotFoundException$instance;
|
|
786
846
|
|
|
787
847
|
export interface SecurityTokenException$instance extends Exception {
|
|
848
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenException: never;
|
|
849
|
+
|
|
850
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
851
|
+
|
|
788
852
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
789
853
|
}
|
|
790
854
|
|
|
@@ -793,13 +857,16 @@ export const SecurityTokenException: {
|
|
|
793
857
|
new(): SecurityTokenException;
|
|
794
858
|
new(message: string): SecurityTokenException;
|
|
795
859
|
new(message: string, innerException: Exception): SecurityTokenException;
|
|
796
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenException;
|
|
797
860
|
};
|
|
798
861
|
|
|
799
862
|
|
|
800
863
|
export type SecurityTokenException = SecurityTokenException$instance;
|
|
801
864
|
|
|
802
865
|
export interface SecurityTokenExpiredException$instance extends SecurityTokenValidationException {
|
|
866
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenExpiredException: never;
|
|
867
|
+
|
|
868
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
869
|
+
|
|
803
870
|
Expires: DateTime;
|
|
804
871
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
805
872
|
}
|
|
@@ -809,13 +876,16 @@ export const SecurityTokenExpiredException: {
|
|
|
809
876
|
new(): SecurityTokenExpiredException;
|
|
810
877
|
new(message: string): SecurityTokenExpiredException;
|
|
811
878
|
new(message: string, inner: Exception): SecurityTokenExpiredException;
|
|
812
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenExpiredException;
|
|
813
879
|
};
|
|
814
880
|
|
|
815
881
|
|
|
816
882
|
export type SecurityTokenExpiredException = SecurityTokenExpiredException$instance;
|
|
817
883
|
|
|
818
|
-
export interface SecurityTokenHandler$instance extends TokenHandler {
|
|
884
|
+
export interface SecurityTokenHandler$instance extends TokenHandler, ISecurityTokenValidator$instance {
|
|
885
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenHandler: never;
|
|
886
|
+
|
|
887
|
+
readonly __tsonic_iface_Microsoft_IdentityModel_Tokens_ISecurityTokenValidator: never;
|
|
888
|
+
|
|
819
889
|
readonly CanValidateToken: boolean;
|
|
820
890
|
readonly CanWriteToken: boolean;
|
|
821
891
|
readonly TokenType: Type;
|
|
@@ -831,8 +901,7 @@ export interface SecurityTokenHandler$instance extends TokenHandler {
|
|
|
831
901
|
}
|
|
832
902
|
|
|
833
903
|
|
|
834
|
-
export const SecurityTokenHandler: {
|
|
835
|
-
new(): SecurityTokenHandler;
|
|
904
|
+
export const SecurityTokenHandler: (abstract new() => SecurityTokenHandler) & {
|
|
836
905
|
};
|
|
837
906
|
|
|
838
907
|
|
|
@@ -840,12 +909,14 @@ export interface __SecurityTokenHandler$views {
|
|
|
840
909
|
As_ISecurityTokenValidator(): ISecurityTokenValidator$instance;
|
|
841
910
|
}
|
|
842
911
|
|
|
843
|
-
export interface SecurityTokenHandler$instance extends ISecurityTokenValidator$instance {}
|
|
844
|
-
|
|
845
912
|
export type SecurityTokenHandler = SecurityTokenHandler$instance & __SecurityTokenHandler$views;
|
|
846
913
|
|
|
847
914
|
|
|
848
915
|
export interface SecurityTokenInvalidAlgorithmException$instance extends SecurityTokenValidationException {
|
|
916
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenInvalidAlgorithmException: never;
|
|
917
|
+
|
|
918
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
919
|
+
|
|
849
920
|
InvalidAlgorithm: string;
|
|
850
921
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
851
922
|
}
|
|
@@ -855,13 +926,16 @@ export const SecurityTokenInvalidAlgorithmException: {
|
|
|
855
926
|
new(): SecurityTokenInvalidAlgorithmException;
|
|
856
927
|
new(message: string): SecurityTokenInvalidAlgorithmException;
|
|
857
928
|
new(message: string, innerException: Exception): SecurityTokenInvalidAlgorithmException;
|
|
858
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenInvalidAlgorithmException;
|
|
859
929
|
};
|
|
860
930
|
|
|
861
931
|
|
|
862
932
|
export type SecurityTokenInvalidAlgorithmException = SecurityTokenInvalidAlgorithmException$instance;
|
|
863
933
|
|
|
864
934
|
export interface SecurityTokenInvalidAudienceException$instance extends SecurityTokenValidationException {
|
|
935
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenInvalidAudienceException: never;
|
|
936
|
+
|
|
937
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
938
|
+
|
|
865
939
|
InvalidAudience: string;
|
|
866
940
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
867
941
|
}
|
|
@@ -871,13 +945,16 @@ export const SecurityTokenInvalidAudienceException: {
|
|
|
871
945
|
new(): SecurityTokenInvalidAudienceException;
|
|
872
946
|
new(message: string): SecurityTokenInvalidAudienceException;
|
|
873
947
|
new(message: string, innerException: Exception): SecurityTokenInvalidAudienceException;
|
|
874
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenInvalidAudienceException;
|
|
875
948
|
};
|
|
876
949
|
|
|
877
950
|
|
|
878
951
|
export type SecurityTokenInvalidAudienceException = SecurityTokenInvalidAudienceException$instance;
|
|
879
952
|
|
|
880
953
|
export interface SecurityTokenInvalidIssuerException$instance extends SecurityTokenValidationException {
|
|
954
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenInvalidIssuerException: never;
|
|
955
|
+
|
|
956
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
957
|
+
|
|
881
958
|
InvalidIssuer: string;
|
|
882
959
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
883
960
|
}
|
|
@@ -887,15 +964,18 @@ export const SecurityTokenInvalidIssuerException: {
|
|
|
887
964
|
new(): SecurityTokenInvalidIssuerException;
|
|
888
965
|
new(message: string): SecurityTokenInvalidIssuerException;
|
|
889
966
|
new(message: string, innerException: Exception): SecurityTokenInvalidIssuerException;
|
|
890
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenInvalidIssuerException;
|
|
891
967
|
};
|
|
892
968
|
|
|
893
969
|
|
|
894
970
|
export type SecurityTokenInvalidIssuerException = SecurityTokenInvalidIssuerException$instance;
|
|
895
971
|
|
|
896
972
|
export interface SecurityTokenInvalidLifetimeException$instance extends SecurityTokenValidationException {
|
|
897
|
-
|
|
898
|
-
|
|
973
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenInvalidLifetimeException: never;
|
|
974
|
+
|
|
975
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
976
|
+
|
|
977
|
+
Expires: Nullable_1<DateTime>;
|
|
978
|
+
NotBefore: Nullable_1<DateTime>;
|
|
899
979
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
900
980
|
}
|
|
901
981
|
|
|
@@ -904,13 +984,16 @@ export const SecurityTokenInvalidLifetimeException: {
|
|
|
904
984
|
new(): SecurityTokenInvalidLifetimeException;
|
|
905
985
|
new(message: string): SecurityTokenInvalidLifetimeException;
|
|
906
986
|
new(message: string, innerException: Exception): SecurityTokenInvalidLifetimeException;
|
|
907
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenInvalidLifetimeException;
|
|
908
987
|
};
|
|
909
988
|
|
|
910
989
|
|
|
911
990
|
export type SecurityTokenInvalidLifetimeException = SecurityTokenInvalidLifetimeException$instance;
|
|
912
991
|
|
|
913
992
|
export interface SecurityTokenInvalidSignatureException$instance extends SecurityTokenValidationException {
|
|
993
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenInvalidSignatureException: never;
|
|
994
|
+
|
|
995
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
996
|
+
|
|
914
997
|
}
|
|
915
998
|
|
|
916
999
|
|
|
@@ -918,13 +1001,16 @@ export const SecurityTokenInvalidSignatureException: {
|
|
|
918
1001
|
new(): SecurityTokenInvalidSignatureException;
|
|
919
1002
|
new(message: string): SecurityTokenInvalidSignatureException;
|
|
920
1003
|
new(message: string, innerException: Exception): SecurityTokenInvalidSignatureException;
|
|
921
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenInvalidSignatureException;
|
|
922
1004
|
};
|
|
923
1005
|
|
|
924
1006
|
|
|
925
1007
|
export type SecurityTokenInvalidSignatureException = SecurityTokenInvalidSignatureException$instance;
|
|
926
1008
|
|
|
927
1009
|
export interface SecurityTokenInvalidSigningKeyException$instance extends SecurityTokenValidationException {
|
|
1010
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenInvalidSigningKeyException: never;
|
|
1011
|
+
|
|
1012
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1013
|
+
|
|
928
1014
|
SigningKey: SecurityKey;
|
|
929
1015
|
}
|
|
930
1016
|
|
|
@@ -933,13 +1019,16 @@ export const SecurityTokenInvalidSigningKeyException: {
|
|
|
933
1019
|
new(): SecurityTokenInvalidSigningKeyException;
|
|
934
1020
|
new(message: string): SecurityTokenInvalidSigningKeyException;
|
|
935
1021
|
new(message: string, inner: Exception): SecurityTokenInvalidSigningKeyException;
|
|
936
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenInvalidSigningKeyException;
|
|
937
1022
|
};
|
|
938
1023
|
|
|
939
1024
|
|
|
940
1025
|
export type SecurityTokenInvalidSigningKeyException = SecurityTokenInvalidSigningKeyException$instance;
|
|
941
1026
|
|
|
942
1027
|
export interface SecurityTokenInvalidTypeException$instance extends SecurityTokenValidationException {
|
|
1028
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenInvalidTypeException: never;
|
|
1029
|
+
|
|
1030
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1031
|
+
|
|
943
1032
|
InvalidType: string;
|
|
944
1033
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
945
1034
|
}
|
|
@@ -949,13 +1038,16 @@ export const SecurityTokenInvalidTypeException: {
|
|
|
949
1038
|
new(): SecurityTokenInvalidTypeException;
|
|
950
1039
|
new(message: string): SecurityTokenInvalidTypeException;
|
|
951
1040
|
new(message: string, innerException: Exception): SecurityTokenInvalidTypeException;
|
|
952
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenInvalidTypeException;
|
|
953
1041
|
};
|
|
954
1042
|
|
|
955
1043
|
|
|
956
1044
|
export type SecurityTokenInvalidTypeException = SecurityTokenInvalidTypeException$instance;
|
|
957
1045
|
|
|
958
1046
|
export interface SecurityTokenKeyWrapException$instance extends SecurityTokenException {
|
|
1047
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenKeyWrapException: never;
|
|
1048
|
+
|
|
1049
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1050
|
+
|
|
959
1051
|
}
|
|
960
1052
|
|
|
961
1053
|
|
|
@@ -963,13 +1055,16 @@ export const SecurityTokenKeyWrapException: {
|
|
|
963
1055
|
new(): SecurityTokenKeyWrapException;
|
|
964
1056
|
new(message: string): SecurityTokenKeyWrapException;
|
|
965
1057
|
new(message: string, innerException: Exception): SecurityTokenKeyWrapException;
|
|
966
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenKeyWrapException;
|
|
967
1058
|
};
|
|
968
1059
|
|
|
969
1060
|
|
|
970
1061
|
export type SecurityTokenKeyWrapException = SecurityTokenKeyWrapException$instance;
|
|
971
1062
|
|
|
972
1063
|
export interface SecurityTokenMalformedException$instance extends SecurityTokenArgumentException {
|
|
1064
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenMalformedException: never;
|
|
1065
|
+
|
|
1066
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1067
|
+
|
|
973
1068
|
}
|
|
974
1069
|
|
|
975
1070
|
|
|
@@ -977,13 +1072,16 @@ export const SecurityTokenMalformedException: {
|
|
|
977
1072
|
new(): SecurityTokenMalformedException;
|
|
978
1073
|
new(message: string): SecurityTokenMalformedException;
|
|
979
1074
|
new(message: string, innerException: Exception): SecurityTokenMalformedException;
|
|
980
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenMalformedException;
|
|
981
1075
|
};
|
|
982
1076
|
|
|
983
1077
|
|
|
984
1078
|
export type SecurityTokenMalformedException = SecurityTokenMalformedException$instance;
|
|
985
1079
|
|
|
986
1080
|
export interface SecurityTokenNoExpirationException$instance extends SecurityTokenValidationException {
|
|
1081
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenNoExpirationException: never;
|
|
1082
|
+
|
|
1083
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1084
|
+
|
|
987
1085
|
}
|
|
988
1086
|
|
|
989
1087
|
|
|
@@ -991,13 +1089,16 @@ export const SecurityTokenNoExpirationException: {
|
|
|
991
1089
|
new(): SecurityTokenNoExpirationException;
|
|
992
1090
|
new(message: string): SecurityTokenNoExpirationException;
|
|
993
1091
|
new(message: string, innerException: Exception): SecurityTokenNoExpirationException;
|
|
994
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenNoExpirationException;
|
|
995
1092
|
};
|
|
996
1093
|
|
|
997
1094
|
|
|
998
1095
|
export type SecurityTokenNoExpirationException = SecurityTokenNoExpirationException$instance;
|
|
999
1096
|
|
|
1000
1097
|
export interface SecurityTokenNotYetValidException$instance extends SecurityTokenValidationException {
|
|
1098
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenNotYetValidException: never;
|
|
1099
|
+
|
|
1100
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1101
|
+
|
|
1001
1102
|
NotBefore: DateTime;
|
|
1002
1103
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1003
1104
|
}
|
|
@@ -1007,13 +1108,16 @@ export const SecurityTokenNotYetValidException: {
|
|
|
1007
1108
|
new(): SecurityTokenNotYetValidException;
|
|
1008
1109
|
new(message: string): SecurityTokenNotYetValidException;
|
|
1009
1110
|
new(message: string, inner: Exception): SecurityTokenNotYetValidException;
|
|
1010
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenNotYetValidException;
|
|
1011
1111
|
};
|
|
1012
1112
|
|
|
1013
1113
|
|
|
1014
1114
|
export type SecurityTokenNotYetValidException = SecurityTokenNotYetValidException$instance;
|
|
1015
1115
|
|
|
1016
1116
|
export interface SecurityTokenReplayAddFailedException$instance extends SecurityTokenValidationException {
|
|
1117
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenReplayAddFailedException: never;
|
|
1118
|
+
|
|
1119
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1120
|
+
|
|
1017
1121
|
}
|
|
1018
1122
|
|
|
1019
1123
|
|
|
@@ -1021,13 +1125,16 @@ export const SecurityTokenReplayAddFailedException: {
|
|
|
1021
1125
|
new(): SecurityTokenReplayAddFailedException;
|
|
1022
1126
|
new(message: string): SecurityTokenReplayAddFailedException;
|
|
1023
1127
|
new(message: string, innerException: Exception): SecurityTokenReplayAddFailedException;
|
|
1024
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenReplayAddFailedException;
|
|
1025
1128
|
};
|
|
1026
1129
|
|
|
1027
1130
|
|
|
1028
1131
|
export type SecurityTokenReplayAddFailedException = SecurityTokenReplayAddFailedException$instance;
|
|
1029
1132
|
|
|
1030
1133
|
export interface SecurityTokenReplayDetectedException$instance extends SecurityTokenValidationException {
|
|
1134
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenReplayDetectedException: never;
|
|
1135
|
+
|
|
1136
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1137
|
+
|
|
1031
1138
|
}
|
|
1032
1139
|
|
|
1033
1140
|
|
|
@@ -1035,13 +1142,16 @@ export const SecurityTokenReplayDetectedException: {
|
|
|
1035
1142
|
new(): SecurityTokenReplayDetectedException;
|
|
1036
1143
|
new(message: string): SecurityTokenReplayDetectedException;
|
|
1037
1144
|
new(message: string, inner: Exception): SecurityTokenReplayDetectedException;
|
|
1038
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenReplayDetectedException;
|
|
1039
1145
|
};
|
|
1040
1146
|
|
|
1041
1147
|
|
|
1042
1148
|
export type SecurityTokenReplayDetectedException = SecurityTokenReplayDetectedException$instance;
|
|
1043
1149
|
|
|
1044
1150
|
export interface SecurityTokenSignatureKeyNotFoundException$instance extends SecurityTokenInvalidSignatureException {
|
|
1151
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenSignatureKeyNotFoundException: never;
|
|
1152
|
+
|
|
1153
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1154
|
+
|
|
1045
1155
|
}
|
|
1046
1156
|
|
|
1047
1157
|
|
|
@@ -1049,13 +1159,16 @@ export const SecurityTokenSignatureKeyNotFoundException: {
|
|
|
1049
1159
|
new(): SecurityTokenSignatureKeyNotFoundException;
|
|
1050
1160
|
new(message: string): SecurityTokenSignatureKeyNotFoundException;
|
|
1051
1161
|
new(message: string, innerException: Exception): SecurityTokenSignatureKeyNotFoundException;
|
|
1052
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenSignatureKeyNotFoundException;
|
|
1053
1162
|
};
|
|
1054
1163
|
|
|
1055
1164
|
|
|
1056
1165
|
export type SecurityTokenSignatureKeyNotFoundException = SecurityTokenSignatureKeyNotFoundException$instance;
|
|
1057
1166
|
|
|
1058
1167
|
export interface SecurityTokenUnableToValidateException$instance extends SecurityTokenInvalidSignatureException {
|
|
1168
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenUnableToValidateException: never;
|
|
1169
|
+
|
|
1170
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1171
|
+
|
|
1059
1172
|
ValidationFailure: ValidationFailure;
|
|
1060
1173
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1061
1174
|
}
|
|
@@ -1066,13 +1179,16 @@ export const SecurityTokenUnableToValidateException: {
|
|
|
1066
1179
|
new(validationFailure: ValidationFailure, message: string): SecurityTokenUnableToValidateException;
|
|
1067
1180
|
new(message: string): SecurityTokenUnableToValidateException;
|
|
1068
1181
|
new(message: string, innerException: Exception): SecurityTokenUnableToValidateException;
|
|
1069
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenUnableToValidateException;
|
|
1070
1182
|
};
|
|
1071
1183
|
|
|
1072
1184
|
|
|
1073
1185
|
export type SecurityTokenUnableToValidateException = SecurityTokenUnableToValidateException$instance;
|
|
1074
1186
|
|
|
1075
1187
|
export interface SecurityTokenValidationException$instance extends SecurityTokenException {
|
|
1188
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SecurityTokenValidationException: never;
|
|
1189
|
+
|
|
1190
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1191
|
+
|
|
1076
1192
|
}
|
|
1077
1193
|
|
|
1078
1194
|
|
|
@@ -1080,40 +1196,40 @@ export const SecurityTokenValidationException: {
|
|
|
1080
1196
|
new(): SecurityTokenValidationException;
|
|
1081
1197
|
new(message: string): SecurityTokenValidationException;
|
|
1082
1198
|
new(message: string, innerException: Exception): SecurityTokenValidationException;
|
|
1083
|
-
new(info: SerializationInfo, context: StreamingContext): SecurityTokenValidationException;
|
|
1084
1199
|
};
|
|
1085
1200
|
|
|
1086
1201
|
|
|
1087
1202
|
export type SecurityTokenValidationException = SecurityTokenValidationException$instance;
|
|
1088
1203
|
|
|
1089
|
-
export
|
|
1090
|
-
|
|
1091
|
-
}
|
|
1204
|
+
export interface SignatureProvider$instance {
|
|
1205
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SignatureProvider: never;
|
|
1092
1206
|
|
|
1207
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1093
1208
|
|
|
1094
|
-
export interface SignatureProvider$instance extends SignatureProvider$protected {
|
|
1095
1209
|
Algorithm: string;
|
|
1096
1210
|
Context: string;
|
|
1097
1211
|
CryptoProviderCache: CryptoProviderCache;
|
|
1098
1212
|
Key: SecurityKey;
|
|
1099
1213
|
WillCreateSignatures: boolean;
|
|
1100
1214
|
Dispose(): void;
|
|
1215
|
+
Dispose(disposing: boolean): void;
|
|
1101
1216
|
Sign(input: byte[]): byte[];
|
|
1102
1217
|
Sign(input: byte[], offset: int, count: int): byte[];
|
|
1103
|
-
Sign(data:
|
|
1218
|
+
Sign(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1104
1219
|
Verify(input: byte[], signature: byte[]): boolean;
|
|
1105
1220
|
Verify(input: byte[], inputOffset: int, inputLength: int, signature: byte[], signatureOffset: int, signatureLength: int): boolean;
|
|
1106
1221
|
}
|
|
1107
1222
|
|
|
1108
1223
|
|
|
1109
|
-
export const SignatureProvider: {
|
|
1110
|
-
new(key: SecurityKey, algorithm: string): SignatureProvider;
|
|
1224
|
+
export const SignatureProvider: (abstract new(key: SecurityKey, algorithm: string) => SignatureProvider) & {
|
|
1111
1225
|
};
|
|
1112
1226
|
|
|
1113
1227
|
|
|
1114
1228
|
export type SignatureProvider = SignatureProvider$instance;
|
|
1115
1229
|
|
|
1116
1230
|
export interface SigningCredentials$instance {
|
|
1231
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SigningCredentials: never;
|
|
1232
|
+
|
|
1117
1233
|
Algorithm: string;
|
|
1118
1234
|
CryptoProviderFactory: CryptoProviderFactory;
|
|
1119
1235
|
Digest: string;
|
|
@@ -1123,8 +1239,6 @@ export interface SigningCredentials$instance {
|
|
|
1123
1239
|
|
|
1124
1240
|
|
|
1125
1241
|
export const SigningCredentials: {
|
|
1126
|
-
new(certificate: X509Certificate2): SigningCredentials;
|
|
1127
|
-
new(certificate: X509Certificate2, algorithm: string): SigningCredentials;
|
|
1128
1242
|
new(key: SecurityKey, algorithm: string): SigningCredentials;
|
|
1129
1243
|
new(key: SecurityKey, algorithm: string, digest: string): SigningCredentials;
|
|
1130
1244
|
};
|
|
@@ -1132,18 +1246,18 @@ export const SigningCredentials: {
|
|
|
1132
1246
|
|
|
1133
1247
|
export type SigningCredentials = SigningCredentials$instance;
|
|
1134
1248
|
|
|
1135
|
-
export
|
|
1136
|
-
|
|
1137
|
-
protected GetSymmetricAlgorithm(key: SecurityKey, algorithm: string): SymmetricAlgorithm;
|
|
1138
|
-
protected IsSupportedAlgorithm(key: SecurityKey, algorithm: string): boolean;
|
|
1139
|
-
}
|
|
1249
|
+
export interface SymmetricKeyWrapProvider$instance extends KeyWrapProvider {
|
|
1250
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SymmetricKeyWrapProvider: never;
|
|
1140
1251
|
|
|
1252
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1141
1253
|
|
|
1142
|
-
export interface SymmetricKeyWrapProvider$instance extends SymmetricKeyWrapProvider$protected, KeyWrapProvider {
|
|
1143
1254
|
readonly Algorithm: string;
|
|
1144
1255
|
Context: string;
|
|
1145
1256
|
readonly Key: SecurityKey;
|
|
1257
|
+
Dispose(disposing: boolean): void;
|
|
1146
1258
|
Dispose(): void;
|
|
1259
|
+
GetSymmetricAlgorithm(key: SecurityKey, algorithm: string): SymmetricAlgorithm;
|
|
1260
|
+
IsSupportedAlgorithm(key: SecurityKey, algorithm: string): boolean;
|
|
1147
1261
|
UnwrapKey(keyBytes: byte[]): byte[];
|
|
1148
1262
|
WrapKey(keyBytes: byte[]): byte[];
|
|
1149
1263
|
}
|
|
@@ -1157,6 +1271,8 @@ export const SymmetricKeyWrapProvider: {
|
|
|
1157
1271
|
export type SymmetricKeyWrapProvider = SymmetricKeyWrapProvider$instance;
|
|
1158
1272
|
|
|
1159
1273
|
export interface SymmetricSecurityKey$instance extends SecurityKey {
|
|
1274
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SymmetricSecurityKey: never;
|
|
1275
|
+
|
|
1160
1276
|
readonly Key: byte[];
|
|
1161
1277
|
readonly KeySize: int;
|
|
1162
1278
|
CanComputeJwkThumbprint(): boolean;
|
|
@@ -1171,21 +1287,21 @@ export const SymmetricSecurityKey: {
|
|
|
1171
1287
|
|
|
1172
1288
|
export type SymmetricSecurityKey = SymmetricSecurityKey$instance;
|
|
1173
1289
|
|
|
1174
|
-
export
|
|
1175
|
-
|
|
1176
|
-
protected GetKeyBytes(key: SecurityKey): byte[];
|
|
1177
|
-
protected GetKeyedHashAlgorithm(keyBytes: byte[], algorithm: string): KeyedHashAlgorithm;
|
|
1178
|
-
protected ReleaseKeyedHashAlgorithm(keyedHashAlgorithm: KeyedHashAlgorithm): void;
|
|
1179
|
-
}
|
|
1290
|
+
export interface SymmetricSignatureProvider$instance extends SignatureProvider {
|
|
1291
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_SymmetricSignatureProvider: never;
|
|
1180
1292
|
|
|
1293
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1181
1294
|
|
|
1182
|
-
export interface SymmetricSignatureProvider$instance extends SymmetricSignatureProvider$protected, SignatureProvider {
|
|
1183
1295
|
MinimumSymmetricKeySizeInBits: int;
|
|
1296
|
+
Dispose(disposing: boolean): void;
|
|
1184
1297
|
Dispose(): void;
|
|
1298
|
+
GetKeyBytes(key: SecurityKey): byte[];
|
|
1299
|
+
GetKeyedHashAlgorithm(keyBytes: byte[], algorithm: string): KeyedHashAlgorithm;
|
|
1300
|
+
ReleaseKeyedHashAlgorithm(keyedHashAlgorithm: KeyedHashAlgorithm): void;
|
|
1185
1301
|
Sign(input: byte[]): byte[];
|
|
1186
|
-
Sign(input:
|
|
1302
|
+
Sign(input: ReadOnlySpan_1<System_Internal.Byte>, signature: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1187
1303
|
Sign(input: byte[], offset: int, count: int): byte[];
|
|
1188
|
-
Sign(data:
|
|
1304
|
+
Sign(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
1189
1305
|
Verify(input: byte[], signature: byte[]): boolean;
|
|
1190
1306
|
Verify(input: byte[], signature: byte[], length: int): boolean;
|
|
1191
1307
|
Verify(input: byte[], inputOffset: int, inputLength: int, signature: byte[], signatureOffset: int, signatureLength: int): boolean;
|
|
@@ -1202,6 +1318,8 @@ export const SymmetricSignatureProvider: {
|
|
|
1202
1318
|
export type SymmetricSignatureProvider = SymmetricSignatureProvider$instance;
|
|
1203
1319
|
|
|
1204
1320
|
export interface TokenContext$instance extends CallContext {
|
|
1321
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_TokenContext: never;
|
|
1322
|
+
|
|
1205
1323
|
}
|
|
1206
1324
|
|
|
1207
1325
|
|
|
@@ -1214,17 +1332,18 @@ export const TokenContext: {
|
|
|
1214
1332
|
export type TokenContext = TokenContext$instance;
|
|
1215
1333
|
|
|
1216
1334
|
export interface TokenHandler$instance {
|
|
1335
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_TokenHandler: never;
|
|
1336
|
+
|
|
1217
1337
|
MaximumTokenSizeInBytes: int;
|
|
1218
1338
|
SetDefaultTimesOnTokenCreation: boolean;
|
|
1219
1339
|
TokenLifetimeInMinutes: int;
|
|
1220
1340
|
ReadToken(token: string): SecurityToken;
|
|
1221
|
-
ValidateTokenAsync(token: string, validationParameters: TokenValidationParameters):
|
|
1222
|
-
ValidateTokenAsync(token: SecurityToken, validationParameters: TokenValidationParameters):
|
|
1341
|
+
ValidateTokenAsync(token: string, validationParameters: TokenValidationParameters): Task_1<TokenValidationResult>;
|
|
1342
|
+
ValidateTokenAsync(token: SecurityToken, validationParameters: TokenValidationParameters): Task_1<TokenValidationResult>;
|
|
1223
1343
|
}
|
|
1224
1344
|
|
|
1225
1345
|
|
|
1226
|
-
export const TokenHandler: {
|
|
1227
|
-
new(): TokenHandler;
|
|
1346
|
+
export const TokenHandler: (abstract new() => TokenHandler) & {
|
|
1228
1347
|
readonly DefaultTokenLifetimeInMinutes: int;
|
|
1229
1348
|
};
|
|
1230
1349
|
|
|
@@ -1232,6 +1351,8 @@ export const TokenHandler: {
|
|
|
1232
1351
|
export type TokenHandler = TokenHandler$instance;
|
|
1233
1352
|
|
|
1234
1353
|
export interface TokenValidationParameters$instance {
|
|
1354
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_TokenValidationParameters: never;
|
|
1355
|
+
|
|
1235
1356
|
ActorValidationParameters: TokenValidationParameters;
|
|
1236
1357
|
AlgorithmValidator: AlgorithmValidator;
|
|
1237
1358
|
AudienceValidator: AudienceValidator;
|
|
@@ -1242,12 +1363,12 @@ export interface TokenValidationParameters$instance {
|
|
|
1242
1363
|
DebugId: string;
|
|
1243
1364
|
IgnoreTrailingSlashWhenValidatingAudience: boolean;
|
|
1244
1365
|
IncludeTokenOnFailedValidation: boolean;
|
|
1245
|
-
readonly InstancePropertyBag:
|
|
1366
|
+
readonly InstancePropertyBag: IDictionary_2<System_Internal.String, unknown>;
|
|
1246
1367
|
IsClone: boolean;
|
|
1247
1368
|
IssuerSigningKey: SecurityKey;
|
|
1248
1369
|
IssuerSigningKeyResolver: IssuerSigningKeyResolver;
|
|
1249
1370
|
IssuerSigningKeyResolverUsingConfiguration: IssuerSigningKeyResolverUsingConfiguration;
|
|
1250
|
-
IssuerSigningKeys:
|
|
1371
|
+
IssuerSigningKeys: IEnumerable_1<SecurityKey>;
|
|
1251
1372
|
IssuerSigningKeyValidator: IssuerSigningKeyValidator;
|
|
1252
1373
|
IssuerSigningKeyValidatorUsingConfiguration: IssuerSigningKeyValidatorUsingConfiguration;
|
|
1253
1374
|
IssuerValidator: IssuerValidator;
|
|
@@ -1256,27 +1377,27 @@ export interface TokenValidationParameters$instance {
|
|
|
1256
1377
|
LogTokenId: boolean;
|
|
1257
1378
|
LogValidationExceptions: boolean;
|
|
1258
1379
|
NameClaimType: string;
|
|
1259
|
-
NameClaimTypeRetriever:
|
|
1260
|
-
PropertyBag:
|
|
1380
|
+
NameClaimTypeRetriever: Func_3<SecurityToken, System_Internal.String, System_Internal.String>;
|
|
1381
|
+
PropertyBag: IDictionary_2<System_Internal.String, unknown>;
|
|
1261
1382
|
RefreshBeforeValidation: boolean;
|
|
1262
1383
|
RequireAudience: boolean;
|
|
1263
1384
|
RequireExpirationTime: boolean;
|
|
1264
1385
|
RequireSignedTokens: boolean;
|
|
1265
1386
|
RoleClaimType: string;
|
|
1266
|
-
RoleClaimTypeRetriever:
|
|
1387
|
+
RoleClaimTypeRetriever: Func_3<SecurityToken, System_Internal.String, System_Internal.String>;
|
|
1267
1388
|
SaveSigninToken: boolean;
|
|
1268
1389
|
SignatureValidator: SignatureValidator;
|
|
1269
1390
|
SignatureValidatorUsingConfiguration: SignatureValidatorUsingConfiguration;
|
|
1270
1391
|
TokenDecryptionKey: SecurityKey;
|
|
1271
1392
|
TokenDecryptionKeyResolver: TokenDecryptionKeyResolver;
|
|
1272
|
-
TokenDecryptionKeys:
|
|
1393
|
+
TokenDecryptionKeys: IEnumerable_1<SecurityKey>;
|
|
1273
1394
|
TokenReader: TokenReader;
|
|
1274
1395
|
TokenReplayCache: ITokenReplayCache;
|
|
1275
1396
|
TokenReplayValidator: TokenReplayValidator;
|
|
1276
1397
|
TransformBeforeSignatureValidation: TransformBeforeSignatureValidation;
|
|
1277
1398
|
TryAllIssuerSigningKeys: boolean;
|
|
1278
1399
|
TypeValidator: TypeValidator;
|
|
1279
|
-
ValidAlgorithms:
|
|
1400
|
+
ValidAlgorithms: IEnumerable_1<System_Internal.String>;
|
|
1280
1401
|
ValidateActor: boolean;
|
|
1281
1402
|
ValidateAudience: boolean;
|
|
1282
1403
|
ValidateIssuer: boolean;
|
|
@@ -1286,17 +1407,16 @@ export interface TokenValidationParameters$instance {
|
|
|
1286
1407
|
ValidateTokenReplay: boolean;
|
|
1287
1408
|
ValidateWithLKG: boolean;
|
|
1288
1409
|
ValidAudience: string;
|
|
1289
|
-
ValidAudiences:
|
|
1410
|
+
ValidAudiences: IEnumerable_1<System_Internal.String>;
|
|
1290
1411
|
ValidIssuer: string;
|
|
1291
|
-
ValidIssuers:
|
|
1292
|
-
ValidTypes:
|
|
1412
|
+
ValidIssuers: IEnumerable_1<System_Internal.String>;
|
|
1413
|
+
ValidTypes: IEnumerable_1<System_Internal.String>;
|
|
1293
1414
|
Clone(): TokenValidationParameters;
|
|
1294
1415
|
CreateClaimsIdentity(securityToken: SecurityToken, issuer: string): ClaimsIdentity;
|
|
1295
1416
|
}
|
|
1296
1417
|
|
|
1297
1418
|
|
|
1298
1419
|
export const TokenValidationParameters: {
|
|
1299
|
-
new(other: TokenValidationParameters): TokenValidationParameters;
|
|
1300
1420
|
new(): TokenValidationParameters;
|
|
1301
1421
|
readonly DefaultAuthenticationType: string;
|
|
1302
1422
|
readonly DefaultClockSkew: TimeSpan;
|
|
@@ -1307,12 +1427,14 @@ export const TokenValidationParameters: {
|
|
|
1307
1427
|
export type TokenValidationParameters = TokenValidationParameters$instance;
|
|
1308
1428
|
|
|
1309
1429
|
export interface TokenValidationResult$instance {
|
|
1310
|
-
readonly
|
|
1430
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_TokenValidationResult: never;
|
|
1431
|
+
|
|
1432
|
+
readonly Claims: IDictionary_2<System_Internal.String, unknown>;
|
|
1311
1433
|
ClaimsIdentity: ClaimsIdentity;
|
|
1312
1434
|
Exception: Exception;
|
|
1313
1435
|
Issuer: string;
|
|
1314
1436
|
IsValid: boolean;
|
|
1315
|
-
readonly PropertyBag:
|
|
1437
|
+
readonly PropertyBag: IDictionary_2<System_Internal.String, unknown>;
|
|
1316
1438
|
SecurityToken: SecurityToken;
|
|
1317
1439
|
TokenContext: CallContext;
|
|
1318
1440
|
TokenOnFailedValidation: SecurityToken;
|
|
@@ -1328,8 +1450,9 @@ export const TokenValidationResult: {
|
|
|
1328
1450
|
export type TokenValidationResult = TokenValidationResult$instance;
|
|
1329
1451
|
|
|
1330
1452
|
export interface X509EncryptingCredentials$instance extends EncryptingCredentials {
|
|
1331
|
-
|
|
1332
|
-
|
|
1453
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_X509EncryptingCredentials: never;
|
|
1454
|
+
|
|
1455
|
+
Certificate: X509Certificate2;
|
|
1333
1456
|
}
|
|
1334
1457
|
|
|
1335
1458
|
|
|
@@ -1342,8 +1465,9 @@ export const X509EncryptingCredentials: {
|
|
|
1342
1465
|
export type X509EncryptingCredentials = X509EncryptingCredentials$instance;
|
|
1343
1466
|
|
|
1344
1467
|
export interface X509SecurityKey$instance extends AsymmetricSecurityKey {
|
|
1345
|
-
|
|
1346
|
-
|
|
1468
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_X509SecurityKey: never;
|
|
1469
|
+
|
|
1470
|
+
Certificate: X509Certificate2;
|
|
1347
1471
|
readonly HasPrivateKey: boolean;
|
|
1348
1472
|
readonly KeySize: int;
|
|
1349
1473
|
readonly PrivateKey: AsymmetricAlgorithm;
|
|
@@ -1366,8 +1490,9 @@ export const X509SecurityKey: {
|
|
|
1366
1490
|
export type X509SecurityKey = X509SecurityKey$instance;
|
|
1367
1491
|
|
|
1368
1492
|
export interface X509SigningCredentials$instance extends SigningCredentials {
|
|
1369
|
-
|
|
1370
|
-
|
|
1493
|
+
readonly __tsonic_type_Microsoft_IdentityModel_Tokens_X509SigningCredentials: never;
|
|
1494
|
+
|
|
1495
|
+
Certificate: X509Certificate2;
|
|
1371
1496
|
}
|
|
1372
1497
|
|
|
1373
1498
|
|
|
@@ -1384,7 +1509,7 @@ export abstract class Base64UrlEncoder$instance {
|
|
|
1384
1509
|
static DecodeBytes(str: string): byte[];
|
|
1385
1510
|
static Encode(inArray: byte[], offset: int, length: int): string;
|
|
1386
1511
|
static Encode(inArray: byte[]): string;
|
|
1387
|
-
static Encode(inArray:
|
|
1512
|
+
static Encode(inArray: ReadOnlySpan_1<System_Internal.Byte>, output: Span_1<System_Internal.Char>): int;
|
|
1388
1513
|
static Encode(arg: string): string;
|
|
1389
1514
|
}
|
|
1390
1515
|
|
|
@@ -1392,7 +1517,7 @@ export abstract class Base64UrlEncoder$instance {
|
|
|
1392
1517
|
export type Base64UrlEncoder = Base64UrlEncoder$instance;
|
|
1393
1518
|
|
|
1394
1519
|
export abstract class CollectionUtilities$instance {
|
|
1395
|
-
static IsNullOrEmpty<T>(enumerable:
|
|
1520
|
+
static IsNullOrEmpty<T>(enumerable: IEnumerable_1<T>): boolean;
|
|
1396
1521
|
}
|
|
1397
1522
|
|
|
1398
1523
|
|
|
@@ -1403,7 +1528,7 @@ export abstract class DateTimeUtil$instance {
|
|
|
1403
1528
|
static GetMaxValue(kind: DateTimeKind): DateTime;
|
|
1404
1529
|
static GetMinValue(kind: DateTimeKind): DateTime;
|
|
1405
1530
|
static ToUniversalTime(value: DateTime): DateTime;
|
|
1406
|
-
static ToUniversalTime(value:
|
|
1531
|
+
static ToUniversalTime(value: Nullable_1<DateTime>): Nullable_1<DateTime>;
|
|
1407
1532
|
}
|
|
1408
1533
|
|
|
1409
1534
|
|
|
@@ -1571,12 +1696,12 @@ export type Utility = Utility$instance;
|
|
|
1571
1696
|
|
|
1572
1697
|
export abstract class Validators$instance {
|
|
1573
1698
|
static ValidateAlgorithm(algorithm: string, securityKey: SecurityKey, securityToken: SecurityToken, validationParameters: TokenValidationParameters): void;
|
|
1574
|
-
static ValidateAudience(audiences:
|
|
1699
|
+
static ValidateAudience(audiences: IEnumerable_1<System_Internal.String>, securityToken: SecurityToken, validationParameters: TokenValidationParameters): void;
|
|
1575
1700
|
static ValidateIssuer(issuer: string, securityToken: SecurityToken, validationParameters: TokenValidationParameters): string;
|
|
1576
1701
|
static ValidateIssuerSecurityKey(securityKey: SecurityKey, securityToken: SecurityToken, validationParameters: TokenValidationParameters): void;
|
|
1577
|
-
static ValidateLifetime(notBefore:
|
|
1578
|
-
static ValidateTokenReplay(expirationTime:
|
|
1579
|
-
static ValidateTokenReplay(securityToken: string, expirationTime:
|
|
1702
|
+
static ValidateLifetime(notBefore: Nullable_1<DateTime>, expires: Nullable_1<DateTime>, securityToken: SecurityToken, validationParameters: TokenValidationParameters): void;
|
|
1703
|
+
static ValidateTokenReplay(expirationTime: Nullable_1<DateTime>, securityToken: string, validationParameters: TokenValidationParameters): void;
|
|
1704
|
+
static ValidateTokenReplay(securityToken: string, expirationTime: Nullable_1<DateTime>, validationParameters: TokenValidationParameters): void;
|
|
1580
1705
|
static ValidateTokenType(type: string, securityToken: SecurityToken, validationParameters: TokenValidationParameters): string;
|
|
1581
1706
|
}
|
|
1582
1707
|
|