@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
|
@@ -31,71 +31,71 @@ import type { CancellationToken } from "@tsonic/dotnet/System.Threading.js";
|
|
|
31
31
|
import type { Task } from "@tsonic/dotnet/System.Threading.Tasks.js";
|
|
32
32
|
|
|
33
33
|
export enum AadAuthorityAudience {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
None = 0,
|
|
35
|
+
AzureAdMyOrg = 1,
|
|
36
|
+
AzureAdAndPersonalMicrosoftAccount = 2,
|
|
37
|
+
AzureAdMultipleOrgs = 3,
|
|
38
|
+
PersonalMicrosoftAccount = 4
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
export enum AzureCloudInstance {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
None = 0,
|
|
44
|
+
AzurePublic = 1,
|
|
45
|
+
AzureChina = 2,
|
|
46
|
+
AzureGermany = 3,
|
|
47
|
+
AzureUsGovernment = 4
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
export enum BrokerOptions_OperatingSystems {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
None = 0,
|
|
53
|
+
Windows = 1,
|
|
54
|
+
Linux = 2,
|
|
55
55
|
OSX = 4
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
export enum CacheRefreshReason {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
60
|
+
NotApplicable = 0,
|
|
61
|
+
ForceRefreshOrClaims = 1,
|
|
62
|
+
NoCachedAccessToken = 2,
|
|
63
|
+
Expired = 3,
|
|
64
|
+
ProactivelyRefreshed = 4
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
export enum LogLevel {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
69
|
+
Always = -1,
|
|
70
|
+
Error = 0,
|
|
71
|
+
Warning = 1,
|
|
72
|
+
Info = 2,
|
|
73
|
+
Verbose = 3
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
export enum TelemetryAudienceType {
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
PreProduction = 0,
|
|
79
|
+
Production = 1
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
export enum TokenSource {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
IdentityProvider = 0,
|
|
85
|
+
Cache = 1,
|
|
86
|
+
Broker = 2
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
export enum UiRequiredExceptionClassification {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
91
|
+
None = 0,
|
|
92
|
+
MessageOnly = 1,
|
|
93
|
+
BasicAction = 2,
|
|
94
|
+
AdditionalAction = 3,
|
|
95
|
+
ConsentRequired = 4,
|
|
96
|
+
UserPasswordExpired = 5,
|
|
97
|
+
PromptNeverFailed = 6,
|
|
98
|
+
AcquireTokenSilentFailed = 7
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
|
|
@@ -106,34 +106,34 @@ export type TokenCacheCallback = (args: TokenCacheNotificationArgs) => void;
|
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
export interface IAccount$instance {
|
|
109
|
-
readonly
|
|
110
|
-
readonly
|
|
111
|
-
readonly
|
|
109
|
+
readonly Username: string;
|
|
110
|
+
readonly Environment: string;
|
|
111
|
+
readonly HomeAccountId: AccountId;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
export type IAccount = IAccount$instance;
|
|
116
116
|
|
|
117
117
|
export interface IAppConfig$instance {
|
|
118
|
-
readonly
|
|
119
|
-
readonly
|
|
120
|
-
readonly
|
|
121
|
-
readonly
|
|
122
|
-
readonly
|
|
123
|
-
readonly
|
|
124
|
-
readonly
|
|
125
|
-
readonly
|
|
126
|
-
readonly
|
|
127
|
-
readonly
|
|
128
|
-
readonly
|
|
129
|
-
readonly
|
|
130
|
-
readonly
|
|
131
|
-
readonly
|
|
132
|
-
readonly
|
|
133
|
-
readonly
|
|
134
|
-
readonly
|
|
135
|
-
readonly
|
|
136
|
-
readonly
|
|
118
|
+
readonly ClientId: string;
|
|
119
|
+
readonly EnablePiiLogging: boolean;
|
|
120
|
+
readonly HttpClientFactory: IMsalHttpClientFactory;
|
|
121
|
+
readonly LogLevel: LogLevel;
|
|
122
|
+
readonly IsDefaultPlatformLoggingEnabled: boolean;
|
|
123
|
+
readonly RedirectUri: string;
|
|
124
|
+
readonly TenantId: string;
|
|
125
|
+
readonly LoggingCallback: LogCallback;
|
|
126
|
+
readonly ExtraQueryParameters: IDictionary<System_Internal.String, System_Internal.String>;
|
|
127
|
+
readonly IsBrokerEnabled: boolean;
|
|
128
|
+
readonly ClientName: string;
|
|
129
|
+
readonly ClientVersion: string;
|
|
130
|
+
readonly TelemetryConfig: ITelemetryConfig;
|
|
131
|
+
readonly ExperimentalFeaturesEnabled: boolean;
|
|
132
|
+
readonly ClientCapabilities: IEnumerable<System_Internal.String>;
|
|
133
|
+
readonly LegacyCacheCompatibilityEnabled: boolean;
|
|
134
|
+
readonly ClientSecret: string;
|
|
135
|
+
readonly ClientCredentialCertificate: X509Certificate2;
|
|
136
|
+
readonly ParentActivityOrWindowFunc: Func<unknown>;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
|
|
@@ -146,28 +146,28 @@ export interface IApplicationBase$instance {
|
|
|
146
146
|
export type IApplicationBase = IApplicationBase$instance;
|
|
147
147
|
|
|
148
148
|
export interface IByRefreshToken$instance {
|
|
149
|
-
|
|
149
|
+
AcquireTokenByRefreshToken(scopes: IEnumerable<System_Internal.String>, refreshToken: string): AcquireTokenByRefreshTokenParameterBuilder;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
|
|
153
153
|
export type IByRefreshToken = IByRefreshToken$instance;
|
|
154
154
|
|
|
155
155
|
export interface IByUsernameAndPassword$instance {
|
|
156
|
-
|
|
156
|
+
AcquireTokenByUsernamePassword(scopes: IEnumerable<System_Internal.String>, username: string, password: string): AcquireTokenByUsernameAndPasswordConfidentialParameterBuilder;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
export type IByUsernameAndPassword = IByUsernameAndPassword$instance;
|
|
161
161
|
|
|
162
162
|
export interface IClientApplicationBase$instance extends IApplicationBase {
|
|
163
|
-
readonly
|
|
164
|
-
readonly
|
|
165
|
-
readonly
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
163
|
+
readonly AppConfig: IAppConfig;
|
|
164
|
+
readonly UserTokenCache: ITokenCache;
|
|
165
|
+
readonly Authority: string;
|
|
166
|
+
AcquireTokenSilent(scopes: IEnumerable<System_Internal.String>, account: IAccount): AcquireTokenSilentParameterBuilder;
|
|
167
|
+
AcquireTokenSilent(scopes: IEnumerable<System_Internal.String>, loginHint: string): AcquireTokenSilentParameterBuilder;
|
|
168
|
+
GetAccountAsync(identifier: string): Task<IAccount>;
|
|
169
|
+
GetAccountsAsync(): Task<IEnumerable<IAccount>>;
|
|
170
|
+
RemoveAsync(account: IAccount): Task;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
|
|
@@ -176,34 +176,34 @@ export interface IClientApplicationBase$instance extends IApplicationBase$instan
|
|
|
176
176
|
export type IClientApplicationBase = IClientApplicationBase$instance;
|
|
177
177
|
|
|
178
178
|
export interface IConfidentialClientApplication$instance extends IClientApplicationBase, IApplicationBase {
|
|
179
|
-
readonly
|
|
180
|
-
readonly
|
|
181
|
-
readonly
|
|
182
|
-
readonly
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
179
|
+
readonly AppTokenCache: ITokenCache;
|
|
180
|
+
readonly AppConfig: IAppConfig;
|
|
181
|
+
readonly UserTokenCache: ITokenCache;
|
|
182
|
+
readonly Authority: string;
|
|
183
|
+
AcquireTokenByAuthorizationCode(scopes: IEnumerable<System_Internal.String>, authorizationCode: string): AcquireTokenByAuthorizationCodeParameterBuilder;
|
|
184
|
+
AcquireTokenForClient(scopes: IEnumerable<System_Internal.String>): AcquireTokenForClientParameterBuilder;
|
|
185
|
+
AcquireTokenOnBehalfOf(scopes: IEnumerable<System_Internal.String>, userAssertion: UserAssertion): AcquireTokenOnBehalfOfParameterBuilder;
|
|
186
|
+
AcquireTokenSilent(scopes: IEnumerable<System_Internal.String>, account: IAccount): AcquireTokenSilentParameterBuilder;
|
|
187
|
+
AcquireTokenSilent(scopes: IEnumerable<System_Internal.String>, loginHint: string): AcquireTokenSilentParameterBuilder;
|
|
188
|
+
GetAccountAsync(identifier: string): Task<IAccount>;
|
|
189
|
+
GetAccountsAsync(): Task<IEnumerable<IAccount>>;
|
|
190
|
+
GetAuthorizationRequestUrl(scopes: IEnumerable<System_Internal.String>): GetAuthorizationRequestUrlParameterBuilder;
|
|
191
|
+
RemoveAsync(account: IAccount): Task;
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
|
|
195
195
|
export type IConfidentialClientApplication = IConfidentialClientApplication$instance;
|
|
196
196
|
|
|
197
197
|
export interface ILongRunningWebApi$instance {
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
AcquireTokenInLongRunningProcess(scopes: IEnumerable<System_Internal.String>, longRunningProcessSessionKey: string): AcquireTokenOnBehalfOfParameterBuilder;
|
|
199
|
+
InitiateLongRunningProcessInWebApi(scopes: IEnumerable<System_Internal.String>, userToken: string, longRunningProcessSessionKey: string): AcquireTokenOnBehalfOfParameterBuilder;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
|
|
203
203
|
export type ILongRunningWebApi = ILongRunningWebApi$instance;
|
|
204
204
|
|
|
205
205
|
export interface IManagedIdentityApplication$instance extends IApplicationBase {
|
|
206
|
-
|
|
206
|
+
AcquireTokenForManagedIdentity(resource: string): AcquireTokenForManagedIdentityParameterBuilder;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
|
|
@@ -212,145 +212,146 @@ export interface IManagedIdentityApplication$instance extends IApplicationBase$i
|
|
|
212
212
|
export type IManagedIdentityApplication = IManagedIdentityApplication$instance;
|
|
213
213
|
|
|
214
214
|
export interface IMsalHttpClientFactory$instance {
|
|
215
|
-
|
|
215
|
+
GetHttpClient(): HttpClient;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
|
|
219
219
|
export type IMsalHttpClientFactory = IMsalHttpClientFactory$instance;
|
|
220
220
|
|
|
221
221
|
export interface IMsalSFHttpClientFactory$instance extends IMsalHttpClientFactory {
|
|
222
|
-
|
|
223
|
-
|
|
222
|
+
GetHttpClient(): HttpClient;
|
|
223
|
+
GetHttpClient(validateServerCert: Func<HttpRequestMessage, X509Certificate2, X509Chain, SslPolicyErrors, System_Internal.Boolean>): HttpClient;
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
|
|
227
227
|
export type IMsalSFHttpClientFactory = IMsalSFHttpClientFactory$instance;
|
|
228
228
|
|
|
229
229
|
export interface IPublicClientApplication$instance extends IClientApplicationBase, IApplicationBase {
|
|
230
|
-
readonly
|
|
231
|
-
readonly
|
|
232
|
-
readonly
|
|
233
|
-
readonly
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
230
|
+
readonly IsSystemWebViewAvailable: boolean;
|
|
231
|
+
readonly AppConfig: IAppConfig;
|
|
232
|
+
readonly UserTokenCache: ITokenCache;
|
|
233
|
+
readonly Authority: string;
|
|
234
|
+
AcquireTokenByIntegratedWindowsAuth(scopes: IEnumerable<System_Internal.String>): AcquireTokenByIntegratedWindowsAuthParameterBuilder;
|
|
235
|
+
AcquireTokenByUsernamePassword(scopes: IEnumerable<System_Internal.String>, username: string, password: SecureString): AcquireTokenByUsernamePasswordParameterBuilder;
|
|
236
|
+
AcquireTokenByUsernamePassword(scopes: IEnumerable<System_Internal.String>, username: string, password: string): AcquireTokenByUsernamePasswordParameterBuilder;
|
|
237
|
+
AcquireTokenInteractive(scopes: IEnumerable<System_Internal.String>): AcquireTokenInteractiveParameterBuilder;
|
|
238
|
+
AcquireTokenSilent(scopes: IEnumerable<System_Internal.String>, account: IAccount): AcquireTokenSilentParameterBuilder;
|
|
239
|
+
AcquireTokenSilent(scopes: IEnumerable<System_Internal.String>, loginHint: string): AcquireTokenSilentParameterBuilder;
|
|
240
|
+
AcquireTokenWithDeviceCode(scopes: IEnumerable<System_Internal.String>, deviceCodeResultCallback: Func<DeviceCodeResult, Task>): AcquireTokenWithDeviceCodeParameterBuilder;
|
|
241
|
+
GetAccountAsync(identifier: string): Task<IAccount>;
|
|
242
|
+
GetAccountsAsync(): Task<IEnumerable<IAccount>>;
|
|
243
|
+
RemoveAsync(account: IAccount): Task;
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
|
|
247
247
|
export type IPublicClientApplication = IPublicClientApplication$instance;
|
|
248
248
|
|
|
249
249
|
export interface ITelemetryConfig$instance {
|
|
250
|
-
readonly
|
|
251
|
-
readonly
|
|
252
|
-
readonly
|
|
250
|
+
readonly AudienceType: TelemetryAudienceType;
|
|
251
|
+
readonly SessionId: string;
|
|
252
|
+
readonly DispatchAction: Action<ITelemetryEventPayload>;
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
|
|
256
256
|
export type ITelemetryConfig = ITelemetryConfig$instance;
|
|
257
257
|
|
|
258
258
|
export interface ITelemetryEventPayload$instance {
|
|
259
|
-
readonly
|
|
260
|
-
readonly
|
|
261
|
-
readonly
|
|
262
|
-
readonly
|
|
263
|
-
readonly
|
|
264
|
-
|
|
259
|
+
readonly Name: string;
|
|
260
|
+
readonly BoolValues: IReadOnlyDictionary<System_Internal.String, System_Internal.Boolean>;
|
|
261
|
+
readonly Int64Values: IReadOnlyDictionary<System_Internal.String, System_Internal.Int64>;
|
|
262
|
+
readonly IntValues: IReadOnlyDictionary<System_Internal.String, System_Internal.Int32>;
|
|
263
|
+
readonly StringValues: IReadOnlyDictionary<System_Internal.String, System_Internal.String>;
|
|
264
|
+
ToJsonString(): string;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
|
|
268
268
|
export type ITelemetryEventPayload = ITelemetryEventPayload$instance;
|
|
269
269
|
|
|
270
270
|
export interface ITokenCache$instance {
|
|
271
|
-
|
|
272
|
-
|
|
271
|
+
SetBeforeAccess(beforeAccess: TokenCacheCallback): void;
|
|
272
|
+
SetBeforeAccessAsync(beforeAccess: Func<TokenCacheNotificationArgs, Task>): void;
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
|
|
276
276
|
export type ITokenCache = ITokenCache$instance;
|
|
277
277
|
|
|
278
278
|
export interface ITokenCacheSerializer$instance {
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
279
|
+
DeserializeAdalV3(adalV3State: byte[]): void;
|
|
280
|
+
DeserializeMsalV3(msalV3State: byte[], shouldClearExistingCache?: boolean): void;
|
|
281
|
+
SerializeMsalV3(): byte[];
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
|
|
285
285
|
export type ITokenCacheSerializer = ITokenCacheSerializer$instance;
|
|
286
286
|
|
|
287
287
|
export interface Prompt$instance {
|
|
288
|
-
|
|
289
|
-
|
|
288
|
+
Equals(obj: unknown): boolean;
|
|
289
|
+
GetHashCode(): int;
|
|
290
290
|
}
|
|
291
291
|
|
|
292
292
|
|
|
293
293
|
export const Prompt: {
|
|
294
294
|
new(): Prompt;
|
|
295
|
-
readonly
|
|
296
|
-
readonly
|
|
297
|
-
readonly
|
|
298
|
-
readonly
|
|
299
|
-
readonly
|
|
295
|
+
readonly SelectAccount: Prompt;
|
|
296
|
+
readonly ForceLogin: Prompt;
|
|
297
|
+
readonly Consent: Prompt;
|
|
298
|
+
readonly NoPrompt: Prompt;
|
|
299
|
+
readonly Create: Prompt;
|
|
300
300
|
};
|
|
301
301
|
|
|
302
302
|
|
|
303
303
|
export type Prompt = Prompt$instance;
|
|
304
304
|
|
|
305
305
|
export interface AbstractAcquireTokenParameterBuilder_1$instance<T extends BaseAbstractAcquireTokenParameterBuilder_1<T>> extends BaseAbstractAcquireTokenParameterBuilder_1<T> {
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
306
|
+
WithAdfsAuthority(authorityUri: string, validateAuthority?: boolean): T;
|
|
307
|
+
WithAuthority(authorityUri: string, validateAuthority?: boolean): T;
|
|
308
|
+
WithAuthority(cloudInstanceUri: string, tenantId: Guid, validateAuthority?: boolean): T;
|
|
309
|
+
WithAuthority(cloudInstanceUri: string, tenant: string, validateAuthority?: boolean): T;
|
|
310
|
+
WithAuthority(azureCloudInstance: AzureCloudInstance, tenantId: Guid, validateAuthority?: boolean): T;
|
|
311
|
+
WithAuthority(azureCloudInstance: AzureCloudInstance, tenant: string, validateAuthority?: boolean): T;
|
|
312
|
+
WithAuthority(azureCloudInstance: AzureCloudInstance, authorityAudience: AadAuthorityAudience, validateAuthority?: boolean): T;
|
|
313
|
+
WithAuthority(authorityAudience: AadAuthorityAudience, validateAuthority?: boolean): T;
|
|
314
|
+
WithB2CAuthority(authorityUri: string): T;
|
|
315
|
+
WithClaims(claims: string): T;
|
|
316
|
+
WithExtraQueryParameters(extraQueryParameters: string): T;
|
|
317
|
+
WithExtraQueryParameters(extraQueryParameters: Dictionary<System_Internal.String, System_Internal.String>): T;
|
|
318
|
+
WithTenantId(tenantId: string): T;
|
|
319
|
+
WithTenantIdFromAuthority(authorityUri: Uri): T;
|
|
320
320
|
}
|
|
321
321
|
|
|
322
322
|
|
|
323
323
|
export const AbstractAcquireTokenParameterBuilder_1: {
|
|
324
|
+
new<T extends BaseAbstractAcquireTokenParameterBuilder_1<T>>(): AbstractAcquireTokenParameterBuilder_1<T>;
|
|
324
325
|
};
|
|
325
326
|
|
|
326
327
|
|
|
327
328
|
export type AbstractAcquireTokenParameterBuilder_1<T extends BaseAbstractAcquireTokenParameterBuilder_1<T>> = AbstractAcquireTokenParameterBuilder_1$instance<T>;
|
|
328
329
|
|
|
329
330
|
export interface AbstractApplicationBuilder_1$instance<T extends BaseAbstractApplicationBuilder_1<T>> extends BaseAbstractApplicationBuilder_1<T> {
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
331
|
+
WithAdfsAuthority(authorityUri: string, validateAuthority?: boolean): T;
|
|
332
|
+
WithAuthority(authorityUri: Uri, validateAuthority?: boolean): T;
|
|
333
|
+
WithAuthority(authorityUri: string, validateAuthority?: boolean): T;
|
|
334
|
+
WithAuthority(cloudInstanceUri: string, tenantId: Guid, validateAuthority?: boolean): T;
|
|
335
|
+
WithAuthority(cloudInstanceUri: string, tenant: string, validateAuthority?: boolean): T;
|
|
336
|
+
WithAuthority(azureCloudInstance: AzureCloudInstance, tenantId: Guid, validateAuthority?: boolean): T;
|
|
337
|
+
WithAuthority(azureCloudInstance: AzureCloudInstance, tenant: string, validateAuthority?: boolean): T;
|
|
338
|
+
WithAuthority(azureCloudInstance: AzureCloudInstance, authorityAudience: AadAuthorityAudience, validateAuthority?: boolean): T;
|
|
339
|
+
WithAuthority(authorityAudience: AadAuthorityAudience, validateAuthority?: boolean): T;
|
|
340
|
+
WithB2CAuthority(authorityUri: string): T;
|
|
341
|
+
WithCacheOptions(options: CacheOptions): T;
|
|
342
|
+
WithClientCapabilities(clientCapabilities: IEnumerable<System_Internal.String>): T;
|
|
343
|
+
WithClientId(clientId: string): T;
|
|
344
|
+
WithExtraQueryParameters(extraQueryParameters: IDictionary<System_Internal.String, System_Internal.String>): T;
|
|
345
|
+
WithExtraQueryParameters(extraQueryParameters: string): T;
|
|
346
|
+
WithInstanceDicoveryMetadata(instanceDiscoveryJson: string): T;
|
|
347
|
+
WithInstanceDicoveryMetadata(instanceDiscoveryUri: Uri): T;
|
|
348
|
+
WithInstanceDiscovery(enableInstanceDiscovery: boolean): T;
|
|
349
|
+
WithInstanceDiscoveryMetadata(instanceDiscoveryJson: string): T;
|
|
350
|
+
WithInstanceDiscoveryMetadata(instanceDiscoveryUri: Uri): T;
|
|
351
|
+
WithLegacyCacheCompatibility(enableLegacyCacheCompatibility?: boolean): T;
|
|
352
|
+
WithRedirectUri(redirectUri: string): T;
|
|
353
|
+
WithTelemetry(telemetryConfig: ITelemetryConfig): T;
|
|
354
|
+
WithTenantId(tenantId: string): T;
|
|
354
355
|
}
|
|
355
356
|
|
|
356
357
|
|
|
@@ -361,9 +362,9 @@ export const AbstractApplicationBuilder_1: {
|
|
|
361
362
|
export type AbstractApplicationBuilder_1<T extends BaseAbstractApplicationBuilder_1<T>> = AbstractApplicationBuilder_1$instance<T>;
|
|
362
363
|
|
|
363
364
|
export interface AbstractClientAppBaseAcquireTokenParameterBuilder_1$instance<T extends AbstractAcquireTokenParameterBuilder_1<T>> extends AbstractAcquireTokenParameterBuilder_1<T> {
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
365
|
+
ExecuteAsync(cancellationToken: CancellationToken): Task<AuthenticationResult>;
|
|
366
|
+
ExecuteAsync(cancellationToken: CancellationToken): Task<AuthenticationResult>;
|
|
367
|
+
ExecuteAsync(): Task<AuthenticationResult>;
|
|
367
368
|
}
|
|
368
369
|
|
|
369
370
|
|
|
@@ -373,12 +374,17 @@ export const AbstractClientAppBaseAcquireTokenParameterBuilder_1: {
|
|
|
373
374
|
|
|
374
375
|
export type AbstractClientAppBaseAcquireTokenParameterBuilder_1<T extends AbstractAcquireTokenParameterBuilder_1<T>> = AbstractClientAppBaseAcquireTokenParameterBuilder_1$instance<T>;
|
|
375
376
|
|
|
376
|
-
export
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
377
|
+
export abstract class AbstractConfidentialClientAcquireTokenParameterBuilder_1$protected<T extends AbstractAcquireTokenParameterBuilder_1<T>> {
|
|
378
|
+
protected Validate(): void;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
export interface AbstractConfidentialClientAcquireTokenParameterBuilder_1$instance<T extends AbstractAcquireTokenParameterBuilder_1<T>> extends AbstractConfidentialClientAcquireTokenParameterBuilder_1$protected<T>, AbstractAcquireTokenParameterBuilder_1<T> {
|
|
383
|
+
ExecuteAsync(cancellationToken: CancellationToken): Task<AuthenticationResult>;
|
|
384
|
+
ExecuteAsync(cancellationToken: CancellationToken): Task<AuthenticationResult>;
|
|
385
|
+
ExecuteAsync(): Task<AuthenticationResult>;
|
|
386
|
+
WithProofOfPossession(popAuthenticationConfiguration: PoPAuthenticationConfiguration): T;
|
|
387
|
+
WithSignedHttpRequestProofOfPossession(popAuthenticationConfiguration: PoPAuthenticationConfiguration): T;
|
|
382
388
|
}
|
|
383
389
|
|
|
384
390
|
|
|
@@ -389,22 +395,23 @@ export const AbstractConfidentialClientAcquireTokenParameterBuilder_1: {
|
|
|
389
395
|
export type AbstractConfidentialClientAcquireTokenParameterBuilder_1<T extends AbstractAcquireTokenParameterBuilder_1<T>> = AbstractConfidentialClientAcquireTokenParameterBuilder_1$instance<T>;
|
|
390
396
|
|
|
391
397
|
export interface AbstractManagedIdentityAcquireTokenParameterBuilder_1$instance<T extends BaseAbstractAcquireTokenParameterBuilder_1<T>> extends BaseAbstractAcquireTokenParameterBuilder_1<T> {
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
398
|
+
ExecuteAsync(cancellationToken: CancellationToken): Task<AuthenticationResult>;
|
|
399
|
+
ExecuteAsync(cancellationToken: CancellationToken): Task<AuthenticationResult>;
|
|
400
|
+
ExecuteAsync(): Task<AuthenticationResult>;
|
|
395
401
|
}
|
|
396
402
|
|
|
397
403
|
|
|
398
404
|
export const AbstractManagedIdentityAcquireTokenParameterBuilder_1: {
|
|
405
|
+
new<T extends BaseAbstractAcquireTokenParameterBuilder_1<T>>(): AbstractManagedIdentityAcquireTokenParameterBuilder_1<T>;
|
|
399
406
|
};
|
|
400
407
|
|
|
401
408
|
|
|
402
409
|
export type AbstractManagedIdentityAcquireTokenParameterBuilder_1<T extends BaseAbstractAcquireTokenParameterBuilder_1<T>> = AbstractManagedIdentityAcquireTokenParameterBuilder_1$instance<T>;
|
|
403
410
|
|
|
404
411
|
export interface AbstractPublicClientAcquireTokenParameterBuilder_1$instance<T extends AbstractAcquireTokenParameterBuilder_1<T>> extends AbstractAcquireTokenParameterBuilder_1<T> {
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
412
|
+
ExecuteAsync(cancellationToken: CancellationToken): Task<AuthenticationResult>;
|
|
413
|
+
ExecuteAsync(cancellationToken: CancellationToken): Task<AuthenticationResult>;
|
|
414
|
+
ExecuteAsync(): Task<AuthenticationResult>;
|
|
408
415
|
}
|
|
409
416
|
|
|
410
417
|
|
|
@@ -415,12 +422,12 @@ export const AbstractPublicClientAcquireTokenParameterBuilder_1: {
|
|
|
415
422
|
export type AbstractPublicClientAcquireTokenParameterBuilder_1<T extends AbstractAcquireTokenParameterBuilder_1<T>> = AbstractPublicClientAcquireTokenParameterBuilder_1$instance<T>;
|
|
416
423
|
|
|
417
424
|
export interface AccountId$instance {
|
|
418
|
-
readonly
|
|
419
|
-
readonly
|
|
420
|
-
readonly
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
425
|
+
readonly Identifier: string;
|
|
426
|
+
readonly ObjectId: string;
|
|
427
|
+
readonly TenantId: string;
|
|
428
|
+
Equals(obj: unknown): boolean;
|
|
429
|
+
GetHashCode(): int;
|
|
430
|
+
ToString(): string | undefined;
|
|
424
431
|
}
|
|
425
432
|
|
|
426
433
|
|
|
@@ -432,12 +439,17 @@ export const AccountId: {
|
|
|
432
439
|
|
|
433
440
|
export type AccountId = AccountId$instance;
|
|
434
441
|
|
|
435
|
-
export
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
442
|
+
export abstract class AcquireTokenByAuthorizationCodeParameterBuilder$protected {
|
|
443
|
+
protected Validate(): void;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
export interface AcquireTokenByAuthorizationCodeParameterBuilder$instance extends AcquireTokenByAuthorizationCodeParameterBuilder$protected, AbstractConfidentialClientAcquireTokenParameterBuilder_1<AcquireTokenByAuthorizationCodeParameterBuilder> {
|
|
448
|
+
WithCcsRoutingHint(userObjectIdentifier: string, tenantIdentifier: string): AcquireTokenByAuthorizationCodeParameterBuilder;
|
|
449
|
+
WithCcsRoutingHint(userName: string): AcquireTokenByAuthorizationCodeParameterBuilder;
|
|
450
|
+
WithPkceCodeVerifier(pkceCodeVerifier: string): AcquireTokenByAuthorizationCodeParameterBuilder;
|
|
451
|
+
WithSendX5C(withSendX5C: boolean): AcquireTokenByAuthorizationCodeParameterBuilder;
|
|
452
|
+
WithSpaAuthorizationCode(requestSpaAuthorizationCode?: boolean): AcquireTokenByAuthorizationCodeParameterBuilder;
|
|
441
453
|
}
|
|
442
454
|
|
|
443
455
|
|
|
@@ -449,8 +461,8 @@ export const AcquireTokenByAuthorizationCodeParameterBuilder: {
|
|
|
449
461
|
export type AcquireTokenByAuthorizationCodeParameterBuilder = AcquireTokenByAuthorizationCodeParameterBuilder$instance;
|
|
450
462
|
|
|
451
463
|
export interface AcquireTokenByIntegratedWindowsAuthParameterBuilder$instance extends AbstractPublicClientAcquireTokenParameterBuilder_1<AcquireTokenByIntegratedWindowsAuthParameterBuilder> {
|
|
452
|
-
|
|
453
|
-
|
|
464
|
+
WithFederationMetadata(federationMetadata: string): AcquireTokenByIntegratedWindowsAuthParameterBuilder;
|
|
465
|
+
WithUsername(username: string): AcquireTokenByIntegratedWindowsAuthParameterBuilder;
|
|
454
466
|
}
|
|
455
467
|
|
|
456
468
|
|
|
@@ -461,8 +473,13 @@ export const AcquireTokenByIntegratedWindowsAuthParameterBuilder: {
|
|
|
461
473
|
|
|
462
474
|
export type AcquireTokenByIntegratedWindowsAuthParameterBuilder = AcquireTokenByIntegratedWindowsAuthParameterBuilder$instance;
|
|
463
475
|
|
|
464
|
-
export
|
|
465
|
-
|
|
476
|
+
export abstract class AcquireTokenByRefreshTokenParameterBuilder$protected {
|
|
477
|
+
protected Validate(): void;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
export interface AcquireTokenByRefreshTokenParameterBuilder$instance extends AcquireTokenByRefreshTokenParameterBuilder$protected, AbstractClientAppBaseAcquireTokenParameterBuilder_1<AcquireTokenByRefreshTokenParameterBuilder> {
|
|
482
|
+
WithSendX5C(withSendX5C: boolean): AcquireTokenByRefreshTokenParameterBuilder;
|
|
466
483
|
}
|
|
467
484
|
|
|
468
485
|
|
|
@@ -473,7 +490,12 @@ export const AcquireTokenByRefreshTokenParameterBuilder: {
|
|
|
473
490
|
|
|
474
491
|
export type AcquireTokenByRefreshTokenParameterBuilder = AcquireTokenByRefreshTokenParameterBuilder$instance;
|
|
475
492
|
|
|
476
|
-
export
|
|
493
|
+
export abstract class AcquireTokenByUsernameAndPasswordConfidentialParameterBuilder$protected {
|
|
494
|
+
protected Validate(): void;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
export interface AcquireTokenByUsernameAndPasswordConfidentialParameterBuilder$instance extends AcquireTokenByUsernameAndPasswordConfidentialParameterBuilder$protected, AbstractConfidentialClientAcquireTokenParameterBuilder_1<AcquireTokenByUsernameAndPasswordConfidentialParameterBuilder> {
|
|
477
499
|
}
|
|
478
500
|
|
|
479
501
|
|
|
@@ -485,8 +507,8 @@ export const AcquireTokenByUsernameAndPasswordConfidentialParameterBuilder: {
|
|
|
485
507
|
export type AcquireTokenByUsernameAndPasswordConfidentialParameterBuilder = AcquireTokenByUsernameAndPasswordConfidentialParameterBuilder$instance;
|
|
486
508
|
|
|
487
509
|
export interface AcquireTokenByUsernamePasswordParameterBuilder$instance extends AbstractPublicClientAcquireTokenParameterBuilder_1<AcquireTokenByUsernamePasswordParameterBuilder> {
|
|
488
|
-
|
|
489
|
-
|
|
510
|
+
WithFederationMetadata(federationMetadata: string): AcquireTokenByUsernamePasswordParameterBuilder;
|
|
511
|
+
WithProofOfPossession(nonce: string, httpMethod: HttpMethod, requestUri: Uri): AcquireTokenByUsernamePasswordParameterBuilder;
|
|
490
512
|
}
|
|
491
513
|
|
|
492
514
|
|
|
@@ -497,13 +519,18 @@ export const AcquireTokenByUsernamePasswordParameterBuilder: {
|
|
|
497
519
|
|
|
498
520
|
export type AcquireTokenByUsernamePasswordParameterBuilder = AcquireTokenByUsernamePasswordParameterBuilder$instance;
|
|
499
521
|
|
|
500
|
-
export
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
522
|
+
export abstract class AcquireTokenForClientParameterBuilder$protected {
|
|
523
|
+
protected Validate(): void;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
export interface AcquireTokenForClientParameterBuilder$instance extends AcquireTokenForClientParameterBuilder$protected, AbstractConfidentialClientAcquireTokenParameterBuilder_1<AcquireTokenForClientParameterBuilder> {
|
|
528
|
+
WithAzureRegion(useAzureRegion: boolean): AcquireTokenForClientParameterBuilder;
|
|
529
|
+
WithFmiPath(pathSuffix: string): AcquireTokenForClientParameterBuilder;
|
|
530
|
+
WithForceRefresh(forceRefresh: boolean): AcquireTokenForClientParameterBuilder;
|
|
531
|
+
WithMtlsProofOfPossession(): AcquireTokenForClientParameterBuilder;
|
|
532
|
+
WithPreferredAzureRegion(useAzureRegion?: boolean, regionUsedIfAutoDetectFails?: string, fallbackToGlobal?: boolean): AcquireTokenForClientParameterBuilder;
|
|
533
|
+
WithSendX5C(withSendX5C: boolean): AcquireTokenForClientParameterBuilder;
|
|
507
534
|
}
|
|
508
535
|
|
|
509
536
|
|
|
@@ -515,8 +542,8 @@ export const AcquireTokenForClientParameterBuilder: {
|
|
|
515
542
|
export type AcquireTokenForClientParameterBuilder = AcquireTokenForClientParameterBuilder$instance;
|
|
516
543
|
|
|
517
544
|
export interface AcquireTokenForManagedIdentityParameterBuilder$instance extends AbstractManagedIdentityAcquireTokenParameterBuilder_1<AcquireTokenForManagedIdentityParameterBuilder> {
|
|
518
|
-
|
|
519
|
-
|
|
545
|
+
WithClaims(claims: string): AcquireTokenForManagedIdentityParameterBuilder;
|
|
546
|
+
WithForceRefresh(forceRefresh: boolean): AcquireTokenForManagedIdentityParameterBuilder;
|
|
520
547
|
}
|
|
521
548
|
|
|
522
549
|
|
|
@@ -527,17 +554,22 @@ export const AcquireTokenForManagedIdentityParameterBuilder: {
|
|
|
527
554
|
|
|
528
555
|
export type AcquireTokenForManagedIdentityParameterBuilder = AcquireTokenForManagedIdentityParameterBuilder$instance;
|
|
529
556
|
|
|
530
|
-
export
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
557
|
+
export abstract class AcquireTokenInteractiveParameterBuilder$protected {
|
|
558
|
+
protected Validate(): void;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
export interface AcquireTokenInteractiveParameterBuilder$instance extends AcquireTokenInteractiveParameterBuilder$protected, AbstractPublicClientAcquireTokenParameterBuilder_1<AcquireTokenInteractiveParameterBuilder> {
|
|
563
|
+
WithAccount(account: IAccount): AcquireTokenInteractiveParameterBuilder;
|
|
564
|
+
WithEmbeddedWebViewOptions(options: EmbeddedWebViewOptions): AcquireTokenInteractiveParameterBuilder;
|
|
565
|
+
WithExtraScopesToConsent(extraScopesToConsent: IEnumerable<System_Internal.String>): AcquireTokenInteractiveParameterBuilder;
|
|
566
|
+
WithLoginHint(loginHint: string): AcquireTokenInteractiveParameterBuilder;
|
|
567
|
+
WithParentActivityOrWindow(parent: unknown): AcquireTokenInteractiveParameterBuilder;
|
|
568
|
+
WithParentActivityOrWindow(window: nint): AcquireTokenInteractiveParameterBuilder;
|
|
569
|
+
WithPrompt(prompt: Prompt): AcquireTokenInteractiveParameterBuilder;
|
|
570
|
+
WithProofOfPossession(nonce: string, httpMethod: HttpMethod, requestUri: Uri): AcquireTokenInteractiveParameterBuilder;
|
|
571
|
+
WithSystemWebViewOptions(options: SystemWebViewOptions): AcquireTokenInteractiveParameterBuilder;
|
|
572
|
+
WithUseEmbeddedWebView(useEmbeddedWebView: boolean): AcquireTokenInteractiveParameterBuilder;
|
|
541
573
|
}
|
|
542
574
|
|
|
543
575
|
|
|
@@ -548,11 +580,16 @@ export const AcquireTokenInteractiveParameterBuilder: {
|
|
|
548
580
|
|
|
549
581
|
export type AcquireTokenInteractiveParameterBuilder = AcquireTokenInteractiveParameterBuilder$instance;
|
|
550
582
|
|
|
551
|
-
export
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
583
|
+
export abstract class AcquireTokenOnBehalfOfParameterBuilder$protected {
|
|
584
|
+
protected Validate(): void;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
export interface AcquireTokenOnBehalfOfParameterBuilder$instance extends AcquireTokenOnBehalfOfParameterBuilder$protected, AbstractConfidentialClientAcquireTokenParameterBuilder_1<AcquireTokenOnBehalfOfParameterBuilder> {
|
|
589
|
+
WithCcsRoutingHint(userObjectIdentifier: string, tenantIdentifier: string): AcquireTokenOnBehalfOfParameterBuilder;
|
|
590
|
+
WithCcsRoutingHint(userName: string): AcquireTokenOnBehalfOfParameterBuilder;
|
|
591
|
+
WithForceRefresh(forceRefresh: boolean): AcquireTokenOnBehalfOfParameterBuilder;
|
|
592
|
+
WithSendX5C(withSendX5C: boolean): AcquireTokenOnBehalfOfParameterBuilder;
|
|
556
593
|
}
|
|
557
594
|
|
|
558
595
|
|
|
@@ -563,11 +600,16 @@ export const AcquireTokenOnBehalfOfParameterBuilder: {
|
|
|
563
600
|
|
|
564
601
|
export type AcquireTokenOnBehalfOfParameterBuilder = AcquireTokenOnBehalfOfParameterBuilder$instance;
|
|
565
602
|
|
|
566
|
-
export
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
603
|
+
export abstract class AcquireTokenSilentParameterBuilder$protected {
|
|
604
|
+
protected Validate(): void;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
export interface AcquireTokenSilentParameterBuilder$instance extends AcquireTokenSilentParameterBuilder$protected, AbstractClientAppBaseAcquireTokenParameterBuilder_1<AcquireTokenSilentParameterBuilder> {
|
|
609
|
+
WithForceRefresh(forceRefresh: boolean): AcquireTokenSilentParameterBuilder;
|
|
610
|
+
WithProofOfPossession(popAuthenticationConfiguration: PoPAuthenticationConfiguration): AcquireTokenSilentParameterBuilder;
|
|
611
|
+
WithProofOfPossession(nonce: string, httpMethod: HttpMethod, requestUri: Uri): AcquireTokenSilentParameterBuilder;
|
|
612
|
+
WithSendX5C(withSendX5C: boolean): AcquireTokenSilentParameterBuilder;
|
|
571
613
|
}
|
|
572
614
|
|
|
573
615
|
|
|
@@ -578,8 +620,13 @@ export const AcquireTokenSilentParameterBuilder: {
|
|
|
578
620
|
|
|
579
621
|
export type AcquireTokenSilentParameterBuilder = AcquireTokenSilentParameterBuilder$instance;
|
|
580
622
|
|
|
581
|
-
export
|
|
582
|
-
|
|
623
|
+
export abstract class AcquireTokenWithDeviceCodeParameterBuilder$protected {
|
|
624
|
+
protected Validate(): void;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
export interface AcquireTokenWithDeviceCodeParameterBuilder$instance extends AcquireTokenWithDeviceCodeParameterBuilder$protected, AbstractPublicClientAcquireTokenParameterBuilder_1<AcquireTokenWithDeviceCodeParameterBuilder> {
|
|
629
|
+
WithDeviceCodeResultCallback(deviceCodeResultCallback: Func<DeviceCodeResult, Task>): AcquireTokenWithDeviceCodeParameterBuilder;
|
|
583
630
|
}
|
|
584
631
|
|
|
585
632
|
|
|
@@ -601,34 +648,35 @@ export const ApplicationBase: {
|
|
|
601
648
|
export type ApplicationBase = ApplicationBase$instance;
|
|
602
649
|
|
|
603
650
|
export interface ApplicationOptions$instance extends BaseApplicationOptions {
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
651
|
+
AadAuthorityAudience: AadAuthorityAudience;
|
|
652
|
+
AzureCloudInstance: AzureCloudInstance;
|
|
653
|
+
ClientCapabilities: IEnumerable<System_Internal.String>;
|
|
654
|
+
ClientId: string;
|
|
655
|
+
ClientName: string;
|
|
656
|
+
ClientVersion: string;
|
|
657
|
+
Instance: string;
|
|
658
|
+
KerberosServicePrincipalName: string;
|
|
659
|
+
LegacyCacheCompatibilityEnabled: boolean;
|
|
660
|
+
RedirectUri: string;
|
|
661
|
+
TenantId: string;
|
|
662
|
+
TicketContainer: KerberosTicketContainer;
|
|
616
663
|
}
|
|
617
664
|
|
|
618
665
|
|
|
619
666
|
export const ApplicationOptions: {
|
|
667
|
+
new(): ApplicationOptions;
|
|
620
668
|
};
|
|
621
669
|
|
|
622
670
|
|
|
623
671
|
export type ApplicationOptions = ApplicationOptions$instance;
|
|
624
672
|
|
|
625
673
|
export interface AssertionRequestOptions$instance {
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
674
|
+
CancellationToken: CancellationToken;
|
|
675
|
+
Claims: string;
|
|
676
|
+
ClientAssertionFmiPath: string;
|
|
677
|
+
ClientCapabilities: IEnumerable<System_Internal.String>;
|
|
678
|
+
ClientID: string;
|
|
679
|
+
TokenEndpoint: string;
|
|
632
680
|
}
|
|
633
681
|
|
|
634
682
|
|
|
@@ -640,53 +688,53 @@ export const AssertionRequestOptions: {
|
|
|
640
688
|
export type AssertionRequestOptions = AssertionRequestOptions$instance;
|
|
641
689
|
|
|
642
690
|
export interface AuthenticationHeaderParser$instance {
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
691
|
+
AuthenticationInfoParameters: AuthenticationInfoParameters;
|
|
692
|
+
PopNonce: string;
|
|
693
|
+
WwwAuthenticateParameters: IReadOnlyList<WwwAuthenticateParameters>;
|
|
646
694
|
}
|
|
647
695
|
|
|
648
696
|
|
|
649
697
|
export const AuthenticationHeaderParser: {
|
|
650
698
|
new(): AuthenticationHeaderParser;
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
699
|
+
ParseAuthenticationHeaders(httpResponseHeaders: HttpResponseHeaders): AuthenticationHeaderParser;
|
|
700
|
+
ParseAuthenticationHeadersAsync(resourceUri: string, httpClient: HttpClient, cancellationToken?: CancellationToken): Task<AuthenticationHeaderParser>;
|
|
701
|
+
ParseAuthenticationHeadersAsync(resourceUri: string, cancellationToken?: CancellationToken): Task<AuthenticationHeaderParser>;
|
|
654
702
|
};
|
|
655
703
|
|
|
656
704
|
|
|
657
705
|
export type AuthenticationHeaderParser = AuthenticationHeaderParser$instance;
|
|
658
706
|
|
|
659
707
|
export interface AuthenticationInfoParameters$instance {
|
|
660
|
-
readonly
|
|
661
|
-
|
|
708
|
+
readonly Item: string;
|
|
709
|
+
NextNonce: string;
|
|
662
710
|
}
|
|
663
711
|
|
|
664
712
|
|
|
665
713
|
export const AuthenticationInfoParameters: {
|
|
666
714
|
new(): AuthenticationInfoParameters;
|
|
667
|
-
|
|
715
|
+
CreateFromResponseHeaders(httpResponseHeaders: HttpResponseHeaders): AuthenticationInfoParameters;
|
|
668
716
|
};
|
|
669
717
|
|
|
670
718
|
|
|
671
719
|
export type AuthenticationInfoParameters = AuthenticationInfoParameters$instance;
|
|
672
720
|
|
|
673
721
|
export interface AuthenticationResult$instance {
|
|
674
|
-
|
|
675
|
-
readonly
|
|
676
|
-
readonly
|
|
677
|
-
readonly
|
|
678
|
-
readonly
|
|
679
|
-
readonly
|
|
680
|
-
readonly
|
|
681
|
-
readonly
|
|
682
|
-
readonly
|
|
683
|
-
readonly
|
|
684
|
-
readonly
|
|
685
|
-
readonly
|
|
686
|
-
readonly
|
|
687
|
-
readonly
|
|
688
|
-
readonly
|
|
689
|
-
|
|
722
|
+
AccessToken: string;
|
|
723
|
+
readonly Account: IAccount;
|
|
724
|
+
readonly AdditionalResponseParameters: IReadOnlyDictionary<System_Internal.String, System_Internal.String>;
|
|
725
|
+
readonly AuthenticationResultMetadata: AuthenticationResultMetadata;
|
|
726
|
+
readonly ClaimsPrincipal: ClaimsPrincipal;
|
|
727
|
+
readonly CorrelationId: Guid;
|
|
728
|
+
readonly ExpiresOn: DateTimeOffset;
|
|
729
|
+
readonly ExtendedExpiresOn: DateTimeOffset;
|
|
730
|
+
readonly IdToken: string;
|
|
731
|
+
readonly IsExtendedLifeTimeToken: boolean;
|
|
732
|
+
readonly Scopes: IEnumerable<System_Internal.String>;
|
|
733
|
+
readonly SpaAuthCode: string;
|
|
734
|
+
readonly TenantId: string;
|
|
735
|
+
readonly TokenType: string;
|
|
736
|
+
readonly UniqueId: string;
|
|
737
|
+
CreateAuthorizationHeader(): string;
|
|
690
738
|
}
|
|
691
739
|
|
|
692
740
|
|
|
@@ -699,18 +747,18 @@ export const AuthenticationResult: {
|
|
|
699
747
|
export type AuthenticationResult = AuthenticationResult$instance;
|
|
700
748
|
|
|
701
749
|
export interface AuthenticationResultMetadata$instance {
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
readonly
|
|
750
|
+
CachedAccessTokenCount: int;
|
|
751
|
+
CacheLevel: CacheLevel;
|
|
752
|
+
CacheRefreshReason: CacheRefreshReason;
|
|
753
|
+
DurationCreatingExtendedTokenInUs: long;
|
|
754
|
+
DurationInCacheInMs: long;
|
|
755
|
+
DurationInHttpInMs: long;
|
|
756
|
+
DurationTotalInMs: long;
|
|
757
|
+
RefreshOn: Nullable<DateTimeOffset>;
|
|
758
|
+
RegionDetails: RegionDetails;
|
|
759
|
+
Telemetry: string;
|
|
760
|
+
TokenEndpoint: string;
|
|
761
|
+
readonly TokenSource: TokenSource;
|
|
714
762
|
}
|
|
715
763
|
|
|
716
764
|
|
|
@@ -721,29 +769,35 @@ export const AuthenticationResultMetadata: {
|
|
|
721
769
|
|
|
722
770
|
export type AuthenticationResultMetadata = AuthenticationResultMetadata$instance;
|
|
723
771
|
|
|
724
|
-
export
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
772
|
+
export abstract class BaseAbstractAcquireTokenParameterBuilder_1$protected<T extends BaseAbstractAcquireTokenParameterBuilder_1<T>> {
|
|
773
|
+
protected Validate(): void;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
export interface BaseAbstractAcquireTokenParameterBuilder_1$instance<T extends BaseAbstractAcquireTokenParameterBuilder_1<T>> extends BaseAbstractAcquireTokenParameterBuilder_1$protected<T> {
|
|
778
|
+
ExecuteAsync(cancellationToken: CancellationToken): Task<AuthenticationResult>;
|
|
779
|
+
ExecuteAsync(): Task<AuthenticationResult>;
|
|
780
|
+
WithCorrelationId(correlationId: Guid): T;
|
|
781
|
+
WithExtraQueryParameters(extraQueryParameters: Dictionary<System_Internal.String, System_Internal.String>): T;
|
|
729
782
|
}
|
|
730
783
|
|
|
731
784
|
|
|
732
785
|
export const BaseAbstractAcquireTokenParameterBuilder_1: {
|
|
786
|
+
new<T extends BaseAbstractAcquireTokenParameterBuilder_1<T>>(): BaseAbstractAcquireTokenParameterBuilder_1<T>;
|
|
733
787
|
};
|
|
734
788
|
|
|
735
789
|
|
|
736
790
|
export type BaseAbstractAcquireTokenParameterBuilder_1<T extends BaseAbstractAcquireTokenParameterBuilder_1<T>> = BaseAbstractAcquireTokenParameterBuilder_1$instance<T>;
|
|
737
791
|
|
|
738
792
|
export interface BaseAbstractApplicationBuilder_1$instance<T extends BaseAbstractApplicationBuilder_1<T>> {
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
793
|
+
WithClientName(clientName: string): T;
|
|
794
|
+
WithClientVersion(clientVersion: string): T;
|
|
795
|
+
WithDebugLoggingCallback(logLevel?: LogLevel, enablePiiLogging?: boolean, withDefaultPlatformLoggingEnabled?: boolean): T;
|
|
796
|
+
WithExperimentalFeatures(enableExperimentalFeatures?: boolean): T;
|
|
797
|
+
WithHttpClientFactory(httpClientFactory: IMsalHttpClientFactory): T;
|
|
798
|
+
WithHttpClientFactory(httpClientFactory: IMsalHttpClientFactory, retryOnceOn5xx: boolean): T;
|
|
799
|
+
WithLogging(loggingCallback: LogCallback, logLevel?: Nullable<LogLevel>, enablePiiLogging?: Nullable<System_Internal.Boolean>, enableDefaultPlatformLogging?: Nullable<System_Internal.Boolean>): T;
|
|
800
|
+
WithLogging(identityLogger: IIdentityLogger, enablePiiLogging?: boolean): T;
|
|
747
801
|
}
|
|
748
802
|
|
|
749
803
|
|
|
@@ -754,23 +808,24 @@ export const BaseAbstractApplicationBuilder_1: {
|
|
|
754
808
|
export type BaseAbstractApplicationBuilder_1<T extends BaseAbstractApplicationBuilder_1<T>> = BaseAbstractApplicationBuilder_1$instance<T>;
|
|
755
809
|
|
|
756
810
|
export interface BaseApplicationOptions$instance {
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
811
|
+
EnablePiiLogging: boolean;
|
|
812
|
+
IsDefaultPlatformLoggingEnabled: boolean;
|
|
813
|
+
LogLevel: LogLevel;
|
|
760
814
|
}
|
|
761
815
|
|
|
762
816
|
|
|
763
817
|
export const BaseApplicationOptions: {
|
|
818
|
+
new(): BaseApplicationOptions;
|
|
764
819
|
};
|
|
765
820
|
|
|
766
821
|
|
|
767
822
|
export type BaseApplicationOptions = BaseApplicationOptions$instance;
|
|
768
823
|
|
|
769
824
|
export interface BrokerOptions$instance {
|
|
770
|
-
readonly
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
825
|
+
readonly EnabledOn: BrokerOptions_OperatingSystems;
|
|
826
|
+
ListOperatingSystemAccounts: boolean;
|
|
827
|
+
MsaPassthrough: boolean;
|
|
828
|
+
Title: string;
|
|
774
829
|
}
|
|
775
830
|
|
|
776
831
|
|
|
@@ -782,33 +837,33 @@ export const BrokerOptions: {
|
|
|
782
837
|
export type BrokerOptions = BrokerOptions$instance;
|
|
783
838
|
|
|
784
839
|
export interface CacheOptions$instance {
|
|
785
|
-
|
|
840
|
+
UseSharedCache: boolean;
|
|
786
841
|
}
|
|
787
842
|
|
|
788
843
|
|
|
789
844
|
export const CacheOptions: {
|
|
790
845
|
new(): CacheOptions;
|
|
791
846
|
new(useSharedCache: boolean): CacheOptions;
|
|
792
|
-
readonly
|
|
847
|
+
readonly EnableSharedCacheOptions: CacheOptions;
|
|
793
848
|
};
|
|
794
849
|
|
|
795
850
|
|
|
796
851
|
export type CacheOptions = CacheOptions$instance;
|
|
797
852
|
|
|
798
853
|
export interface ClientApplicationBase$instance extends ApplicationBase, IApplicationBase {
|
|
799
|
-
readonly
|
|
800
|
-
readonly
|
|
801
|
-
readonly
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
854
|
+
readonly AppConfig: IAppConfig;
|
|
855
|
+
readonly Authority: string;
|
|
856
|
+
readonly UserTokenCache: ITokenCache;
|
|
857
|
+
AcquireTokenSilent(scopes: IEnumerable<System_Internal.String>, account: IAccount): AcquireTokenSilentParameterBuilder;
|
|
858
|
+
AcquireTokenSilent(scopes: IEnumerable<System_Internal.String>, loginHint: string): AcquireTokenSilentParameterBuilder;
|
|
859
|
+
GetAccountAsync(accountId: string, cancellationToken?: CancellationToken): Task<IAccount>;
|
|
860
|
+
GetAccountAsync(accountId: string): Task<IAccount>;
|
|
861
|
+
GetAccountsAsync(): Task<IEnumerable<IAccount>>;
|
|
862
|
+
GetAccountsAsync(cancellationToken?: CancellationToken): Task<IEnumerable<IAccount>>;
|
|
863
|
+
GetAccountsAsync(userFlow: string): Task<IEnumerable<IAccount>>;
|
|
864
|
+
GetAccountsAsync(userFlow: string, cancellationToken?: CancellationToken): Task<IEnumerable<IAccount>>;
|
|
865
|
+
RemoveAsync(account: IAccount): Task;
|
|
866
|
+
RemoveAsync(account: IAccount, cancellationToken?: CancellationToken): Task;
|
|
812
867
|
}
|
|
813
868
|
|
|
814
869
|
|
|
@@ -824,31 +879,31 @@ export type ClientApplicationBase = ClientApplicationBase$instance & __ClientApp
|
|
|
824
879
|
|
|
825
880
|
|
|
826
881
|
export interface ConfidentialClientApplication$instance extends ClientApplicationBase$instance, IApplicationBase {
|
|
827
|
-
readonly
|
|
828
|
-
readonly
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
882
|
+
readonly AppTokenCache: ITokenCache;
|
|
883
|
+
readonly Certificate: X509Certificate2 | undefined;
|
|
884
|
+
AcquireTokenByAuthorizationCode(scopes: IEnumerable<System_Internal.String>, authorizationCode: string): AcquireTokenByAuthorizationCodeParameterBuilder;
|
|
885
|
+
AcquireTokenForClient(scopes: IEnumerable<System_Internal.String>): AcquireTokenForClientParameterBuilder;
|
|
886
|
+
AcquireTokenInLongRunningProcess(scopes: IEnumerable<System_Internal.String>, longRunningProcessSessionKey: string): AcquireTokenOnBehalfOfParameterBuilder;
|
|
887
|
+
AcquireTokenOnBehalfOf(scopes: IEnumerable<System_Internal.String>, userAssertion: UserAssertion): AcquireTokenOnBehalfOfParameterBuilder;
|
|
888
|
+
AcquireTokenSilent(scopes: IEnumerable<System_Internal.String>, account: IAccount): AcquireTokenSilentParameterBuilder;
|
|
889
|
+
AcquireTokenSilent(scopes: IEnumerable<System_Internal.String>, loginHint: string): AcquireTokenSilentParameterBuilder;
|
|
890
|
+
GetAccountAsync(accountId: string, cancellationToken?: CancellationToken): Task<IAccount>;
|
|
891
|
+
GetAccountAsync(accountId: string): Task<IAccount>;
|
|
892
|
+
GetAccountsAsync(): Task<IEnumerable<IAccount>>;
|
|
893
|
+
GetAccountsAsync(cancellationToken?: CancellationToken): Task<IEnumerable<IAccount>>;
|
|
894
|
+
GetAccountsAsync(userFlow: string): Task<IEnumerable<IAccount>>;
|
|
895
|
+
GetAccountsAsync(userFlow: string, cancellationToken?: CancellationToken): Task<IEnumerable<IAccount>>;
|
|
896
|
+
GetAuthorizationRequestUrl(scopes: IEnumerable<System_Internal.String>): GetAuthorizationRequestUrlParameterBuilder;
|
|
897
|
+
InitiateLongRunningProcessInWebApi(scopes: IEnumerable<System_Internal.String>, userToken: string, longRunningProcessSessionKey: string): AcquireTokenOnBehalfOfParameterBuilder;
|
|
898
|
+
RemoveAsync(account: IAccount): Task;
|
|
899
|
+
RemoveAsync(account: IAccount, cancellationToken?: CancellationToken): Task;
|
|
900
|
+
StopLongRunningProcessInWebApiAsync(longRunningProcessSessionKey: string, cancellationToken?: CancellationToken): Task<System_Internal.Boolean>;
|
|
846
901
|
}
|
|
847
902
|
|
|
848
903
|
|
|
849
904
|
export const ConfidentialClientApplication: {
|
|
850
905
|
new(): ConfidentialClientApplication;
|
|
851
|
-
readonly
|
|
906
|
+
readonly AttemptRegionDiscovery: string;
|
|
852
907
|
};
|
|
853
908
|
|
|
854
909
|
|
|
@@ -866,37 +921,37 @@ export type ConfidentialClientApplication = ConfidentialClientApplication$instan
|
|
|
866
921
|
|
|
867
922
|
|
|
868
923
|
export interface ConfidentialClientApplicationBuilder$instance extends AbstractApplicationBuilder_1<ConfidentialClientApplicationBuilder> {
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
924
|
+
Build(): IConfidentialClientApplication;
|
|
925
|
+
WithAzureRegion(azureRegion?: string): ConfidentialClientApplicationBuilder;
|
|
926
|
+
WithCacheSynchronization(enableCacheSynchronization: boolean): ConfidentialClientApplicationBuilder;
|
|
927
|
+
WithCertificate(certificate: X509Certificate2): ConfidentialClientApplicationBuilder;
|
|
928
|
+
WithCertificate(certificate: X509Certificate2, sendX5C: boolean): ConfidentialClientApplicationBuilder;
|
|
929
|
+
WithClientAssertion(signedClientAssertion: string): ConfidentialClientApplicationBuilder;
|
|
930
|
+
WithClientAssertion(clientAssertionDelegate: Func<System_Internal.String>): ConfidentialClientApplicationBuilder;
|
|
931
|
+
WithClientAssertion(clientAssertionAsyncDelegate: Func<CancellationToken, Task<System_Internal.String>>): ConfidentialClientApplicationBuilder;
|
|
932
|
+
WithClientAssertion(clientAssertionAsyncDelegate: Func<AssertionRequestOptions, Task<System_Internal.String>>): ConfidentialClientApplicationBuilder;
|
|
933
|
+
WithClientClaims(certificate: X509Certificate2, claimsToSign: IDictionary<System_Internal.String, System_Internal.String>, mergeWithDefaultClaims: boolean): ConfidentialClientApplicationBuilder;
|
|
934
|
+
WithClientClaims(certificate: X509Certificate2, claimsToSign: IDictionary<System_Internal.String, System_Internal.String>, mergeWithDefaultClaims?: boolean, sendX5C?: boolean): ConfidentialClientApplicationBuilder;
|
|
935
|
+
WithClientSecret(clientSecret: string): ConfidentialClientApplicationBuilder;
|
|
936
|
+
WithGenericAuthority(authorityUri: string): ConfidentialClientApplicationBuilder;
|
|
937
|
+
WithOidcAuthority(authorityUri: string): ConfidentialClientApplicationBuilder;
|
|
938
|
+
WithTelemetryClient(...telemetryClients: ITelemetryClient[]): ConfidentialClientApplicationBuilder;
|
|
884
939
|
}
|
|
885
940
|
|
|
886
941
|
|
|
887
942
|
export const ConfidentialClientApplicationBuilder: {
|
|
888
943
|
new(): ConfidentialClientApplicationBuilder;
|
|
889
|
-
|
|
890
|
-
|
|
944
|
+
Create(clientId: string): ConfidentialClientApplicationBuilder;
|
|
945
|
+
CreateWithApplicationOptions(options: ConfidentialClientApplicationOptions): ConfidentialClientApplicationBuilder;
|
|
891
946
|
};
|
|
892
947
|
|
|
893
948
|
|
|
894
949
|
export type ConfidentialClientApplicationBuilder = ConfidentialClientApplicationBuilder$instance;
|
|
895
950
|
|
|
896
951
|
export interface ConfidentialClientApplicationOptions$instance extends ApplicationOptions {
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
952
|
+
AzureRegion: string;
|
|
953
|
+
ClientSecret: string;
|
|
954
|
+
EnableCacheSynchronization: boolean;
|
|
900
955
|
}
|
|
901
956
|
|
|
902
957
|
|
|
@@ -908,14 +963,14 @@ export const ConfidentialClientApplicationOptions: {
|
|
|
908
963
|
export type ConfidentialClientApplicationOptions = ConfidentialClientApplicationOptions$instance;
|
|
909
964
|
|
|
910
965
|
export interface DeviceCodeResult$instance {
|
|
911
|
-
readonly
|
|
912
|
-
readonly
|
|
913
|
-
readonly
|
|
914
|
-
readonly
|
|
915
|
-
readonly
|
|
916
|
-
readonly
|
|
917
|
-
readonly
|
|
918
|
-
readonly
|
|
966
|
+
readonly ClientId: string;
|
|
967
|
+
readonly DeviceCode: string;
|
|
968
|
+
readonly ExpiresOn: DateTimeOffset;
|
|
969
|
+
readonly Interval: long;
|
|
970
|
+
readonly Message: string | undefined;
|
|
971
|
+
readonly Scopes: IReadOnlyCollection<System_Internal.String>;
|
|
972
|
+
readonly UserCode: string;
|
|
973
|
+
readonly VerificationUrl: string;
|
|
919
974
|
}
|
|
920
975
|
|
|
921
976
|
|
|
@@ -927,8 +982,8 @@ export const DeviceCodeResult: {
|
|
|
927
982
|
export type DeviceCodeResult = DeviceCodeResult$instance;
|
|
928
983
|
|
|
929
984
|
export interface EmbeddedWebViewOptions$instance {
|
|
930
|
-
|
|
931
|
-
|
|
985
|
+
Title: string;
|
|
986
|
+
WebView2BrowserExecutableFolder: string;
|
|
932
987
|
}
|
|
933
988
|
|
|
934
989
|
|
|
@@ -940,17 +995,17 @@ export const EmbeddedWebViewOptions: {
|
|
|
940
995
|
export type EmbeddedWebViewOptions = EmbeddedWebViewOptions$instance;
|
|
941
996
|
|
|
942
997
|
export interface GetAuthorizationRequestUrlParameterBuilder$instance extends AbstractConfidentialClientAcquireTokenParameterBuilder_1<GetAuthorizationRequestUrlParameterBuilder> {
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
998
|
+
ExecuteAsync(cancellationToken: CancellationToken): Task<Uri>;
|
|
999
|
+
ExecuteAsync(): Task<Uri>;
|
|
1000
|
+
ExecuteAsync(cancellationToken: CancellationToken): Task<AuthenticationResult>;
|
|
1001
|
+
ExecuteAsync(): Task<AuthenticationResult>;
|
|
1002
|
+
WithAccount(account: IAccount): GetAuthorizationRequestUrlParameterBuilder;
|
|
1003
|
+
WithCcsRoutingHint(userObjectIdentifier: string, tenantIdentifier: string): GetAuthorizationRequestUrlParameterBuilder;
|
|
1004
|
+
WithExtraScopesToConsent(extraScopesToConsent: IEnumerable<System_Internal.String>): GetAuthorizationRequestUrlParameterBuilder;
|
|
1005
|
+
WithLoginHint(loginHint: string): GetAuthorizationRequestUrlParameterBuilder;
|
|
1006
|
+
WithPkce(codeVerifier: string): GetAuthorizationRequestUrlParameterBuilder;
|
|
1007
|
+
WithPrompt(prompt: Prompt): GetAuthorizationRequestUrlParameterBuilder;
|
|
1008
|
+
WithRedirectUri(redirectUri: string): GetAuthorizationRequestUrlParameterBuilder;
|
|
954
1009
|
}
|
|
955
1010
|
|
|
956
1011
|
|
|
@@ -962,10 +1017,10 @@ export const GetAuthorizationRequestUrlParameterBuilder: {
|
|
|
962
1017
|
export type GetAuthorizationRequestUrlParameterBuilder = GetAuthorizationRequestUrlParameterBuilder$instance;
|
|
963
1018
|
|
|
964
1019
|
export interface IntuneAppProtectionPolicyRequiredException$instance extends MsalServiceException {
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
1020
|
+
AccountUserId: string;
|
|
1021
|
+
AuthorityUrl: string;
|
|
1022
|
+
TenantId: string;
|
|
1023
|
+
Upn: string;
|
|
969
1024
|
}
|
|
970
1025
|
|
|
971
1026
|
|
|
@@ -977,13 +1032,13 @@ export const IntuneAppProtectionPolicyRequiredException: {
|
|
|
977
1032
|
export type IntuneAppProtectionPolicyRequiredException = IntuneAppProtectionPolicyRequiredException$instance;
|
|
978
1033
|
|
|
979
1034
|
export interface ManagedIdentityApplication$instance extends ApplicationBase, IApplicationBase {
|
|
980
|
-
|
|
1035
|
+
AcquireTokenForManagedIdentity(resource: string): AcquireTokenForManagedIdentityParameterBuilder;
|
|
981
1036
|
}
|
|
982
1037
|
|
|
983
1038
|
|
|
984
1039
|
export const ManagedIdentityApplication: {
|
|
985
1040
|
new(): ManagedIdentityApplication;
|
|
986
|
-
|
|
1041
|
+
GetManagedIdentitySource(): ManagedIdentitySource;
|
|
987
1042
|
};
|
|
988
1043
|
|
|
989
1044
|
|
|
@@ -997,15 +1052,15 @@ export type ManagedIdentityApplication = ManagedIdentityApplication$instance & _
|
|
|
997
1052
|
|
|
998
1053
|
|
|
999
1054
|
export interface ManagedIdentityApplicationBuilder$instance extends BaseAbstractApplicationBuilder_1<ManagedIdentityApplicationBuilder> {
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1055
|
+
Build(): IManagedIdentityApplication;
|
|
1056
|
+
WithClientCapabilities(clientCapabilities: IEnumerable<System_Internal.String>): ManagedIdentityApplicationBuilder;
|
|
1057
|
+
WithTelemetryClient(...telemetryClients: ITelemetryClient[]): ManagedIdentityApplicationBuilder;
|
|
1003
1058
|
}
|
|
1004
1059
|
|
|
1005
1060
|
|
|
1006
1061
|
export const ManagedIdentityApplicationBuilder: {
|
|
1007
1062
|
new(): ManagedIdentityApplicationBuilder;
|
|
1008
|
-
|
|
1063
|
+
Create(managedIdentityId: ManagedIdentityId): ManagedIdentityApplicationBuilder;
|
|
1009
1064
|
};
|
|
1010
1065
|
|
|
1011
1066
|
|
|
@@ -1017,10 +1072,10 @@ export interface Metrics$instance {
|
|
|
1017
1072
|
|
|
1018
1073
|
export const Metrics: {
|
|
1019
1074
|
new(): Metrics;
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1075
|
+
TotalAccessTokensFromIdP: long;
|
|
1076
|
+
TotalAccessTokensFromCache: long;
|
|
1077
|
+
TotalAccessTokensFromBroker: long;
|
|
1078
|
+
TotalDurationInMs: long;
|
|
1024
1079
|
};
|
|
1025
1080
|
|
|
1026
1081
|
|
|
@@ -1053,12 +1108,13 @@ export const MsalClientException: {
|
|
|
1053
1108
|
export type MsalClientException = MsalClientException$instance;
|
|
1054
1109
|
|
|
1055
1110
|
export interface MsalException$instance extends Exception {
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1111
|
+
AdditionalExceptionData: IReadOnlyDictionary<System_Internal.String, System_Internal.String>;
|
|
1112
|
+
CorrelationId: string;
|
|
1113
|
+
get ErrorCode(): string | undefined;
|
|
1114
|
+
set ErrorCode(value: string);
|
|
1115
|
+
IsRetryable: boolean;
|
|
1116
|
+
ToJsonString(): string;
|
|
1117
|
+
ToString(): string;
|
|
1062
1118
|
}
|
|
1063
1119
|
|
|
1064
1120
|
|
|
@@ -1067,20 +1123,25 @@ export const MsalException: {
|
|
|
1067
1123
|
new(errorCode: string): MsalException;
|
|
1068
1124
|
new(errorCode: string, errorMessage: string): MsalException;
|
|
1069
1125
|
new(errorCode: string, errorMessage: string, innerException: Exception): MsalException;
|
|
1070
|
-
readonly
|
|
1071
|
-
readonly
|
|
1072
|
-
readonly
|
|
1073
|
-
readonly
|
|
1074
|
-
readonly
|
|
1075
|
-
readonly
|
|
1076
|
-
|
|
1126
|
+
readonly BrokerErrorContext: string;
|
|
1127
|
+
readonly BrokerErrorTag: string;
|
|
1128
|
+
readonly BrokerErrorStatus: string;
|
|
1129
|
+
readonly BrokerErrorCode: string;
|
|
1130
|
+
readonly BrokerTelemetry: string;
|
|
1131
|
+
readonly ManagedIdentitySource: string;
|
|
1132
|
+
FromJsonString(json: string): MsalException;
|
|
1077
1133
|
};
|
|
1078
1134
|
|
|
1079
1135
|
|
|
1080
1136
|
export type MsalException = MsalException$instance;
|
|
1081
1137
|
|
|
1082
|
-
export
|
|
1083
|
-
|
|
1138
|
+
export abstract class MsalManagedIdentityException$protected {
|
|
1139
|
+
protected UpdateIsRetryable(): void;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
|
|
1143
|
+
export interface MsalManagedIdentityException$instance extends MsalManagedIdentityException$protected, MsalServiceException {
|
|
1144
|
+
readonly ManagedIdentitySource: ManagedIdentitySource;
|
|
1084
1145
|
}
|
|
1085
1146
|
|
|
1086
1147
|
|
|
@@ -1094,12 +1155,17 @@ export const MsalManagedIdentityException: {
|
|
|
1094
1155
|
|
|
1095
1156
|
export type MsalManagedIdentityException = MsalManagedIdentityException$instance;
|
|
1096
1157
|
|
|
1097
|
-
export
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1158
|
+
export abstract class MsalServiceException$protected {
|
|
1159
|
+
protected UpdateIsRetryable(): void;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
export interface MsalServiceException$instance extends MsalServiceException$protected, MsalException {
|
|
1164
|
+
Claims: string;
|
|
1165
|
+
Headers: HttpResponseHeaders;
|
|
1166
|
+
ResponseBody: string;
|
|
1167
|
+
StatusCode: int;
|
|
1168
|
+
ToString(): string;
|
|
1103
1169
|
}
|
|
1104
1170
|
|
|
1105
1171
|
|
|
@@ -1115,7 +1181,7 @@ export const MsalServiceException: {
|
|
|
1115
1181
|
export type MsalServiceException = MsalServiceException$instance;
|
|
1116
1182
|
|
|
1117
1183
|
export interface MsalThrottledServiceException$instance extends MsalServiceException {
|
|
1118
|
-
readonly
|
|
1184
|
+
readonly OriginalServiceException: MsalServiceException;
|
|
1119
1185
|
}
|
|
1120
1186
|
|
|
1121
1187
|
|
|
@@ -1127,7 +1193,7 @@ export const MsalThrottledServiceException: {
|
|
|
1127
1193
|
export type MsalThrottledServiceException = MsalThrottledServiceException$instance;
|
|
1128
1194
|
|
|
1129
1195
|
export interface MsalThrottledUiRequiredException$instance extends MsalUiRequiredException {
|
|
1130
|
-
readonly
|
|
1196
|
+
readonly OriginalServiceException: MsalUiRequiredException;
|
|
1131
1197
|
}
|
|
1132
1198
|
|
|
1133
1199
|
|
|
@@ -1139,7 +1205,7 @@ export const MsalThrottledUiRequiredException: {
|
|
|
1139
1205
|
export type MsalThrottledUiRequiredException = MsalThrottledUiRequiredException$instance;
|
|
1140
1206
|
|
|
1141
1207
|
export interface MsalUiRequiredException$instance extends MsalServiceException {
|
|
1142
|
-
readonly
|
|
1208
|
+
readonly Classification: UiRequiredExceptionClassification;
|
|
1143
1209
|
}
|
|
1144
1210
|
|
|
1145
1211
|
|
|
@@ -1153,32 +1219,32 @@ export const MsalUiRequiredException: {
|
|
|
1153
1219
|
export type MsalUiRequiredException = MsalUiRequiredException$instance;
|
|
1154
1220
|
|
|
1155
1221
|
export interface PublicClientApplication$instance extends ClientApplicationBase$instance, IApplicationBase {
|
|
1156
|
-
readonly
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1222
|
+
readonly IsSystemWebViewAvailable: boolean;
|
|
1223
|
+
AcquireTokenByIntegratedWindowsAuth(scopes: IEnumerable<System_Internal.String>): AcquireTokenByIntegratedWindowsAuthParameterBuilder;
|
|
1224
|
+
AcquireTokenByUsernamePassword(scopes: IEnumerable<System_Internal.String>, username: string, password: SecureString): AcquireTokenByUsernamePasswordParameterBuilder;
|
|
1225
|
+
AcquireTokenByUsernamePassword(scopes: IEnumerable<System_Internal.String>, username: string, password: string): AcquireTokenByUsernamePasswordParameterBuilder;
|
|
1226
|
+
AcquireTokenInteractive(scopes: IEnumerable<System_Internal.String>): AcquireTokenInteractiveParameterBuilder;
|
|
1227
|
+
AcquireTokenSilent(scopes: IEnumerable<System_Internal.String>, account: IAccount): AcquireTokenSilentParameterBuilder;
|
|
1228
|
+
AcquireTokenSilent(scopes: IEnumerable<System_Internal.String>, loginHint: string): AcquireTokenSilentParameterBuilder;
|
|
1229
|
+
AcquireTokenWithDeviceCode(scopes: IEnumerable<System_Internal.String>, deviceCodeResultCallback: Func<DeviceCodeResult, Task>): AcquireTokenWithDeviceCodeParameterBuilder;
|
|
1230
|
+
GetAccountAsync(accountId: string, cancellationToken?: CancellationToken): Task<IAccount>;
|
|
1231
|
+
GetAccountAsync(accountId: string): Task<IAccount>;
|
|
1232
|
+
GetAccountsAsync(): Task<IEnumerable<IAccount>>;
|
|
1233
|
+
GetAccountsAsync(cancellationToken?: CancellationToken): Task<IEnumerable<IAccount>>;
|
|
1234
|
+
GetAccountsAsync(userFlow: string): Task<IEnumerable<IAccount>>;
|
|
1235
|
+
GetAccountsAsync(userFlow: string, cancellationToken?: CancellationToken): Task<IEnumerable<IAccount>>;
|
|
1236
|
+
IsBrokerAvailable(): boolean;
|
|
1237
|
+
IsEmbeddedWebViewAvailable(): boolean;
|
|
1238
|
+
IsProofOfPossessionSupportedByClient(): boolean;
|
|
1239
|
+
IsUserInteractive(): boolean;
|
|
1240
|
+
RemoveAsync(account: IAccount): Task;
|
|
1241
|
+
RemoveAsync(account: IAccount, cancellationToken?: CancellationToken): Task;
|
|
1176
1242
|
}
|
|
1177
1243
|
|
|
1178
1244
|
|
|
1179
1245
|
export const PublicClientApplication: {
|
|
1180
1246
|
new(): PublicClientApplication;
|
|
1181
|
-
readonly
|
|
1247
|
+
readonly OperatingSystemAccount: IAccount;
|
|
1182
1248
|
};
|
|
1183
1249
|
|
|
1184
1250
|
|
|
@@ -1194,24 +1260,24 @@ export type PublicClientApplication = PublicClientApplication$instance & __Publi
|
|
|
1194
1260
|
|
|
1195
1261
|
|
|
1196
1262
|
export interface PublicClientApplicationBuilder$instance extends AbstractApplicationBuilder_1<PublicClientApplicationBuilder> {
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1263
|
+
Build(): IPublicClientApplication;
|
|
1264
|
+
IsBrokerAvailable(): boolean;
|
|
1265
|
+
WithBroker(enableBroker?: boolean): PublicClientApplicationBuilder;
|
|
1266
|
+
WithDefaultRedirectUri(): PublicClientApplicationBuilder;
|
|
1267
|
+
WithIosKeychainSecurityGroup(keychainSecurityGroup: string): PublicClientApplicationBuilder;
|
|
1268
|
+
WithKerberosTicketClaim(servicePrincipalName: string, ticketContainer: KerberosTicketContainer): PublicClientApplicationBuilder;
|
|
1269
|
+
WithMultiCloudSupport(enableMultiCloudSupport: boolean): PublicClientApplicationBuilder;
|
|
1270
|
+
WithOidcAuthority(authorityUri: string): PublicClientApplicationBuilder;
|
|
1271
|
+
WithParentActivityOrWindow(parentActivityOrWindowFunc: Func<unknown>): PublicClientApplicationBuilder;
|
|
1272
|
+
WithParentActivityOrWindow(windowFunc: Func<System_Internal.IntPtr>): PublicClientApplicationBuilder;
|
|
1273
|
+
WithWindowsBrokerOptions(options: WindowsBrokerOptions): PublicClientApplicationBuilder;
|
|
1208
1274
|
}
|
|
1209
1275
|
|
|
1210
1276
|
|
|
1211
1277
|
export const PublicClientApplicationBuilder: {
|
|
1212
1278
|
new(): PublicClientApplicationBuilder;
|
|
1213
|
-
|
|
1214
|
-
|
|
1279
|
+
Create(clientId: string): PublicClientApplicationBuilder;
|
|
1280
|
+
CreateWithApplicationOptions(options: PublicClientApplicationOptions): PublicClientApplicationBuilder;
|
|
1215
1281
|
};
|
|
1216
1282
|
|
|
1217
1283
|
|
|
@@ -1229,9 +1295,9 @@ export const PublicClientApplicationOptions: {
|
|
|
1229
1295
|
export type PublicClientApplicationOptions = PublicClientApplicationOptions$instance;
|
|
1230
1296
|
|
|
1231
1297
|
export interface RegionDetails$instance {
|
|
1232
|
-
readonly
|
|
1233
|
-
readonly
|
|
1234
|
-
readonly
|
|
1298
|
+
readonly AutoDetectionError: string;
|
|
1299
|
+
readonly RegionOutcome: RegionOutcome;
|
|
1300
|
+
readonly RegionUsed: string;
|
|
1235
1301
|
}
|
|
1236
1302
|
|
|
1237
1303
|
|
|
@@ -1243,29 +1309,29 @@ export const RegionDetails: {
|
|
|
1243
1309
|
export type RegionDetails = RegionDetails$instance;
|
|
1244
1310
|
|
|
1245
1311
|
export interface SystemWebViewOptions$instance {
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1312
|
+
BrowserRedirectError: Uri;
|
|
1313
|
+
BrowserRedirectSuccess: Uri;
|
|
1314
|
+
HtmlMessageError: string;
|
|
1315
|
+
HtmlMessageSuccess: string;
|
|
1250
1316
|
iOSHidePrivacyPrompt: boolean;
|
|
1251
|
-
|
|
1317
|
+
OpenBrowserAsync: Func<Uri, Task>;
|
|
1252
1318
|
}
|
|
1253
1319
|
|
|
1254
1320
|
|
|
1255
1321
|
export const SystemWebViewOptions: {
|
|
1256
1322
|
new(): SystemWebViewOptions;
|
|
1257
|
-
|
|
1258
|
-
|
|
1323
|
+
OpenWithChromeEdgeBrowserAsync(uri: Uri): Task;
|
|
1324
|
+
OpenWithEdgeBrowserAsync(uri: Uri): Task;
|
|
1259
1325
|
};
|
|
1260
1326
|
|
|
1261
1327
|
|
|
1262
1328
|
export type SystemWebViewOptions = SystemWebViewOptions$instance;
|
|
1263
1329
|
|
|
1264
1330
|
export interface TenantProfile$instance {
|
|
1265
|
-
readonly
|
|
1266
|
-
readonly
|
|
1267
|
-
readonly
|
|
1268
|
-
readonly
|
|
1331
|
+
readonly ClaimsPrincipal: ClaimsPrincipal;
|
|
1332
|
+
readonly IsHomeTenant: boolean;
|
|
1333
|
+
readonly Oid: string;
|
|
1334
|
+
readonly TenantId: string;
|
|
1269
1335
|
}
|
|
1270
1336
|
|
|
1271
1337
|
|
|
@@ -1277,13 +1343,13 @@ export const TenantProfile: {
|
|
|
1277
1343
|
export type TenantProfile = TenantProfile$instance;
|
|
1278
1344
|
|
|
1279
1345
|
export interface TokenCache$instance {
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1346
|
+
SetAfterAccess(afterAccess: TokenCacheCallback): void;
|
|
1347
|
+
SetAfterAccessAsync(afterAccess: Func<TokenCacheNotificationArgs, Task>): void;
|
|
1348
|
+
SetBeforeAccess(beforeAccess: TokenCacheCallback): void;
|
|
1349
|
+
SetBeforeAccessAsync(beforeAccess: Func<TokenCacheNotificationArgs, Task>): void;
|
|
1350
|
+
SetBeforeWrite(beforeWrite: TokenCacheCallback): void;
|
|
1351
|
+
SetBeforeWriteAsync(beforeWrite: Func<TokenCacheNotificationArgs, Task>): void;
|
|
1352
|
+
SetIosKeychainSecurityGroup(securityGroup: string): void;
|
|
1287
1353
|
}
|
|
1288
1354
|
|
|
1289
1355
|
|
|
@@ -1303,22 +1369,22 @@ export type TokenCache = TokenCache$instance & __TokenCache$views;
|
|
|
1303
1369
|
|
|
1304
1370
|
|
|
1305
1371
|
export interface TokenCacheNotificationArgs$instance {
|
|
1306
|
-
readonly
|
|
1307
|
-
readonly
|
|
1308
|
-
readonly
|
|
1309
|
-
readonly
|
|
1310
|
-
|
|
1311
|
-
readonly
|
|
1312
|
-
readonly
|
|
1313
|
-
readonly
|
|
1314
|
-
readonly
|
|
1315
|
-
readonly
|
|
1316
|
-
readonly
|
|
1317
|
-
readonly
|
|
1318
|
-
readonly
|
|
1319
|
-
readonly
|
|
1320
|
-
readonly
|
|
1321
|
-
readonly
|
|
1372
|
+
readonly Account: IAccount;
|
|
1373
|
+
readonly CancellationToken: CancellationToken;
|
|
1374
|
+
readonly ClientId: string;
|
|
1375
|
+
readonly CorrelationId: Guid;
|
|
1376
|
+
HasStateChanged: boolean;
|
|
1377
|
+
readonly HasTokens: boolean;
|
|
1378
|
+
readonly IdentityLogger: IIdentityLogger;
|
|
1379
|
+
readonly IsApplicationCache: boolean;
|
|
1380
|
+
readonly NoDistributedCacheUseReason: string;
|
|
1381
|
+
readonly PiiLoggingEnabled: boolean;
|
|
1382
|
+
readonly RequestScopes: IEnumerable<System_Internal.String>;
|
|
1383
|
+
readonly RequestTenantId: string;
|
|
1384
|
+
readonly SuggestedCacheExpiry: Nullable<DateTimeOffset>;
|
|
1385
|
+
readonly SuggestedCacheKey: string;
|
|
1386
|
+
readonly TelemetryData: TelemetryData;
|
|
1387
|
+
readonly TokenCache: ITokenCacheSerializer;
|
|
1322
1388
|
}
|
|
1323
1389
|
|
|
1324
1390
|
|
|
@@ -1333,10 +1399,10 @@ export const TokenCacheNotificationArgs: {
|
|
|
1333
1399
|
export type TokenCacheNotificationArgs = TokenCacheNotificationArgs$instance;
|
|
1334
1400
|
|
|
1335
1401
|
export interface TraceTelemetryConfig$instance {
|
|
1336
|
-
readonly
|
|
1337
|
-
readonly
|
|
1338
|
-
readonly
|
|
1339
|
-
readonly
|
|
1402
|
+
readonly AllowedScopes: IEnumerable<System_Internal.String>;
|
|
1403
|
+
readonly AudienceType: TelemetryAudienceType;
|
|
1404
|
+
readonly DispatchAction: Action<ITelemetryEventPayload>;
|
|
1405
|
+
readonly SessionId: string;
|
|
1340
1406
|
}
|
|
1341
1407
|
|
|
1342
1408
|
|
|
@@ -1355,8 +1421,8 @@ export type TraceTelemetryConfig = TraceTelemetryConfig$instance & __TraceTeleme
|
|
|
1355
1421
|
|
|
1356
1422
|
|
|
1357
1423
|
export interface UserAssertion$instance {
|
|
1358
|
-
|
|
1359
|
-
|
|
1424
|
+
Assertion: string;
|
|
1425
|
+
AssertionType: string;
|
|
1360
1426
|
}
|
|
1361
1427
|
|
|
1362
1428
|
|
|
@@ -1369,9 +1435,9 @@ export const UserAssertion: {
|
|
|
1369
1435
|
export type UserAssertion = UserAssertion$instance;
|
|
1370
1436
|
|
|
1371
1437
|
export interface WindowsBrokerOptions$instance {
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1438
|
+
HeaderText: string;
|
|
1439
|
+
ListWindowsWorkAndSchoolAccounts: boolean;
|
|
1440
|
+
MsaPassthrough: boolean;
|
|
1375
1441
|
}
|
|
1376
1442
|
|
|
1377
1443
|
|
|
@@ -1383,221 +1449,221 @@ export const WindowsBrokerOptions: {
|
|
|
1383
1449
|
export type WindowsBrokerOptions = WindowsBrokerOptions$instance;
|
|
1384
1450
|
|
|
1385
1451
|
export interface WwwAuthenticateParameters$instance {
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
readonly
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1452
|
+
AuthenticationScheme: string;
|
|
1453
|
+
Authority: string;
|
|
1454
|
+
Claims: string;
|
|
1455
|
+
Error: string;
|
|
1456
|
+
readonly Item: string;
|
|
1457
|
+
Nonce: string;
|
|
1458
|
+
Resource: string;
|
|
1459
|
+
Scopes: IEnumerable<System_Internal.String>;
|
|
1460
|
+
GetTenantId(): string;
|
|
1395
1461
|
}
|
|
1396
1462
|
|
|
1397
1463
|
|
|
1398
1464
|
export const WwwAuthenticateParameters: {
|
|
1399
1465
|
new(): WwwAuthenticateParameters;
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1466
|
+
CreateFromAuthenticationHeaders(httpResponseHeaders: HttpResponseHeaders, scheme: string): WwwAuthenticateParameters;
|
|
1467
|
+
CreateFromAuthenticationHeaders(httpResponseHeaders: HttpResponseHeaders): IReadOnlyList<WwwAuthenticateParameters>;
|
|
1468
|
+
CreateFromAuthenticationResponseAsync(resourceUri: string, httpClient: HttpClient, cancellationToken?: CancellationToken): Task<IReadOnlyList<WwwAuthenticateParameters>>;
|
|
1469
|
+
CreateFromAuthenticationResponseAsync(resourceUri: string, scheme: string, httpClient: HttpClient, cancellationToken?: CancellationToken): Task<WwwAuthenticateParameters>;
|
|
1470
|
+
CreateFromAuthenticationResponseAsync(resourceUri: string, scheme: string, cancellationToken?: CancellationToken): Task<WwwAuthenticateParameters>;
|
|
1471
|
+
CreateFromAuthenticationResponseAsync(resourceUri: string, cancellationToken?: CancellationToken): Task<IReadOnlyList<WwwAuthenticateParameters>>;
|
|
1472
|
+
CreateFromResourceResponseAsync(httpClient: HttpClient, resourceUri: string, cancellationToken?: CancellationToken): Task<WwwAuthenticateParameters>;
|
|
1473
|
+
CreateFromResourceResponseAsync(resourceUri: string, cancellationToken?: CancellationToken): Task<WwwAuthenticateParameters>;
|
|
1474
|
+
CreateFromResourceResponseAsync(resourceUri: string): Task<WwwAuthenticateParameters>;
|
|
1475
|
+
CreateFromResponseHeaders(httpResponseHeaders: HttpResponseHeaders, scheme?: string): WwwAuthenticateParameters;
|
|
1476
|
+
CreateFromWwwAuthenticateHeaderValue(wwwAuthenticateValue: string): WwwAuthenticateParameters;
|
|
1477
|
+
GetClaimChallengeFromResponseHeaders(httpResponseHeaders: HttpResponseHeaders, scheme?: string): string;
|
|
1412
1478
|
};
|
|
1413
1479
|
|
|
1414
1480
|
|
|
1415
1481
|
export type WwwAuthenticateParameters = WwwAuthenticateParameters$instance;
|
|
1416
1482
|
|
|
1417
1483
|
export abstract class AccountExtensions$instance {
|
|
1418
|
-
static
|
|
1484
|
+
static GetTenantProfiles(account: IAccount): IEnumerable<TenantProfile>;
|
|
1419
1485
|
}
|
|
1420
1486
|
|
|
1421
1487
|
|
|
1422
1488
|
export type AccountExtensions = AccountExtensions$instance;
|
|
1423
1489
|
|
|
1424
1490
|
export abstract class MsalError$instance {
|
|
1425
|
-
static readonly
|
|
1426
|
-
static readonly
|
|
1427
|
-
static readonly
|
|
1428
|
-
static readonly
|
|
1429
|
-
static readonly
|
|
1430
|
-
static readonly
|
|
1431
|
-
static readonly
|
|
1432
|
-
static readonly
|
|
1433
|
-
static readonly
|
|
1434
|
-
static readonly
|
|
1435
|
-
static readonly
|
|
1436
|
-
static readonly
|
|
1437
|
-
static readonly
|
|
1438
|
-
static readonly
|
|
1439
|
-
static readonly
|
|
1440
|
-
static readonly
|
|
1441
|
-
static readonly
|
|
1442
|
-
static readonly
|
|
1443
|
-
static readonly
|
|
1444
|
-
static readonly
|
|
1445
|
-
static readonly
|
|
1446
|
-
static readonly
|
|
1447
|
-
static readonly
|
|
1448
|
-
static readonly
|
|
1449
|
-
static readonly
|
|
1450
|
-
static readonly
|
|
1451
|
-
static readonly
|
|
1452
|
-
static readonly
|
|
1453
|
-
static readonly
|
|
1454
|
-
static readonly
|
|
1455
|
-
static readonly
|
|
1456
|
-
static readonly
|
|
1457
|
-
static readonly
|
|
1458
|
-
static readonly
|
|
1459
|
-
static readonly
|
|
1460
|
-
static readonly
|
|
1461
|
-
static readonly
|
|
1462
|
-
static readonly
|
|
1463
|
-
static readonly
|
|
1464
|
-
static readonly
|
|
1465
|
-
static readonly
|
|
1466
|
-
static readonly
|
|
1467
|
-
static readonly
|
|
1468
|
-
static readonly
|
|
1469
|
-
static readonly
|
|
1470
|
-
static readonly
|
|
1471
|
-
static readonly
|
|
1472
|
-
static readonly
|
|
1473
|
-
static readonly
|
|
1474
|
-
static readonly
|
|
1475
|
-
static readonly
|
|
1476
|
-
static readonly
|
|
1477
|
-
static readonly
|
|
1478
|
-
static readonly
|
|
1479
|
-
static readonly
|
|
1480
|
-
static readonly
|
|
1481
|
-
static readonly
|
|
1482
|
-
static readonly
|
|
1483
|
-
static readonly
|
|
1484
|
-
static readonly
|
|
1485
|
-
static readonly
|
|
1486
|
-
static readonly
|
|
1487
|
-
static readonly
|
|
1488
|
-
static readonly
|
|
1489
|
-
static readonly
|
|
1490
|
-
static readonly
|
|
1491
|
-
static readonly
|
|
1492
|
-
static readonly
|
|
1493
|
-
static readonly
|
|
1494
|
-
static readonly
|
|
1495
|
-
static readonly
|
|
1496
|
-
static readonly
|
|
1497
|
-
static readonly
|
|
1498
|
-
static readonly
|
|
1499
|
-
static readonly
|
|
1500
|
-
static readonly
|
|
1501
|
-
static readonly
|
|
1502
|
-
static readonly
|
|
1503
|
-
static readonly
|
|
1504
|
-
static readonly
|
|
1505
|
-
static readonly
|
|
1506
|
-
static readonly
|
|
1507
|
-
static readonly
|
|
1508
|
-
static readonly
|
|
1509
|
-
static readonly
|
|
1510
|
-
static readonly
|
|
1511
|
-
static readonly
|
|
1512
|
-
static readonly
|
|
1513
|
-
static readonly
|
|
1514
|
-
static readonly
|
|
1515
|
-
static readonly
|
|
1516
|
-
static readonly
|
|
1517
|
-
static readonly
|
|
1518
|
-
static readonly
|
|
1519
|
-
static readonly
|
|
1520
|
-
static readonly
|
|
1521
|
-
static readonly
|
|
1522
|
-
static readonly
|
|
1523
|
-
static readonly
|
|
1524
|
-
static readonly
|
|
1525
|
-
static readonly
|
|
1526
|
-
static readonly
|
|
1527
|
-
static readonly
|
|
1528
|
-
static readonly
|
|
1529
|
-
static readonly
|
|
1530
|
-
static readonly
|
|
1531
|
-
static readonly
|
|
1532
|
-
static readonly
|
|
1533
|
-
static readonly
|
|
1534
|
-
static readonly
|
|
1535
|
-
static readonly
|
|
1536
|
-
static readonly
|
|
1537
|
-
static readonly
|
|
1538
|
-
static readonly
|
|
1539
|
-
static readonly
|
|
1540
|
-
static readonly
|
|
1541
|
-
static readonly
|
|
1542
|
-
static readonly
|
|
1543
|
-
static readonly
|
|
1544
|
-
static readonly
|
|
1545
|
-
static readonly
|
|
1546
|
-
static readonly
|
|
1547
|
-
static readonly
|
|
1548
|
-
static readonly
|
|
1549
|
-
static readonly
|
|
1550
|
-
static readonly
|
|
1551
|
-
static readonly
|
|
1552
|
-
static readonly
|
|
1553
|
-
static readonly
|
|
1554
|
-
static readonly
|
|
1555
|
-
static readonly
|
|
1556
|
-
static readonly
|
|
1557
|
-
static readonly
|
|
1558
|
-
static readonly
|
|
1559
|
-
static readonly
|
|
1560
|
-
static readonly
|
|
1561
|
-
static readonly
|
|
1562
|
-
static readonly
|
|
1563
|
-
static readonly
|
|
1564
|
-
static readonly
|
|
1565
|
-
static readonly
|
|
1566
|
-
static readonly
|
|
1567
|
-
static readonly
|
|
1568
|
-
static readonly
|
|
1569
|
-
static readonly
|
|
1570
|
-
static readonly
|
|
1571
|
-
static readonly
|
|
1572
|
-
static readonly
|
|
1573
|
-
static readonly
|
|
1574
|
-
static readonly
|
|
1575
|
-
static readonly
|
|
1576
|
-
static readonly
|
|
1491
|
+
static readonly InvalidGrantError: string;
|
|
1492
|
+
static readonly InteractionRequired: string;
|
|
1493
|
+
static readonly NoTokensFoundError: string;
|
|
1494
|
+
static readonly UserNullError: string;
|
|
1495
|
+
static readonly UserAssertionNullError: string;
|
|
1496
|
+
static readonly CurrentBrokerAccount: string;
|
|
1497
|
+
static readonly NoAccountForLoginHint: string;
|
|
1498
|
+
static readonly MultipleAccountsForLoginHint: string;
|
|
1499
|
+
static readonly TokenCacheNullError: string;
|
|
1500
|
+
static readonly NoPromptFailedError: string;
|
|
1501
|
+
static readonly ServiceNotAvailable: string;
|
|
1502
|
+
static readonly RequestTimeout: string;
|
|
1503
|
+
static readonly RequestThrottled: string;
|
|
1504
|
+
static readonly UpnRequired: string;
|
|
1505
|
+
static readonly MissingPassiveAuthEndpoint: string;
|
|
1506
|
+
static readonly InvalidAuthority: string;
|
|
1507
|
+
static readonly InvalidAuthorityType: string;
|
|
1508
|
+
static readonly MissingTenantedAuthority: string;
|
|
1509
|
+
static readonly UnauthorizedClient: string;
|
|
1510
|
+
static readonly UnknownError: string;
|
|
1511
|
+
static readonly UnknownBrokerError: string;
|
|
1512
|
+
static readonly WamFailedToSignout: string;
|
|
1513
|
+
static readonly AuthenticationFailed: string;
|
|
1514
|
+
static readonly AuthorityValidationFailed: string;
|
|
1515
|
+
static readonly InvalidOwnerWindowType: string;
|
|
1516
|
+
static readonly EncodedTokenTooLong: string;
|
|
1517
|
+
static readonly UserMismatch: string;
|
|
1518
|
+
static readonly FailedToRefreshToken: string;
|
|
1519
|
+
static readonly FailedToAcquireTokenSilentlyFromBroker: string;
|
|
1520
|
+
static readonly RedirectUriValidationFailed: string;
|
|
1521
|
+
static readonly AuthenticationUiFailed: string;
|
|
1522
|
+
static readonly InternalError: string;
|
|
1523
|
+
static readonly AccessingWsMetadataExchangeFailed: string;
|
|
1524
|
+
static readonly FederatedServiceReturnedError: string;
|
|
1525
|
+
static readonly UserRealmDiscoveryFailed: string;
|
|
1526
|
+
static readonly RopcDoesNotSupportMsaAccounts: string;
|
|
1527
|
+
static readonly MissingFederationMetadataUrl: string;
|
|
1528
|
+
static readonly ParsingWsMetadataExchangeFailed: string;
|
|
1529
|
+
static readonly WsTrustEndpointNotFoundInMetadataDocument: string;
|
|
1530
|
+
static readonly ParsingWsTrustResponseFailed: string;
|
|
1531
|
+
static readonly IntegratedWindowsAuthenticationFailed: string;
|
|
1532
|
+
static readonly UnknownUserType: string;
|
|
1533
|
+
static readonly UnknownUser: string;
|
|
1534
|
+
static readonly GetUserNameFailed: string;
|
|
1535
|
+
static readonly PasswordRequiredForManagedUserError: string;
|
|
1536
|
+
static readonly InvalidRequest: string;
|
|
1537
|
+
static readonly UapCannotFindDomainUser: string;
|
|
1538
|
+
static readonly UapCannotFindUpn: string;
|
|
1539
|
+
static readonly NonParsableOAuthError: string;
|
|
1540
|
+
static readonly CodeExpired: string;
|
|
1541
|
+
static readonly IntegratedWindowsAuthNotSupportedForManagedUser: string;
|
|
1542
|
+
static readonly ActivityRequired: string;
|
|
1543
|
+
static readonly BrokerResponseHashMismatch: string;
|
|
1544
|
+
static readonly BrokerResponseReturnedError: string;
|
|
1545
|
+
static readonly BrokerNonceMismatch: string;
|
|
1546
|
+
static readonly CannotInvokeBroker: string;
|
|
1547
|
+
static readonly NoAndroidBrokerAccountFound: string;
|
|
1548
|
+
static readonly NoAndroidBrokerInstalledOnDevice: string;
|
|
1549
|
+
static readonly NullIntentReturnedFromAndroidBroker: string;
|
|
1550
|
+
static readonly AndroidBrokerSignatureVerificationFailed: string;
|
|
1551
|
+
static readonly AndroidBrokerOperationFailed: string;
|
|
1552
|
+
static readonly NoUsernameOrAccountIDProvidedForSilentAndroidBrokerAuthentication: string;
|
|
1553
|
+
static readonly HttpStatusNotFound: string;
|
|
1554
|
+
static readonly HttpStatusCodeNotOk: string;
|
|
1555
|
+
static readonly CustomWebUiReturnedInvalidUri: string;
|
|
1556
|
+
static readonly CustomWebUiRedirectUriMismatch: string;
|
|
1557
|
+
static readonly AccessDenied: string;
|
|
1558
|
+
static readonly CannotAccessUserInformationOrUserNotDomainJoined: string;
|
|
1559
|
+
static readonly DefaultRedirectUriIsInvalid: string;
|
|
1560
|
+
static readonly NoRedirectUri: string;
|
|
1561
|
+
static readonly MultipleTokensMatchedError: string;
|
|
1562
|
+
static readonly NonHttpsRedirectNotSupported: string;
|
|
1563
|
+
static readonly NetworkNotAvailableError: string;
|
|
1564
|
+
static readonly B2CAuthorityHostMismatch: string;
|
|
1565
|
+
static readonly AuthorityHostMismatch: string;
|
|
1566
|
+
static readonly DuplicateQueryParameterError: string;
|
|
1567
|
+
static readonly AuthenticationUiFailedError: string;
|
|
1568
|
+
static readonly AuthenticationCanceledError: string;
|
|
1569
|
+
static readonly JsonParseError: string;
|
|
1570
|
+
static readonly InvalidJwtError: string;
|
|
1571
|
+
static readonly StateMismatchError: string;
|
|
1572
|
+
static readonly TenantDiscoveryFailedError: string;
|
|
1573
|
+
static readonly PlatformNotSupported: string;
|
|
1574
|
+
static readonly InvalidAuthorizationUri: string;
|
|
1575
|
+
static readonly LoopbackRedirectUri: string;
|
|
1576
|
+
static readonly LoopbackResponseUriMismatch: string;
|
|
1577
|
+
static readonly LinuxXdgOpen: string;
|
|
1578
|
+
static readonly WebviewUnavailable: string;
|
|
1579
|
+
static readonly SystemWebviewOptionsNotApplicable: string;
|
|
1580
|
+
static readonly ClientCredentialAuthenticationTypesAreMutuallyExclusive: string;
|
|
1581
|
+
static readonly ClientCredentialAuthenticationTypeMustBeDefined: string;
|
|
1582
|
+
static readonly InvalidInstance: string;
|
|
1583
|
+
static readonly InvalidUserInstanceMetadata: string;
|
|
1584
|
+
static readonly ValidateAuthorityOrCustomMetadata: string;
|
|
1585
|
+
static readonly NoClientId: string;
|
|
1586
|
+
static readonly TelemetryConfigOrTelemetryCallback: string;
|
|
1587
|
+
static readonly InvalidClient: string;
|
|
1588
|
+
static readonly SSHCertUsedAsHttpHeader: string;
|
|
1589
|
+
static readonly WABError: string;
|
|
1590
|
+
static readonly TokenTypeMismatch: string;
|
|
1591
|
+
static readonly AccessTokenTypeMissing: string;
|
|
1592
|
+
static readonly ExperimentalFeature: string;
|
|
1593
|
+
static readonly BrokerApplicationRequired: string;
|
|
1594
|
+
static readonly FailedToGetBrokerResponse: string;
|
|
1595
|
+
static readonly InvalidJsonClaimsFormat: string;
|
|
1596
|
+
static readonly AuthorityTypeMismatch: string;
|
|
1597
|
+
static readonly AuthorityTenantSpecifiedTwice: string;
|
|
1598
|
+
static readonly CustomMetadataInstanceOrUri: string;
|
|
1599
|
+
static readonly ScopesRequired: string;
|
|
1600
|
+
static readonly CertWithoutPrivateKey: string;
|
|
1601
|
+
static readonly CertificateNotRsa: string;
|
|
1602
|
+
static readonly DeviceCertificateNotFound: string;
|
|
1603
|
+
static readonly InvalidAdalCacheMultipleRTs: string;
|
|
1604
|
+
static readonly RegionDiscoveryFailed: string;
|
|
1605
|
+
static readonly RegionDiscoveryNotEnabled: string;
|
|
1606
|
+
static readonly BrokerDoesNotSupportPop: string;
|
|
1607
|
+
static readonly BrokerRequiredForPop: string;
|
|
1608
|
+
static readonly AdfsNotSupportedWithBroker: string;
|
|
1609
|
+
static readonly NonceRequiredForPopOnPCA: string;
|
|
1610
|
+
static readonly WamUiThread: string;
|
|
1611
|
+
static readonly WamNoB2C: string;
|
|
1612
|
+
static readonly WamInteractiveError: string;
|
|
1613
|
+
static readonly WamPickerError: string;
|
|
1614
|
+
static readonly WamScopesRequired: string;
|
|
1615
|
+
static readonly WebView2NotInstalled: string;
|
|
1616
|
+
static readonly WebView2LoaderNotFound: string;
|
|
1617
|
+
static readonly RegionalAuthorityValidation: string;
|
|
1618
|
+
static readonly RegionDiscoveryWithCustomInstanceMetadata: string;
|
|
1619
|
+
static readonly HttpListenerError: string;
|
|
1620
|
+
static readonly InitializeProcessSecurityError: string;
|
|
1621
|
+
static readonly StaticCacheWithExternalSerialization: string;
|
|
1622
|
+
static readonly TenantOverrideNonAad: string;
|
|
1623
|
+
static readonly RegionalAndAuthorityOverride: string;
|
|
1624
|
+
static readonly OboCacheKeyNotInCacheError: string;
|
|
1625
|
+
static readonly InvalidTokenProviderResponseValue: string;
|
|
1626
|
+
static readonly UnableToParseAuthenticationHeader: string;
|
|
1627
|
+
static readonly InvalidManagedIdentityResponse: string;
|
|
1628
|
+
static readonly ManagedIdentityRequestFailed: string;
|
|
1629
|
+
static readonly ManagedIdentityResponseParseFailure: string;
|
|
1630
|
+
static readonly ManagedIdentityUnreachableNetwork: string;
|
|
1631
|
+
static readonly UnknownManagedIdentityError: string;
|
|
1632
|
+
static readonly InvalidManagedIdentityEndpoint: string;
|
|
1633
|
+
static readonly ExactlyOneScopeExpected: string;
|
|
1634
|
+
static readonly UserAssignedManagedIdentityNotSupported: string;
|
|
1635
|
+
static readonly UserAssignedManagedIdentityNotConfigurableAtRuntime: string;
|
|
1636
|
+
static readonly CombinedUserAppCacheNotSupported: string;
|
|
1637
|
+
static readonly SetCiamAuthorityAtRequestLevelNotSupported: string;
|
|
1638
|
+
static readonly CryptographicError: string;
|
|
1639
|
+
static readonly MtlsPopWithoutRegion: string;
|
|
1640
|
+
static readonly MtlsCertificateNotProvided: string;
|
|
1641
|
+
static readonly RegionRequiredForMtlsPop: string;
|
|
1642
|
+
static readonly ForceRefreshNotCompatibleWithTokenHash: string;
|
|
1577
1643
|
}
|
|
1578
1644
|
|
|
1579
1645
|
|
|
1580
1646
|
export type MsalError = MsalError$instance;
|
|
1581
1647
|
|
|
1582
1648
|
export abstract class OsCapabilitiesExtensions$instance {
|
|
1583
|
-
static
|
|
1584
|
-
static
|
|
1585
|
-
static
|
|
1586
|
-
static
|
|
1649
|
+
static GetCertificate(confidentialClientApplication: IConfidentialClientApplication): X509Certificate2;
|
|
1650
|
+
static IsEmbeddedWebViewAvailable(publicClientApplication: IPublicClientApplication): boolean;
|
|
1651
|
+
static IsSystemWebViewAvailable(publicClientApplication: IPublicClientApplication): boolean;
|
|
1652
|
+
static IsUserInteractive(publicClientApplication: IPublicClientApplication): boolean;
|
|
1587
1653
|
}
|
|
1588
1654
|
|
|
1589
1655
|
|
|
1590
1656
|
export type OsCapabilitiesExtensions = OsCapabilitiesExtensions$instance;
|
|
1591
1657
|
|
|
1592
1658
|
export abstract class PublicClientApplicationExtensions$instance {
|
|
1593
|
-
static
|
|
1659
|
+
static IsProofOfPossessionSupportedByClient(app: IPublicClientApplication): boolean;
|
|
1594
1660
|
}
|
|
1595
1661
|
|
|
1596
1662
|
|
|
1597
1663
|
export type PublicClientApplicationExtensions = PublicClientApplicationExtensions$instance;
|
|
1598
1664
|
|
|
1599
1665
|
export abstract class TokenCacheExtensions$instance {
|
|
1600
|
-
static
|
|
1666
|
+
static SetCacheOptions(tokenCache: ITokenCache, options: CacheOptions): void;
|
|
1601
1667
|
}
|
|
1602
1668
|
|
|
1603
1669
|
|