@tsonic/efcore-sqlserver 0.1.2 → 10.0.2
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 +1638 -2427
- package/Azure/internal/index.d.ts +169 -139
- package/Azure.Core/bindings.json +2874 -3751
- package/Azure.Core/internal/index.d.ts +326 -295
- package/Azure.Core.Cryptography/bindings.json +51 -65
- package/Azure.Core.Cryptography/internal/index.d.ts +5 -5
- package/Azure.Core.Diagnostics/bindings.json +79 -69
- package/Azure.Core.Diagnostics/internal/index.d.ts +13 -7
- package/Azure.Core.Diagnostics.d.ts +2 -2
- package/Azure.Core.Extensions/bindings.json +71 -57
- package/Azure.Core.Extensions/internal/index.d.ts +4 -4
- package/Azure.Core.GeoJson/bindings.json +814 -1379
- package/Azure.Core.GeoJson/internal/index.d.ts +67 -67
- package/Azure.Core.Pipeline/bindings.json +847 -880
- package/Azure.Core.Pipeline/internal/index.d.ts +79 -56
- package/Azure.Core.Pipeline.d.ts +2 -2
- package/Azure.Core.Serialization/bindings.json +251 -302
- package/Azure.Core.Serialization/internal/index.d.ts +22 -21
- package/Azure.Core.d.ts +1 -1
- package/Azure.Identity/bindings.json +2882 -7099
- package/Azure.Identity/internal/index.d.ts +250 -229
- package/Azure.Identity.d.ts +1 -1
- package/Azure.Messaging/bindings.json +166 -230
- package/Azure.Messaging/internal/index.d.ts +27 -22
- package/Azure.d.ts +1 -1
- package/Microsoft.Data/bindings.json +34 -27
- package/Microsoft.Data/internal/index.d.ts +2 -2
- package/Microsoft.Data.Sql/bindings.json +57 -94
- package/Microsoft.Data.Sql/internal/index.d.ts +5 -5
- package/Microsoft.Data.SqlClient/bindings.json +6187 -8407
- package/Microsoft.Data.SqlClient/internal/index.d.ts +718 -626
- package/Microsoft.Data.SqlClient.DataClassification/bindings.json +173 -283
- package/Microsoft.Data.SqlClient.DataClassification/internal/index.d.ts +12 -12
- package/Microsoft.Data.SqlClient.Diagnostics/bindings.json +1458 -1995
- package/Microsoft.Data.SqlClient.Diagnostics/internal/index.d.ts +159 -159
- package/Microsoft.Data.SqlClient.Server/bindings.json +1112 -1776
- package/Microsoft.Data.SqlClient.Server/internal/index.d.ts +131 -131
- package/Microsoft.Data.SqlTypes/bindings.json +257 -405
- package/Microsoft.Data.SqlTypes/internal/index.d.ts +30 -30
- package/Microsoft.EntityFrameworkCore/bindings.json +7017 -8970
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +533 -526
- package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +92 -304
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +26 -26
- package/Microsoft.EntityFrameworkCore.Infrastructure/bindings.json +269 -289
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +22 -21
- package/Microsoft.EntityFrameworkCore.Metadata/bindings.json +44 -59
- package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +4 -4
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/bindings.json +311 -536
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +32 -32
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/bindings.json +1083 -457
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +111 -39
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.d.ts +3 -2
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/bindings.json +41 -30
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.Migrations/bindings.json +946 -40
- package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +58 -8
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/bindings.json +72 -61
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +4 -4
- package/Microsoft.EntityFrameworkCore.Migrations.d.ts +6 -5
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/bindings.json +233 -207
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/internal/index.d.ts +25 -17
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal/bindings.json +60 -267
- package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal/internal/index.d.ts +23 -23
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal/bindings.json +175 -257
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal/internal/index.d.ts +23 -23
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/bindings.json +666 -569
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/internal/index.d.ts +69 -45
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal.d.ts +3 -2
- package/Microsoft.EntityFrameworkCore.SqlServer.Internal/bindings.json +565 -879
- package/Microsoft.EntityFrameworkCore.SqlServer.Internal/internal/index.d.ts +79 -79
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/bindings.json +138 -469
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/internal/index.d.ts +41 -41
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/bindings.json +204 -211
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/internal/index.d.ts +23 -17
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/bindings.json +3431 -2277
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/internal/index.d.ts +326 -147
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/bindings.json +71 -60
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/internal/index.d.ts +12 -7
- 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 +90 -98
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/internal/index.d.ts +6 -6
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/bindings.json +2295 -1113
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/internal/index.d.ts +263 -93
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/bindings.json +548 -284
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/internal/index.d.ts +54 -23
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/bindings.json +252 -204
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/internal/index.d.ts +25 -12
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal.d.ts +3 -1
- package/Microsoft.EntityFrameworkCore.d.ts +1 -1
- package/Microsoft.Extensions.DependencyInjection/bindings.json +62 -70
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +6 -6
- package/Microsoft.Identity.Client/bindings.json +6237 -13523
- package/Microsoft.Identity.Client/internal/index.d.ts +741 -675
- package/Microsoft.Identity.Client.Advanced/bindings.json +21 -15
- package/Microsoft.Identity.Client.Advanced/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.AppConfig/bindings.json +90 -148
- package/Microsoft.Identity.Client.AppConfig/internal/index.d.ts +10 -10
- package/Microsoft.Identity.Client.AuthScheme/bindings.json +48 -72
- package/Microsoft.Identity.Client.AuthScheme/internal/index.d.ts +6 -6
- package/Microsoft.Identity.Client.AuthScheme.PoP/bindings.json +29 -39
- package/Microsoft.Identity.Client.AuthScheme.PoP/internal/index.d.ts +3 -3
- package/Microsoft.Identity.Client.Cache/bindings.json +65 -95
- package/Microsoft.Identity.Client.Cache/internal/index.d.ts +6 -6
- package/Microsoft.Identity.Client.Extensibility/bindings.json +297 -380
- package/Microsoft.Identity.Client.Extensibility/internal/index.d.ts +27 -26
- package/Microsoft.Identity.Client.Extensions.Msal/bindings.json +379 -668
- package/Microsoft.Identity.Client.Extensions.Msal/internal/index.d.ts +51 -50
- package/Microsoft.Identity.Client.Extensions.Msal.d.ts +1 -1
- package/Microsoft.Identity.Client.Kerberos/bindings.json +191 -288
- package/Microsoft.Identity.Client.Kerberos/internal/index.d.ts +21 -21
- package/Microsoft.Identity.Client.ManagedIdentity/bindings.json +50 -103
- package/Microsoft.Identity.Client.ManagedIdentity/internal/index.d.ts +8 -8
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/bindings.json +30 -12
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/internal/index.d.ts +2 -1
- package/Microsoft.Identity.Client.RP/bindings.json +39 -30
- package/Microsoft.Identity.Client.RP/internal/index.d.ts +2 -2
- package/Microsoft.Identity.Client.Region/bindings.json +46 -81
- package/Microsoft.Identity.Client.Region/internal/index.d.ts +6 -6
- package/Microsoft.Identity.Client.SSHCertificates/bindings.json +28 -26
- package/Microsoft.Identity.Client.SSHCertificates/internal/index.d.ts +2 -2
- package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient/bindings.json +20 -25
- package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.Utils/bindings.json +56 -70
- package/Microsoft.Identity.Client.Utils/internal/index.d.ts +6 -6
- package/Microsoft.Identity.Client.Utils.Windows/bindings.json +28 -26
- package/Microsoft.Identity.Client.Utils.Windows/internal/index.d.ts +2 -2
- package/Microsoft.IdentityModel.Abstractions/bindings.json +426 -581
- package/Microsoft.IdentityModel.Abstractions/internal/index.d.ts +42 -41
- package/Microsoft.IdentityModel.JsonWebTokens/bindings.json +828 -1776
- package/Microsoft.IdentityModel.JsonWebTokens/internal/index.d.ts +154 -147
- package/Microsoft.IdentityModel.JsonWebTokens.d.ts +1 -1
- package/Microsoft.IdentityModel.Logging/bindings.json +516 -773
- package/Microsoft.IdentityModel.Logging/internal/index.d.ts +69 -64
- package/Microsoft.IdentityModel.Logging.d.ts +1 -1
- package/Microsoft.IdentityModel.Protocols/bindings.json +507 -898
- package/Microsoft.IdentityModel.Protocols/internal/index.d.ts +47 -46
- package/Microsoft.IdentityModel.Protocols.Configuration/bindings.json +43 -94
- package/Microsoft.IdentityModel.Protocols.Configuration/internal/index.d.ts +3 -2
- package/Microsoft.IdentityModel.Protocols.Configuration.d.ts +1 -1
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect/bindings.json +2335 -4306
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect/internal/index.d.ts +316 -301
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/bindings.json +45 -50
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/internal/index.d.ts +2 -2
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.d.ts +1 -1
- package/Microsoft.IdentityModel.Tokens/bindings.json +5594 -8774
- package/Microsoft.IdentityModel.Tokens/internal/index.d.ts +578 -478
- package/Microsoft.IdentityModel.Tokens.Configuration/bindings.json +40 -71
- package/Microsoft.IdentityModel.Tokens.Configuration/internal/index.d.ts +5 -5
- package/Microsoft.IdentityModel.Tokens.d.ts +1 -1
- package/Microsoft.SqlServer.Server/bindings.json +385 -633
- package/Microsoft.SqlServer.Server/internal/index.d.ts +40 -40
- package/System/bindings.json +236 -402
- package/System/internal/index.d.ts +28 -28
- package/System.ClientModel/bindings.json +448 -433
- package/System.ClientModel/internal/index.d.ts +48 -32
- package/System.ClientModel.Primitives/bindings.json +2665 -2310
- package/System.ClientModel.Primitives/internal/index.d.ts +269 -175
- package/System.ClientModel.Primitives.d.ts +2 -2
- package/System.Configuration/bindings.json +9039 -12341
- package/System.Configuration/internal/index.d.ts +837 -565
- package/System.Configuration.Internal/bindings.json +985 -1442
- package/System.Configuration.Internal/internal/index.d.ts +115 -115
- package/System.Configuration.Provider/bindings.json +155 -188
- package/System.Configuration.Provider/internal/index.d.ts +16 -14
- package/System.Configuration.Provider.d.ts +1 -1
- package/System.Configuration.d.ts +3 -3
- package/System.Diagnostics/bindings.json +28 -15
- package/System.Diagnostics/internal/index.d.ts +1 -1
- package/System.Drawing.Configuration/bindings.json +39 -137
- package/System.Drawing.Configuration/internal/index.d.ts +12 -4
- package/System.Drawing.Configuration.d.ts +5 -2
- package/System.IdentityModel.Tokens.Jwt/bindings.json +1367 -2255
- package/System.IdentityModel.Tokens.Jwt/internal/index.d.ts +184 -170
- package/System.Security.Cryptography/bindings.json +66 -63
- package/System.Security.Cryptography/internal/index.d.ts +4 -4
- package/System.Text.Json.Serialization/bindings.json +32 -36
- package/System.Text.Json.Serialization/internal/index.d.ts +2 -2
- package/__build/scripts/generate.sh +4 -4
- package/__internal/extensions/index.d.ts +27 -27
- package/package.json +5 -5
- package/Azure/internal/metadata.json +0 -2772
- package/Azure.Core/internal/metadata.json +0 -5291
- package/Azure.Core.Cryptography/internal/metadata.json +0 -122
- package/Azure.Core.Diagnostics/internal/metadata.json +0 -87
- package/Azure.Core.Extensions/internal/metadata.json +0 -139
- package/Azure.Core.GeoJson/internal/metadata.json +0 -1469
- package/Azure.Core.Pipeline/internal/metadata.json +0 -1181
- package/Azure.Core.Serialization/internal/metadata.json +0 -468
- package/Azure.Identity/internal/metadata.json +0 -5255
- package/Azure.Messaging/internal/metadata.json +0 -316
- package/Microsoft.Data/internal/metadata.json +0 -59
- package/Microsoft.Data.Sql/internal/metadata.json +0 -136
- package/Microsoft.Data.SqlClient/internal/metadata.json +0 -10965
- package/Microsoft.Data.SqlClient.DataClassification/internal/metadata.json +0 -383
- package/Microsoft.Data.SqlClient.Diagnostics/internal/metadata.json +0 -2693
- package/Microsoft.Data.SqlClient.Server/internal/metadata.json +0 -2235
- package/Microsoft.Data.SqlTypes/internal/metadata.json +0 -558
- package/Microsoft.EntityFrameworkCore/internal/metadata.json +0 -9025
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/metadata.json +0 -303
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/metadata.json +0 -455
- package/Microsoft.EntityFrameworkCore.Metadata/internal/metadata.json +0 -72
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/metadata.json +0 -660
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/metadata.json +0 -706
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/metadata.json +0 -88
- package/Microsoft.EntityFrameworkCore.Migrations/internal/metadata.json +0 -81
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/metadata.json +0 -100
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/internal/metadata.json +0 -317
- package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal/internal/metadata.json +0 -238
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal/internal/metadata.json +0 -393
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/internal/metadata.json +0 -790
- package/Microsoft.EntityFrameworkCore.SqlServer.Internal/internal/metadata.json +0 -1294
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/internal/metadata.json +0 -452
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/internal/metadata.json +0 -317
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/internal/metadata.json +0 -3289
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/internal/metadata.json +0 -95
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/internal/metadata.json +0 -167
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/internal/metadata.json +0 -1697
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/internal/metadata.json +0 -500
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/internal/metadata.json +0 -339
- package/Microsoft.Extensions.DependencyInjection/internal/metadata.json +0 -127
- package/Microsoft.Identity.Client/internal/metadata.json +0 -11985
- package/Microsoft.Identity.Client.Advanced/internal/metadata.json +0 -41
- package/Microsoft.Identity.Client.AppConfig/internal/metadata.json +0 -212
- package/Microsoft.Identity.Client.AuthScheme/internal/metadata.json +0 -118
- package/Microsoft.Identity.Client.AuthScheme.PoP/internal/metadata.json +0 -72
- package/Microsoft.Identity.Client.Cache/internal/metadata.json +0 -123
- package/Microsoft.Identity.Client.Extensibility/internal/metadata.json +0 -620
- package/Microsoft.Identity.Client.Extensions.Msal/internal/metadata.json +0 -877
- package/Microsoft.Identity.Client.Kerberos/internal/metadata.json +0 -386
- package/Microsoft.Identity.Client.ManagedIdentity/internal/metadata.json +0 -106
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/internal/metadata.json +0 -41
- package/Microsoft.Identity.Client.RP/internal/metadata.json +0 -74
- package/Microsoft.Identity.Client.Region/internal/metadata.json +0 -88
- package/Microsoft.Identity.Client.SSHCertificates/internal/metadata.json +0 -57
- package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient/internal/metadata.json +0 -46
- package/Microsoft.Identity.Client.Utils/internal/metadata.json +0 -121
- package/Microsoft.Identity.Client.Utils.Windows/internal/metadata.json +0 -57
- package/Microsoft.IdentityModel.Abstractions/internal/metadata.json +0 -843
- package/Microsoft.IdentityModel.JsonWebTokens/internal/metadata.json +0 -1997
- package/Microsoft.IdentityModel.Logging/internal/metadata.json +0 -1117
- package/Microsoft.IdentityModel.Protocols/internal/metadata.json +0 -1067
- package/Microsoft.IdentityModel.Protocols.Configuration/internal/metadata.json +0 -72
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect/internal/metadata.json +0 -4288
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/internal/metadata.json +0 -80
- package/Microsoft.IdentityModel.Tokens/internal/metadata.json +0 -10430
- package/Microsoft.IdentityModel.Tokens.Configuration/internal/metadata.json +0 -101
- package/Microsoft.SqlServer.Server/internal/metadata.json +0 -792
- package/System/internal/metadata.json +0 -523
- package/System.ClientModel/internal/metadata.json +0 -637
- package/System.ClientModel.Primitives/internal/metadata.json +0 -3433
- package/System.Configuration/internal/metadata.json +0 -11888
- package/System.Configuration.Internal/internal/metadata.json +0 -2269
- package/System.Configuration.Provider/internal/metadata.json +0 -284
- package/System.Diagnostics/internal/metadata.json +0 -48
- package/System.Drawing.Configuration/internal/metadata.json +0 -46
- package/System.IdentityModel.Tokens.Jwt/internal/metadata.json +0 -2556
- package/System.Security.Cryptography/internal/metadata.json +0 -104
- package/System.Text.Json.Serialization/internal/metadata.json +0 -70
|
@@ -15,19 +15,19 @@ import type { Stream } from "@tsonic/dotnet/System.IO.js";
|
|
|
15
15
|
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
16
16
|
import type { Boolean as ClrBoolean, Byte, DateTimeOffset, Exception, Func, Int32, Nullable, Object as ClrObject, ReadOnlyMemory, String as ClrString, TimeSpan, Uri, ValueType, Void } from "@tsonic/dotnet/System.js";
|
|
17
17
|
import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization.js";
|
|
18
|
-
import type { ISerializable } from "@tsonic/dotnet/System.Runtime.Serialization.js";
|
|
18
|
+
import type { ISerializable, SerializationInfo, StreamingContext } from "@tsonic/dotnet/System.Runtime.Serialization.js";
|
|
19
19
|
import type { X509Certificate2 } from "@tsonic/dotnet/System.Security.Cryptography.X509Certificates.js";
|
|
20
20
|
import type { CancellationToken } from "@tsonic/dotnet/System.Threading.js";
|
|
21
21
|
import type { Task, ValueTask } from "@tsonic/dotnet/System.Threading.Tasks.js";
|
|
22
22
|
|
|
23
23
|
export interface DeviceCodeInfo$instance {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
ClientId: string;
|
|
25
|
+
DeviceCode: string;
|
|
26
|
+
ExpiresOn: DateTimeOffset;
|
|
27
|
+
Message: string;
|
|
28
|
+
Scopes: IReadOnlyCollection<System_Internal.String>;
|
|
29
|
+
UserCode: string;
|
|
30
|
+
VerificationUri: Uri;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
|
|
@@ -39,7 +39,7 @@ export const DeviceCodeInfo: {
|
|
|
39
39
|
export type DeviceCodeInfo = DeviceCodeInfo$instance;
|
|
40
40
|
|
|
41
41
|
export interface TokenCacheData$instance {
|
|
42
|
-
readonly
|
|
42
|
+
readonly CacheBytes: ReadOnlyMemory<System_Internal.Byte>;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
|
|
@@ -57,53 +57,56 @@ export interface AuthenticationFailedException$instance extends Exception {
|
|
|
57
57
|
export const AuthenticationFailedException: {
|
|
58
58
|
new(message: string): AuthenticationFailedException;
|
|
59
59
|
new(message: string, innerException: Exception): AuthenticationFailedException;
|
|
60
|
+
new(info: SerializationInfo, context: StreamingContext): AuthenticationFailedException;
|
|
60
61
|
};
|
|
61
62
|
|
|
62
63
|
|
|
63
64
|
export type AuthenticationFailedException = AuthenticationFailedException$instance;
|
|
64
65
|
|
|
65
66
|
export interface AuthenticationRecord$instance {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
readonly
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
67
|
+
Authority: string;
|
|
68
|
+
ClientId: string;
|
|
69
|
+
readonly HomeAccountId: string;
|
|
70
|
+
TenantId: string;
|
|
71
|
+
Username: string;
|
|
72
|
+
Serialize(stream: Stream, cancellationToken?: CancellationToken): void;
|
|
73
|
+
SerializeAsync(stream: Stream, cancellationToken?: CancellationToken): Task;
|
|
73
74
|
}
|
|
74
75
|
|
|
75
76
|
|
|
76
77
|
export const AuthenticationRecord: {
|
|
77
78
|
new(): AuthenticationRecord;
|
|
78
|
-
|
|
79
|
-
|
|
79
|
+
Deserialize(stream: Stream, cancellationToken?: CancellationToken): AuthenticationRecord;
|
|
80
|
+
DeserializeAsync(stream: Stream, cancellationToken?: CancellationToken): Task<AuthenticationRecord>;
|
|
80
81
|
};
|
|
81
82
|
|
|
82
83
|
|
|
83
84
|
export type AuthenticationRecord = AuthenticationRecord$instance;
|
|
84
85
|
|
|
85
86
|
export interface AuthenticationRequiredException$instance extends CredentialUnavailableException {
|
|
86
|
-
readonly
|
|
87
|
+
readonly TokenRequestContext: TokenRequestContext;
|
|
87
88
|
}
|
|
88
89
|
|
|
89
90
|
|
|
90
91
|
export const AuthenticationRequiredException: {
|
|
91
92
|
new(message: string, context: TokenRequestContext): AuthenticationRequiredException;
|
|
92
93
|
new(message: string, context: TokenRequestContext, innerException: Exception): AuthenticationRequiredException;
|
|
94
|
+
new(info: SerializationInfo, context: StreamingContext): AuthenticationRequiredException;
|
|
93
95
|
};
|
|
94
96
|
|
|
95
97
|
|
|
96
98
|
export type AuthenticationRequiredException = AuthenticationRequiredException$instance;
|
|
97
99
|
|
|
98
100
|
export interface AuthorizationCodeCredential$instance extends TokenCredential {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
GetToken(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): AccessToken;
|
|
102
|
+
GetToken(properties: GetTokenOptions, cancellationToken: CancellationToken): AuthenticationToken;
|
|
103
|
+
GetTokenAsync(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): ValueTask<AccessToken>;
|
|
104
|
+
GetTokenAsync(properties: GetTokenOptions, cancellationToken: CancellationToken): ValueTask<AuthenticationToken>;
|
|
103
105
|
}
|
|
104
106
|
|
|
105
107
|
|
|
106
108
|
export const AuthorizationCodeCredential: {
|
|
109
|
+
new(): AuthorizationCodeCredential;
|
|
107
110
|
new(tenantId: string, clientId: string, clientSecret: string, authorizationCode: string): AuthorizationCodeCredential;
|
|
108
111
|
new(tenantId: string, clientId: string, clientSecret: string, authorizationCode: string, options: AuthorizationCodeCredentialOptions): AuthorizationCodeCredential;
|
|
109
112
|
new(tenantId: string, clientId: string, clientSecret: string, authorizationCode: string, options: TokenCredentialOptions): AuthorizationCodeCredential;
|
|
@@ -113,9 +116,9 @@ export const AuthorizationCodeCredential: {
|
|
|
113
116
|
export type AuthorizationCodeCredential = AuthorizationCodeCredential$instance;
|
|
114
117
|
|
|
115
118
|
export interface AuthorizationCodeCredentialOptions$instance extends TokenCredentialOptions {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
+
AdditionallyAllowedTenants: IList<System_Internal.String>;
|
|
120
|
+
DisableInstanceDiscovery: boolean;
|
|
121
|
+
RedirectUri: Uri;
|
|
119
122
|
}
|
|
120
123
|
|
|
121
124
|
|
|
@@ -127,10 +130,10 @@ export const AuthorizationCodeCredentialOptions: {
|
|
|
127
130
|
export type AuthorizationCodeCredentialOptions = AuthorizationCodeCredentialOptions$instance;
|
|
128
131
|
|
|
129
132
|
export interface AzureCliCredential$instance extends TokenCredential {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
133
|
+
GetToken(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): AccessToken;
|
|
134
|
+
GetToken(properties: GetTokenOptions, cancellationToken: CancellationToken): AuthenticationToken;
|
|
135
|
+
GetTokenAsync(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): ValueTask<AccessToken>;
|
|
136
|
+
GetTokenAsync(properties: GetTokenOptions, cancellationToken: CancellationToken): ValueTask<AuthenticationToken>;
|
|
134
137
|
}
|
|
135
138
|
|
|
136
139
|
|
|
@@ -143,10 +146,10 @@ export const AzureCliCredential: {
|
|
|
143
146
|
export type AzureCliCredential = AzureCliCredential$instance;
|
|
144
147
|
|
|
145
148
|
export interface AzureCliCredentialOptions$instance extends TokenCredentialOptions {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
149
|
+
AdditionallyAllowedTenants: IList<System_Internal.String>;
|
|
150
|
+
ProcessTimeout: Nullable<TimeSpan>;
|
|
151
|
+
Subscription: string;
|
|
152
|
+
TenantId: string;
|
|
150
153
|
}
|
|
151
154
|
|
|
152
155
|
|
|
@@ -158,10 +161,10 @@ export const AzureCliCredentialOptions: {
|
|
|
158
161
|
export type AzureCliCredentialOptions = AzureCliCredentialOptions$instance;
|
|
159
162
|
|
|
160
163
|
export interface AzureDeveloperCliCredential$instance extends TokenCredential {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
164
|
+
GetToken(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): AccessToken;
|
|
165
|
+
GetToken(properties: GetTokenOptions, cancellationToken: CancellationToken): AuthenticationToken;
|
|
166
|
+
GetTokenAsync(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): ValueTask<AccessToken>;
|
|
167
|
+
GetTokenAsync(properties: GetTokenOptions, cancellationToken: CancellationToken): ValueTask<AuthenticationToken>;
|
|
165
168
|
}
|
|
166
169
|
|
|
167
170
|
|
|
@@ -174,9 +177,9 @@ export const AzureDeveloperCliCredential: {
|
|
|
174
177
|
export type AzureDeveloperCliCredential = AzureDeveloperCliCredential$instance;
|
|
175
178
|
|
|
176
179
|
export interface AzureDeveloperCliCredentialOptions$instance extends TokenCredentialOptions {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
+
AdditionallyAllowedTenants: IList<System_Internal.String>;
|
|
181
|
+
ProcessTimeout: Nullable<TimeSpan>;
|
|
182
|
+
TenantId: string;
|
|
180
183
|
}
|
|
181
184
|
|
|
182
185
|
|
|
@@ -188,14 +191,15 @@ export const AzureDeveloperCliCredentialOptions: {
|
|
|
188
191
|
export type AzureDeveloperCliCredentialOptions = AzureDeveloperCliCredentialOptions$instance;
|
|
189
192
|
|
|
190
193
|
export interface AzurePipelinesCredential$instance extends TokenCredential {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
194
|
+
GetToken(requestContext: TokenRequestContext, cancellationToken: CancellationToken): AccessToken;
|
|
195
|
+
GetToken(properties: GetTokenOptions, cancellationToken: CancellationToken): AuthenticationToken;
|
|
196
|
+
GetTokenAsync(requestContext: TokenRequestContext, cancellationToken: CancellationToken): ValueTask<AccessToken>;
|
|
197
|
+
GetTokenAsync(properties: GetTokenOptions, cancellationToken: CancellationToken): ValueTask<AuthenticationToken>;
|
|
195
198
|
}
|
|
196
199
|
|
|
197
200
|
|
|
198
201
|
export const AzurePipelinesCredential: {
|
|
202
|
+
new(): AzurePipelinesCredential;
|
|
199
203
|
new(tenantId: string, clientId: string, serviceConnectionId: string, systemAccessToken: string, options: AzurePipelinesCredentialOptions): AzurePipelinesCredential;
|
|
200
204
|
};
|
|
201
205
|
|
|
@@ -203,9 +207,9 @@ export const AzurePipelinesCredential: {
|
|
|
203
207
|
export type AzurePipelinesCredential = AzurePipelinesCredential$instance;
|
|
204
208
|
|
|
205
209
|
export interface AzurePipelinesCredentialOptions$instance extends TokenCredentialOptions {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
210
|
+
AdditionallyAllowedTenants: IList<System_Internal.String>;
|
|
211
|
+
DisableInstanceDiscovery: boolean;
|
|
212
|
+
TokenCachePersistenceOptions: TokenCachePersistenceOptions;
|
|
209
213
|
}
|
|
210
214
|
|
|
211
215
|
|
|
@@ -217,10 +221,10 @@ export const AzurePipelinesCredentialOptions: {
|
|
|
217
221
|
export type AzurePipelinesCredentialOptions = AzurePipelinesCredentialOptions$instance;
|
|
218
222
|
|
|
219
223
|
export interface AzurePowerShellCredential$instance extends TokenCredential {
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
+
GetToken(requestContext: TokenRequestContext, cancellationToken: CancellationToken): AccessToken;
|
|
225
|
+
GetToken(properties: GetTokenOptions, cancellationToken: CancellationToken): AuthenticationToken;
|
|
226
|
+
GetTokenAsync(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): ValueTask<AccessToken>;
|
|
227
|
+
GetTokenAsync(properties: GetTokenOptions, cancellationToken: CancellationToken): ValueTask<AuthenticationToken>;
|
|
224
228
|
}
|
|
225
229
|
|
|
226
230
|
|
|
@@ -233,9 +237,9 @@ export const AzurePowerShellCredential: {
|
|
|
233
237
|
export type AzurePowerShellCredential = AzurePowerShellCredential$instance;
|
|
234
238
|
|
|
235
239
|
export interface AzurePowerShellCredentialOptions$instance extends TokenCredentialOptions {
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
240
|
+
AdditionallyAllowedTenants: IList<System_Internal.String>;
|
|
241
|
+
ProcessTimeout: Nullable<TimeSpan>;
|
|
242
|
+
TenantId: string;
|
|
239
243
|
}
|
|
240
244
|
|
|
241
245
|
|
|
@@ -247,9 +251,9 @@ export const AzurePowerShellCredentialOptions: {
|
|
|
247
251
|
export type AzurePowerShellCredentialOptions = AzurePowerShellCredentialOptions$instance;
|
|
248
252
|
|
|
249
253
|
export interface BrowserCustomizationOptions$instance {
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
254
|
+
ErrorMessage: string;
|
|
255
|
+
SuccessMessage: string;
|
|
256
|
+
UseEmbeddedWebView: Nullable<System_Internal.Boolean>;
|
|
253
257
|
}
|
|
254
258
|
|
|
255
259
|
|
|
@@ -261,14 +265,15 @@ export const BrowserCustomizationOptions: {
|
|
|
261
265
|
export type BrowserCustomizationOptions = BrowserCustomizationOptions$instance;
|
|
262
266
|
|
|
263
267
|
export interface ChainedTokenCredential$instance extends TokenCredential {
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
+
GetToken(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): AccessToken;
|
|
269
|
+
GetToken(properties: GetTokenOptions, cancellationToken: CancellationToken): AuthenticationToken;
|
|
270
|
+
GetTokenAsync(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): ValueTask<AccessToken>;
|
|
271
|
+
GetTokenAsync(properties: GetTokenOptions, cancellationToken: CancellationToken): ValueTask<AuthenticationToken>;
|
|
268
272
|
}
|
|
269
273
|
|
|
270
274
|
|
|
271
275
|
export const ChainedTokenCredential: {
|
|
276
|
+
new(): ChainedTokenCredential;
|
|
272
277
|
new(sources: TokenCredential[]): ChainedTokenCredential;
|
|
273
278
|
};
|
|
274
279
|
|
|
@@ -276,14 +281,15 @@ export const ChainedTokenCredential: {
|
|
|
276
281
|
export type ChainedTokenCredential = ChainedTokenCredential$instance;
|
|
277
282
|
|
|
278
283
|
export interface ClientAssertionCredential$instance extends TokenCredential {
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
284
|
+
GetToken(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): AccessToken;
|
|
285
|
+
GetToken(properties: GetTokenOptions, cancellationToken: CancellationToken): AuthenticationToken;
|
|
286
|
+
GetTokenAsync(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): ValueTask<AccessToken>;
|
|
287
|
+
GetTokenAsync(properties: GetTokenOptions, cancellationToken: CancellationToken): ValueTask<AuthenticationToken>;
|
|
283
288
|
}
|
|
284
289
|
|
|
285
290
|
|
|
286
291
|
export const ClientAssertionCredential: {
|
|
292
|
+
new(): ClientAssertionCredential;
|
|
287
293
|
new(tenantId: string, clientId: string, assertionCallback: Func<CancellationToken, Task<System_Internal.String>>, options: ClientAssertionCredentialOptions): ClientAssertionCredential;
|
|
288
294
|
new(tenantId: string, clientId: string, assertionCallback: Func<System_Internal.String>, options: ClientAssertionCredentialOptions): ClientAssertionCredential;
|
|
289
295
|
};
|
|
@@ -292,9 +298,9 @@ export const ClientAssertionCredential: {
|
|
|
292
298
|
export type ClientAssertionCredential = ClientAssertionCredential$instance;
|
|
293
299
|
|
|
294
300
|
export interface ClientAssertionCredentialOptions$instance extends TokenCredentialOptions {
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
301
|
+
AdditionallyAllowedTenants: IList<System_Internal.String>;
|
|
302
|
+
DisableInstanceDiscovery: boolean;
|
|
303
|
+
TokenCachePersistenceOptions: TokenCachePersistenceOptions;
|
|
298
304
|
}
|
|
299
305
|
|
|
300
306
|
|
|
@@ -306,14 +312,15 @@ export const ClientAssertionCredentialOptions: {
|
|
|
306
312
|
export type ClientAssertionCredentialOptions = ClientAssertionCredentialOptions$instance;
|
|
307
313
|
|
|
308
314
|
export interface ClientCertificateCredential$instance extends TokenCredential {
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
315
|
+
GetToken(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): AccessToken;
|
|
316
|
+
GetToken(properties: GetTokenOptions, cancellationToken: CancellationToken): AuthenticationToken;
|
|
317
|
+
GetTokenAsync(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): ValueTask<AccessToken>;
|
|
318
|
+
GetTokenAsync(properties: GetTokenOptions, cancellationToken: CancellationToken): ValueTask<AuthenticationToken>;
|
|
313
319
|
}
|
|
314
320
|
|
|
315
321
|
|
|
316
322
|
export const ClientCertificateCredential: {
|
|
323
|
+
new(): ClientCertificateCredential;
|
|
317
324
|
new(tenantId: string, clientId: string, clientCertificatePath: string): ClientCertificateCredential;
|
|
318
325
|
new(tenantId: string, clientId: string, clientCertificatePath: string, options: TokenCredentialOptions): ClientCertificateCredential;
|
|
319
326
|
new(tenantId: string, clientId: string, clientCertificatePath: string, options: ClientCertificateCredentialOptions): ClientCertificateCredential;
|
|
@@ -326,10 +333,10 @@ export const ClientCertificateCredential: {
|
|
|
326
333
|
export type ClientCertificateCredential = ClientCertificateCredential$instance;
|
|
327
334
|
|
|
328
335
|
export interface ClientCertificateCredentialOptions$instance extends TokenCredentialOptions {
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
336
|
+
AdditionallyAllowedTenants: IList<System_Internal.String>;
|
|
337
|
+
DisableInstanceDiscovery: boolean;
|
|
338
|
+
SendCertificateChain: boolean;
|
|
339
|
+
TokenCachePersistenceOptions: TokenCachePersistenceOptions;
|
|
333
340
|
}
|
|
334
341
|
|
|
335
342
|
|
|
@@ -341,14 +348,15 @@ export const ClientCertificateCredentialOptions: {
|
|
|
341
348
|
export type ClientCertificateCredentialOptions = ClientCertificateCredentialOptions$instance;
|
|
342
349
|
|
|
343
350
|
export interface ClientSecretCredential$instance extends TokenCredential {
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
351
|
+
GetToken(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): AccessToken;
|
|
352
|
+
GetToken(properties: GetTokenOptions, cancellationToken: CancellationToken): AuthenticationToken;
|
|
353
|
+
GetTokenAsync(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): ValueTask<AccessToken>;
|
|
354
|
+
GetTokenAsync(properties: GetTokenOptions, cancellationToken: CancellationToken): ValueTask<AuthenticationToken>;
|
|
348
355
|
}
|
|
349
356
|
|
|
350
357
|
|
|
351
358
|
export const ClientSecretCredential: {
|
|
359
|
+
new(): ClientSecretCredential;
|
|
352
360
|
new(tenantId: string, clientId: string, clientSecret: string): ClientSecretCredential;
|
|
353
361
|
new(tenantId: string, clientId: string, clientSecret: string, options: ClientSecretCredentialOptions): ClientSecretCredential;
|
|
354
362
|
new(tenantId: string, clientId: string, clientSecret: string, options: TokenCredentialOptions): ClientSecretCredential;
|
|
@@ -358,9 +366,9 @@ export const ClientSecretCredential: {
|
|
|
358
366
|
export type ClientSecretCredential = ClientSecretCredential$instance;
|
|
359
367
|
|
|
360
368
|
export interface ClientSecretCredentialOptions$instance extends TokenCredentialOptions {
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
369
|
+
AdditionallyAllowedTenants: IList<System_Internal.String>;
|
|
370
|
+
DisableInstanceDiscovery: boolean;
|
|
371
|
+
TokenCachePersistenceOptions: TokenCachePersistenceOptions;
|
|
364
372
|
}
|
|
365
373
|
|
|
366
374
|
|
|
@@ -378,20 +386,22 @@ export interface CredentialUnavailableException$instance extends AuthenticationF
|
|
|
378
386
|
export const CredentialUnavailableException: {
|
|
379
387
|
new(message: string): CredentialUnavailableException;
|
|
380
388
|
new(message: string, innerException: Exception): CredentialUnavailableException;
|
|
389
|
+
new(info: SerializationInfo, context: StreamingContext): CredentialUnavailableException;
|
|
381
390
|
};
|
|
382
391
|
|
|
383
392
|
|
|
384
393
|
export type CredentialUnavailableException = CredentialUnavailableException$instance;
|
|
385
394
|
|
|
386
395
|
export interface DefaultAzureCredential$instance extends TokenCredential {
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
396
|
+
GetToken(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): AccessToken;
|
|
397
|
+
GetToken(properties: GetTokenOptions, cancellationToken: CancellationToken): AuthenticationToken;
|
|
398
|
+
GetTokenAsync(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): ValueTask<AccessToken>;
|
|
399
|
+
GetTokenAsync(properties: GetTokenOptions, cancellationToken: CancellationToken): ValueTask<AuthenticationToken>;
|
|
391
400
|
}
|
|
392
401
|
|
|
393
402
|
|
|
394
403
|
export const DefaultAzureCredential: {
|
|
404
|
+
new(): DefaultAzureCredential;
|
|
395
405
|
new(includeInteractiveCredentials: boolean): DefaultAzureCredential;
|
|
396
406
|
new(options: DefaultAzureCredentialOptions): DefaultAzureCredential;
|
|
397
407
|
};
|
|
@@ -400,29 +410,29 @@ export const DefaultAzureCredential: {
|
|
|
400
410
|
export type DefaultAzureCredential = DefaultAzureCredential$instance;
|
|
401
411
|
|
|
402
412
|
export interface DefaultAzureCredentialOptions$instance extends TokenCredentialOptions {
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
413
|
+
AdditionallyAllowedTenants: IList<System_Internal.String>;
|
|
414
|
+
CredentialProcessTimeout: Nullable<TimeSpan>;
|
|
415
|
+
DisableInstanceDiscovery: boolean;
|
|
416
|
+
ExcludeAzureCliCredential: boolean;
|
|
417
|
+
ExcludeAzureDeveloperCliCredential: boolean;
|
|
418
|
+
ExcludeAzurePowerShellCredential: boolean;
|
|
419
|
+
ExcludeEnvironmentCredential: boolean;
|
|
420
|
+
ExcludeInteractiveBrowserCredential: boolean;
|
|
421
|
+
ExcludeManagedIdentityCredential: boolean;
|
|
422
|
+
ExcludeSharedTokenCacheCredential: boolean;
|
|
423
|
+
ExcludeVisualStudioCodeCredential: boolean;
|
|
424
|
+
ExcludeVisualStudioCredential: boolean;
|
|
425
|
+
ExcludeWorkloadIdentityCredential: boolean;
|
|
426
|
+
InteractiveBrowserCredentialClientId: string;
|
|
427
|
+
InteractiveBrowserTenantId: string;
|
|
428
|
+
ManagedIdentityClientId: string;
|
|
429
|
+
ManagedIdentityResourceId: ResourceIdentifier;
|
|
430
|
+
SharedTokenCacheTenantId: string;
|
|
431
|
+
SharedTokenCacheUsername: string;
|
|
432
|
+
TenantId: string;
|
|
433
|
+
VisualStudioCodeTenantId: string;
|
|
434
|
+
VisualStudioTenantId: string;
|
|
435
|
+
WorkloadIdentityClientId: string;
|
|
426
436
|
}
|
|
427
437
|
|
|
428
438
|
|
|
@@ -434,14 +444,14 @@ export const DefaultAzureCredentialOptions: {
|
|
|
434
444
|
export type DefaultAzureCredentialOptions = DefaultAzureCredentialOptions$instance;
|
|
435
445
|
|
|
436
446
|
export interface DeviceCodeCredential$instance extends TokenCredential {
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
447
|
+
Authenticate(cancellationToken?: CancellationToken): AuthenticationRecord;
|
|
448
|
+
Authenticate(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): AuthenticationRecord;
|
|
449
|
+
AuthenticateAsync(cancellationToken?: CancellationToken): Task<AuthenticationRecord>;
|
|
450
|
+
AuthenticateAsync(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): Task<AuthenticationRecord>;
|
|
451
|
+
GetToken(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): AccessToken;
|
|
452
|
+
GetToken(properties: GetTokenOptions, cancellationToken: CancellationToken): AuthenticationToken;
|
|
453
|
+
GetTokenAsync(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): ValueTask<AccessToken>;
|
|
454
|
+
GetTokenAsync(properties: GetTokenOptions, cancellationToken: CancellationToken): ValueTask<AuthenticationToken>;
|
|
445
455
|
}
|
|
446
456
|
|
|
447
457
|
|
|
@@ -456,14 +466,14 @@ export const DeviceCodeCredential: {
|
|
|
456
466
|
export type DeviceCodeCredential = DeviceCodeCredential$instance;
|
|
457
467
|
|
|
458
468
|
export interface DeviceCodeCredentialOptions$instance extends TokenCredentialOptions {
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
469
|
+
AdditionallyAllowedTenants: IList<System_Internal.String>;
|
|
470
|
+
AuthenticationRecord: AuthenticationRecord;
|
|
471
|
+
ClientId: string;
|
|
472
|
+
DeviceCodeCallback: Func<DeviceCodeInfo, CancellationToken, Task>;
|
|
473
|
+
DisableAutomaticAuthentication: boolean;
|
|
474
|
+
DisableInstanceDiscovery: boolean;
|
|
475
|
+
TenantId: string;
|
|
476
|
+
TokenCachePersistenceOptions: TokenCachePersistenceOptions;
|
|
467
477
|
}
|
|
468
478
|
|
|
469
479
|
|
|
@@ -475,10 +485,10 @@ export const DeviceCodeCredentialOptions: {
|
|
|
475
485
|
export type DeviceCodeCredentialOptions = DeviceCodeCredentialOptions$instance;
|
|
476
486
|
|
|
477
487
|
export interface EnvironmentCredential$instance extends TokenCredential {
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
488
|
+
GetToken(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): AccessToken;
|
|
489
|
+
GetToken(properties: GetTokenOptions, cancellationToken: CancellationToken): AuthenticationToken;
|
|
490
|
+
GetTokenAsync(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): ValueTask<AccessToken>;
|
|
491
|
+
GetTokenAsync(properties: GetTokenOptions, cancellationToken: CancellationToken): ValueTask<AuthenticationToken>;
|
|
482
492
|
}
|
|
483
493
|
|
|
484
494
|
|
|
@@ -492,8 +502,8 @@ export const EnvironmentCredential: {
|
|
|
492
502
|
export type EnvironmentCredential = EnvironmentCredential$instance;
|
|
493
503
|
|
|
494
504
|
export interface EnvironmentCredentialOptions$instance extends TokenCredentialOptions {
|
|
495
|
-
|
|
496
|
-
|
|
505
|
+
AdditionallyAllowedTenants: IList<System_Internal.String>;
|
|
506
|
+
DisableInstanceDiscovery: boolean;
|
|
497
507
|
}
|
|
498
508
|
|
|
499
509
|
|
|
@@ -505,14 +515,14 @@ export const EnvironmentCredentialOptions: {
|
|
|
505
515
|
export type EnvironmentCredentialOptions = EnvironmentCredentialOptions$instance;
|
|
506
516
|
|
|
507
517
|
export interface InteractiveBrowserCredential$instance extends TokenCredential {
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
518
|
+
Authenticate(cancellationToken?: CancellationToken): AuthenticationRecord;
|
|
519
|
+
Authenticate(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): AuthenticationRecord;
|
|
520
|
+
AuthenticateAsync(cancellationToken?: CancellationToken): Task<AuthenticationRecord>;
|
|
521
|
+
AuthenticateAsync(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): Task<AuthenticationRecord>;
|
|
522
|
+
GetToken(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): AccessToken;
|
|
523
|
+
GetToken(properties: GetTokenOptions, cancellationToken: CancellationToken): AuthenticationToken;
|
|
524
|
+
GetTokenAsync(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): ValueTask<AccessToken>;
|
|
525
|
+
GetTokenAsync(properties: GetTokenOptions, cancellationToken: CancellationToken): ValueTask<AuthenticationToken>;
|
|
516
526
|
}
|
|
517
527
|
|
|
518
528
|
|
|
@@ -527,16 +537,16 @@ export const InteractiveBrowserCredential: {
|
|
|
527
537
|
export type InteractiveBrowserCredential = InteractiveBrowserCredential$instance;
|
|
528
538
|
|
|
529
539
|
export interface InteractiveBrowserCredentialOptions$instance extends TokenCredentialOptions {
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
+
AdditionallyAllowedTenants: IList<System_Internal.String>;
|
|
541
|
+
AuthenticationRecord: AuthenticationRecord;
|
|
542
|
+
BrowserCustomization: BrowserCustomizationOptions;
|
|
543
|
+
ClientId: string;
|
|
544
|
+
DisableAutomaticAuthentication: boolean;
|
|
545
|
+
DisableInstanceDiscovery: boolean;
|
|
546
|
+
LoginHint: string;
|
|
547
|
+
RedirectUri: Uri;
|
|
548
|
+
TenantId: string;
|
|
549
|
+
TokenCachePersistenceOptions: TokenCachePersistenceOptions;
|
|
540
550
|
}
|
|
541
551
|
|
|
542
552
|
|
|
@@ -548,14 +558,15 @@ export const InteractiveBrowserCredentialOptions: {
|
|
|
548
558
|
export type InteractiveBrowserCredentialOptions = InteractiveBrowserCredentialOptions$instance;
|
|
549
559
|
|
|
550
560
|
export interface ManagedIdentityCredential$instance extends TokenCredential {
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
561
|
+
GetToken(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): AccessToken;
|
|
562
|
+
GetToken(properties: GetTokenOptions, cancellationToken: CancellationToken): AuthenticationToken;
|
|
563
|
+
GetTokenAsync(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): ValueTask<AccessToken>;
|
|
564
|
+
GetTokenAsync(properties: GetTokenOptions, cancellationToken: CancellationToken): ValueTask<AuthenticationToken>;
|
|
555
565
|
}
|
|
556
566
|
|
|
557
567
|
|
|
558
568
|
export const ManagedIdentityCredential: {
|
|
569
|
+
new(): ManagedIdentityCredential;
|
|
559
570
|
new(clientId: string, options: TokenCredentialOptions): ManagedIdentityCredential;
|
|
560
571
|
new(resourceId: ResourceIdentifier, options: TokenCredentialOptions): ManagedIdentityCredential;
|
|
561
572
|
new(id: ManagedIdentityId): ManagedIdentityCredential;
|
|
@@ -577,30 +588,31 @@ export const ManagedIdentityCredentialOptions: {
|
|
|
577
588
|
export type ManagedIdentityCredentialOptions = ManagedIdentityCredentialOptions$instance;
|
|
578
589
|
|
|
579
590
|
export interface ManagedIdentityId$instance {
|
|
580
|
-
|
|
591
|
+
ToString(): string | undefined;
|
|
581
592
|
}
|
|
582
593
|
|
|
583
594
|
|
|
584
595
|
export const ManagedIdentityId: {
|
|
585
596
|
new(): ManagedIdentityId;
|
|
586
|
-
readonly
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
597
|
+
readonly SystemAssigned: ManagedIdentityId;
|
|
598
|
+
FromUserAssignedClientId(id: string): ManagedIdentityId;
|
|
599
|
+
FromUserAssignedObjectId(id: string): ManagedIdentityId;
|
|
600
|
+
FromUserAssignedResourceId(id: ResourceIdentifier): ManagedIdentityId;
|
|
590
601
|
};
|
|
591
602
|
|
|
592
603
|
|
|
593
604
|
export type ManagedIdentityId = ManagedIdentityId$instance;
|
|
594
605
|
|
|
595
606
|
export interface OnBehalfOfCredential$instance extends TokenCredential {
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
607
|
+
GetToken(requestContext: TokenRequestContext, cancellationToken: CancellationToken): AccessToken;
|
|
608
|
+
GetToken(properties: GetTokenOptions, cancellationToken: CancellationToken): AuthenticationToken;
|
|
609
|
+
GetTokenAsync(requestContext: TokenRequestContext, cancellationToken: CancellationToken): ValueTask<AccessToken>;
|
|
610
|
+
GetTokenAsync(properties: GetTokenOptions, cancellationToken: CancellationToken): ValueTask<AuthenticationToken>;
|
|
600
611
|
}
|
|
601
612
|
|
|
602
613
|
|
|
603
614
|
export const OnBehalfOfCredential: {
|
|
615
|
+
new(): OnBehalfOfCredential;
|
|
604
616
|
new(tenantId: string, clientId: string, clientCertificate: X509Certificate2, userAssertion: string): OnBehalfOfCredential;
|
|
605
617
|
new(tenantId: string, clientId: string, clientCertificate: X509Certificate2, userAssertion: string, options: OnBehalfOfCredentialOptions): OnBehalfOfCredential;
|
|
606
618
|
new(tenantId: string, clientId: string, clientSecret: string, userAssertion: string): OnBehalfOfCredential;
|
|
@@ -613,10 +625,10 @@ export const OnBehalfOfCredential: {
|
|
|
613
625
|
export type OnBehalfOfCredential = OnBehalfOfCredential$instance;
|
|
614
626
|
|
|
615
627
|
export interface OnBehalfOfCredentialOptions$instance extends TokenCredentialOptions {
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
628
|
+
AdditionallyAllowedTenants: IList<System_Internal.String>;
|
|
629
|
+
DisableInstanceDiscovery: boolean;
|
|
630
|
+
SendCertificateChain: boolean;
|
|
631
|
+
TokenCachePersistenceOptions: TokenCachePersistenceOptions;
|
|
620
632
|
}
|
|
621
633
|
|
|
622
634
|
|
|
@@ -628,10 +640,10 @@ export const OnBehalfOfCredentialOptions: {
|
|
|
628
640
|
export type OnBehalfOfCredentialOptions = OnBehalfOfCredentialOptions$instance;
|
|
629
641
|
|
|
630
642
|
export interface SharedTokenCacheCredential$instance extends TokenCredential {
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
643
|
+
GetToken(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): AccessToken;
|
|
644
|
+
GetToken(properties: GetTokenOptions, cancellationToken: CancellationToken): AuthenticationToken;
|
|
645
|
+
GetTokenAsync(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): ValueTask<AccessToken>;
|
|
646
|
+
GetTokenAsync(properties: GetTokenOptions, cancellationToken: CancellationToken): ValueTask<AuthenticationToken>;
|
|
635
647
|
}
|
|
636
648
|
|
|
637
649
|
|
|
@@ -645,13 +657,13 @@ export const SharedTokenCacheCredential: {
|
|
|
645
657
|
export type SharedTokenCacheCredential = SharedTokenCacheCredential$instance;
|
|
646
658
|
|
|
647
659
|
export interface SharedTokenCacheCredentialOptions$instance extends TokenCredentialOptions {
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
660
|
+
AuthenticationRecord: AuthenticationRecord;
|
|
661
|
+
ClientId: string;
|
|
662
|
+
DisableInstanceDiscovery: boolean;
|
|
663
|
+
EnableGuestTenantAuthentication: boolean;
|
|
664
|
+
TenantId: string;
|
|
665
|
+
TokenCachePersistenceOptions: TokenCachePersistenceOptions;
|
|
666
|
+
Username: string;
|
|
655
667
|
}
|
|
656
668
|
|
|
657
669
|
|
|
@@ -664,8 +676,8 @@ export const SharedTokenCacheCredentialOptions: {
|
|
|
664
676
|
export type SharedTokenCacheCredentialOptions = SharedTokenCacheCredentialOptions$instance;
|
|
665
677
|
|
|
666
678
|
export interface TokenCachePersistenceOptions$instance {
|
|
667
|
-
|
|
668
|
-
|
|
679
|
+
Name: string;
|
|
680
|
+
UnsafeAllowUnencryptedStorage: boolean;
|
|
669
681
|
}
|
|
670
682
|
|
|
671
683
|
|
|
@@ -677,8 +689,8 @@ export const TokenCachePersistenceOptions: {
|
|
|
677
689
|
export type TokenCachePersistenceOptions = TokenCachePersistenceOptions$instance;
|
|
678
690
|
|
|
679
691
|
export interface TokenCacheRefreshArgs$instance {
|
|
680
|
-
readonly
|
|
681
|
-
readonly
|
|
692
|
+
readonly IsCaeEnabled: boolean;
|
|
693
|
+
readonly SuggestedCacheKey: string;
|
|
682
694
|
}
|
|
683
695
|
|
|
684
696
|
|
|
@@ -690,8 +702,8 @@ export const TokenCacheRefreshArgs: {
|
|
|
690
702
|
export type TokenCacheRefreshArgs = TokenCacheRefreshArgs$instance;
|
|
691
703
|
|
|
692
704
|
export interface TokenCacheUpdatedArgs$instance {
|
|
693
|
-
readonly
|
|
694
|
-
readonly
|
|
705
|
+
readonly IsCaeEnabled: boolean;
|
|
706
|
+
readonly UnsafeCacheData: ReadOnlyMemory<System_Internal.Byte>;
|
|
695
707
|
}
|
|
696
708
|
|
|
697
709
|
|
|
@@ -703,7 +715,7 @@ export const TokenCacheUpdatedArgs: {
|
|
|
703
715
|
export type TokenCacheUpdatedArgs = TokenCacheUpdatedArgs$instance;
|
|
704
716
|
|
|
705
717
|
export interface TokenCredentialDiagnosticsOptions$instance extends DiagnosticsOptions {
|
|
706
|
-
|
|
718
|
+
IsAccountIdentifierLoggingEnabled: boolean;
|
|
707
719
|
}
|
|
708
720
|
|
|
709
721
|
|
|
@@ -715,9 +727,9 @@ export const TokenCredentialDiagnosticsOptions: {
|
|
|
715
727
|
export type TokenCredentialDiagnosticsOptions = TokenCredentialDiagnosticsOptions$instance;
|
|
716
728
|
|
|
717
729
|
export interface TokenCredentialOptions$instance extends ClientOptions {
|
|
718
|
-
|
|
719
|
-
readonly
|
|
720
|
-
|
|
730
|
+
AuthorityHost: Uri;
|
|
731
|
+
readonly Diagnostics: DiagnosticsOptions | TokenCredentialDiagnosticsOptions;
|
|
732
|
+
IsUnsafeSupportLoggingEnabled: boolean;
|
|
721
733
|
}
|
|
722
734
|
|
|
723
735
|
|
|
@@ -728,29 +740,38 @@ export const TokenCredentialOptions: {
|
|
|
728
740
|
|
|
729
741
|
export type TokenCredentialOptions = TokenCredentialOptions$instance;
|
|
730
742
|
|
|
731
|
-
export
|
|
743
|
+
export abstract class UnsafeTokenCacheOptions$protected {
|
|
744
|
+
protected abstract RefreshCacheAsync(): Task<ReadOnlyMemory<System_Internal.Byte>>;
|
|
745
|
+
protected RefreshCacheAsync(args: TokenCacheRefreshArgs, cancellationToken?: CancellationToken): Task<TokenCacheData>;
|
|
746
|
+
protected abstract TokenCacheUpdatedAsync(tokenCacheUpdatedArgs: TokenCacheUpdatedArgs): Task;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
export interface UnsafeTokenCacheOptions$instance extends UnsafeTokenCacheOptions$protected, TokenCachePersistenceOptions {
|
|
732
751
|
}
|
|
733
752
|
|
|
734
753
|
|
|
735
754
|
export const UnsafeTokenCacheOptions: {
|
|
755
|
+
new(): UnsafeTokenCacheOptions;
|
|
736
756
|
};
|
|
737
757
|
|
|
738
758
|
|
|
739
759
|
export type UnsafeTokenCacheOptions = UnsafeTokenCacheOptions$instance;
|
|
740
760
|
|
|
741
761
|
export interface UsernamePasswordCredential$instance extends TokenCredential {
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
762
|
+
Authenticate(cancellationToken?: CancellationToken): AuthenticationRecord;
|
|
763
|
+
Authenticate(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): AuthenticationRecord;
|
|
764
|
+
AuthenticateAsync(cancellationToken?: CancellationToken): Task<AuthenticationRecord>;
|
|
765
|
+
AuthenticateAsync(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): Task<AuthenticationRecord>;
|
|
766
|
+
GetToken(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): AccessToken;
|
|
767
|
+
GetToken(properties: GetTokenOptions, cancellationToken: CancellationToken): AuthenticationToken;
|
|
768
|
+
GetTokenAsync(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): ValueTask<AccessToken>;
|
|
769
|
+
GetTokenAsync(properties: GetTokenOptions, cancellationToken: CancellationToken): ValueTask<AuthenticationToken>;
|
|
750
770
|
}
|
|
751
771
|
|
|
752
772
|
|
|
753
773
|
export const UsernamePasswordCredential: {
|
|
774
|
+
new(): UsernamePasswordCredential;
|
|
754
775
|
new(username: string, password: string, tenantId: string, clientId: string): UsernamePasswordCredential;
|
|
755
776
|
new(username: string, password: string, tenantId: string, clientId: string, options: TokenCredentialOptions): UsernamePasswordCredential;
|
|
756
777
|
new(username: string, password: string, tenantId: string, clientId: string, options: UsernamePasswordCredentialOptions): UsernamePasswordCredential;
|
|
@@ -760,9 +781,9 @@ export const UsernamePasswordCredential: {
|
|
|
760
781
|
export type UsernamePasswordCredential = UsernamePasswordCredential$instance;
|
|
761
782
|
|
|
762
783
|
export interface UsernamePasswordCredentialOptions$instance extends TokenCredentialOptions {
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
784
|
+
AdditionallyAllowedTenants: IList<System_Internal.String>;
|
|
785
|
+
DisableInstanceDiscovery: boolean;
|
|
786
|
+
TokenCachePersistenceOptions: TokenCachePersistenceOptions;
|
|
766
787
|
}
|
|
767
788
|
|
|
768
789
|
|
|
@@ -774,10 +795,10 @@ export const UsernamePasswordCredentialOptions: {
|
|
|
774
795
|
export type UsernamePasswordCredentialOptions = UsernamePasswordCredentialOptions$instance;
|
|
775
796
|
|
|
776
797
|
export interface VisualStudioCodeCredential$instance extends TokenCredential {
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
798
|
+
GetToken(requestContext: TokenRequestContext, cancellationToken: CancellationToken): AccessToken;
|
|
799
|
+
GetToken(properties: GetTokenOptions, cancellationToken: CancellationToken): AuthenticationToken;
|
|
800
|
+
GetTokenAsync(requestContext: TokenRequestContext, cancellationToken: CancellationToken): ValueTask<AccessToken>;
|
|
801
|
+
GetTokenAsync(properties: GetTokenOptions, cancellationToken: CancellationToken): ValueTask<AuthenticationToken>;
|
|
781
802
|
}
|
|
782
803
|
|
|
783
804
|
|
|
@@ -790,8 +811,8 @@ export const VisualStudioCodeCredential: {
|
|
|
790
811
|
export type VisualStudioCodeCredential = VisualStudioCodeCredential$instance;
|
|
791
812
|
|
|
792
813
|
export interface VisualStudioCodeCredentialOptions$instance extends TokenCredentialOptions {
|
|
793
|
-
|
|
794
|
-
|
|
814
|
+
AdditionallyAllowedTenants: IList<System_Internal.String>;
|
|
815
|
+
TenantId: string;
|
|
795
816
|
}
|
|
796
817
|
|
|
797
818
|
|
|
@@ -803,10 +824,10 @@ export const VisualStudioCodeCredentialOptions: {
|
|
|
803
824
|
export type VisualStudioCodeCredentialOptions = VisualStudioCodeCredentialOptions$instance;
|
|
804
825
|
|
|
805
826
|
export interface VisualStudioCredential$instance extends TokenCredential {
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
827
|
+
GetToken(requestContext: TokenRequestContext, cancellationToken: CancellationToken): AccessToken;
|
|
828
|
+
GetToken(properties: GetTokenOptions, cancellationToken: CancellationToken): AuthenticationToken;
|
|
829
|
+
GetTokenAsync(requestContext: TokenRequestContext, cancellationToken: CancellationToken): ValueTask<AccessToken>;
|
|
830
|
+
GetTokenAsync(properties: GetTokenOptions, cancellationToken: CancellationToken): ValueTask<AuthenticationToken>;
|
|
810
831
|
}
|
|
811
832
|
|
|
812
833
|
|
|
@@ -819,9 +840,9 @@ export const VisualStudioCredential: {
|
|
|
819
840
|
export type VisualStudioCredential = VisualStudioCredential$instance;
|
|
820
841
|
|
|
821
842
|
export interface VisualStudioCredentialOptions$instance extends TokenCredentialOptions {
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
843
|
+
AdditionallyAllowedTenants: IList<System_Internal.String>;
|
|
844
|
+
ProcessTimeout: Nullable<TimeSpan>;
|
|
845
|
+
TenantId: string;
|
|
825
846
|
}
|
|
826
847
|
|
|
827
848
|
|
|
@@ -833,10 +854,10 @@ export const VisualStudioCredentialOptions: {
|
|
|
833
854
|
export type VisualStudioCredentialOptions = VisualStudioCredentialOptions$instance;
|
|
834
855
|
|
|
835
856
|
export interface WorkloadIdentityCredential$instance extends TokenCredential {
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
857
|
+
GetToken(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): AccessToken;
|
|
858
|
+
GetToken(properties: GetTokenOptions, cancellationToken: CancellationToken): AuthenticationToken;
|
|
859
|
+
GetTokenAsync(requestContext: TokenRequestContext, cancellationToken?: CancellationToken): ValueTask<AccessToken>;
|
|
860
|
+
GetTokenAsync(properties: GetTokenOptions, cancellationToken: CancellationToken): ValueTask<AuthenticationToken>;
|
|
840
861
|
}
|
|
841
862
|
|
|
842
863
|
|
|
@@ -849,11 +870,11 @@ export const WorkloadIdentityCredential: {
|
|
|
849
870
|
export type WorkloadIdentityCredential = WorkloadIdentityCredential$instance;
|
|
850
871
|
|
|
851
872
|
export interface WorkloadIdentityCredentialOptions$instance extends TokenCredentialOptions {
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
873
|
+
AdditionallyAllowedTenants: IList<System_Internal.String>;
|
|
874
|
+
ClientId: string;
|
|
875
|
+
DisableInstanceDiscovery: boolean;
|
|
876
|
+
TenantId: string;
|
|
877
|
+
TokenFilePath: string;
|
|
857
878
|
}
|
|
858
879
|
|
|
859
880
|
|
|
@@ -865,18 +886,18 @@ export const WorkloadIdentityCredentialOptions: {
|
|
|
865
886
|
export type WorkloadIdentityCredentialOptions = WorkloadIdentityCredentialOptions$instance;
|
|
866
887
|
|
|
867
888
|
export abstract class AzureAuthorityHosts$instance {
|
|
868
|
-
static readonly
|
|
869
|
-
static readonly
|
|
870
|
-
static readonly
|
|
871
|
-
static readonly
|
|
889
|
+
static readonly AzurePublicCloud: Uri;
|
|
890
|
+
static readonly AzureChina: Uri;
|
|
891
|
+
static readonly AzureGermany: Uri;
|
|
892
|
+
static readonly AzureGovernment: Uri;
|
|
872
893
|
}
|
|
873
894
|
|
|
874
895
|
|
|
875
896
|
export type AzureAuthorityHosts = AzureAuthorityHosts$instance;
|
|
876
897
|
|
|
877
898
|
export abstract class IdentityModelFactory$instance {
|
|
878
|
-
static
|
|
879
|
-
static
|
|
899
|
+
static AuthenticationRecord(username: string, authority: string, homeAccountId: string, tenantId: string, clientId: string): AuthenticationRecord;
|
|
900
|
+
static DeviceCodeInfo(userCode: string, deviceCode: string, verificationUri: Uri, expiresOn: DateTimeOffset, message: string, clientId: string, scopes: IReadOnlyCollection<System_Internal.String>): DeviceCodeInfo;
|
|
880
901
|
}
|
|
881
902
|
|
|
882
903
|
|