@tsonic/efcore-sqlserver 0.1.1
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 +4791 -0
- package/Azure/internal/index.d.ts +433 -0
- package/Azure/internal/metadata.json +2772 -0
- package/Azure.Core/bindings.json +8215 -0
- package/Azure.Core/internal/index.d.ts +665 -0
- package/Azure.Core/internal/metadata.json +5291 -0
- package/Azure.Core.Cryptography/bindings.json +158 -0
- package/Azure.Core.Cryptography/internal/index.d.ts +30 -0
- package/Azure.Core.Cryptography/internal/metadata.json +122 -0
- package/Azure.Core.Cryptography.d.ts +15 -0
- package/Azure.Core.Cryptography.js +9 -0
- package/Azure.Core.Diagnostics/bindings.json +154 -0
- package/Azure.Core.Diagnostics/internal/index.d.ts +29 -0
- package/Azure.Core.Diagnostics/internal/metadata.json +87 -0
- package/Azure.Core.Diagnostics.d.ts +13 -0
- package/Azure.Core.Diagnostics.js +9 -0
- package/Azure.Core.Extensions/bindings.json +158 -0
- package/Azure.Core.Extensions/internal/index.d.ts +42 -0
- package/Azure.Core.Extensions/internal/metadata.json +139 -0
- package/Azure.Core.Extensions.d.ts +16 -0
- package/Azure.Core.Extensions.js +9 -0
- package/Azure.Core.GeoJson/bindings.json +2736 -0
- package/Azure.Core.GeoJson/internal/index.d.ts +256 -0
- package/Azure.Core.GeoJson/internal/metadata.json +1469 -0
- package/Azure.Core.GeoJson.d.ts +29 -0
- package/Azure.Core.GeoJson.js +9 -0
- package/Azure.Core.Pipeline/bindings.json +1894 -0
- package/Azure.Core.Pipeline/internal/index.d.ts +209 -0
- package/Azure.Core.Pipeline/internal/metadata.json +1181 -0
- package/Azure.Core.Pipeline.d.ts +32 -0
- package/Azure.Core.Pipeline.js +9 -0
- package/Azure.Core.Serialization/bindings.json +691 -0
- package/Azure.Core.Serialization/internal/index.d.ts +90 -0
- package/Azure.Core.Serialization/internal/metadata.json +468 -0
- package/Azure.Core.Serialization.d.ts +23 -0
- package/Azure.Core.Serialization.js +9 -0
- package/Azure.Core.d.ts +60 -0
- package/Azure.Core.js +9 -0
- package/Azure.Identity/bindings.json +11689 -0
- package/Azure.Identity/internal/index.d.ts +884 -0
- package/Azure.Identity/internal/metadata.json +5255 -0
- package/Azure.Identity.d.ts +75 -0
- package/Azure.Identity.js +9 -0
- package/Azure.Messaging/bindings.json +515 -0
- package/Azure.Messaging/internal/index.d.ts +62 -0
- package/Azure.Messaging/internal/metadata.json +316 -0
- package/Azure.Messaging.d.ts +17 -0
- package/Azure.Messaging.js +9 -0
- package/Azure.d.ts +69 -0
- package/Azure.js +9 -0
- package/LICENSE +21 -0
- package/Microsoft.Data/bindings.json +74 -0
- package/Microsoft.Data/internal/index.d.ts +33 -0
- package/Microsoft.Data/internal/metadata.json +59 -0
- package/Microsoft.Data.Sql/bindings.json +221 -0
- package/Microsoft.Data.Sql/internal/index.d.ts +42 -0
- package/Microsoft.Data.Sql/internal/metadata.json +136 -0
- package/Microsoft.Data.Sql.d.ts +15 -0
- package/Microsoft.Data.Sql.js +9 -0
- package/Microsoft.Data.SqlClient/bindings.json +17875 -0
- package/Microsoft.Data.SqlClient/internal/index.d.ts +1252 -0
- package/Microsoft.Data.SqlClient/internal/metadata.json +10965 -0
- package/Microsoft.Data.SqlClient.DataClassification/bindings.json +640 -0
- package/Microsoft.Data.SqlClient.DataClassification/internal/index.d.ts +90 -0
- package/Microsoft.Data.SqlClient.DataClassification/internal/metadata.json +383 -0
- package/Microsoft.Data.SqlClient.DataClassification.d.ts +19 -0
- package/Microsoft.Data.SqlClient.DataClassification.js +9 -0
- package/Microsoft.Data.SqlClient.Diagnostics/bindings.json +4421 -0
- package/Microsoft.Data.SqlClient.Diagnostics/internal/index.d.ts +341 -0
- package/Microsoft.Data.SqlClient.Diagnostics/internal/metadata.json +2693 -0
- package/Microsoft.Data.SqlClient.Diagnostics.d.ts +30 -0
- package/Microsoft.Data.SqlClient.Diagnostics.js +9 -0
- package/Microsoft.Data.SqlClient.Server/bindings.json +3543 -0
- package/Microsoft.Data.SqlClient.Server/internal/index.d.ts +184 -0
- package/Microsoft.Data.SqlClient.Server/internal/metadata.json +2235 -0
- package/Microsoft.Data.SqlClient.Server.d.ts +16 -0
- package/Microsoft.Data.SqlClient.Server.js +9 -0
- package/Microsoft.Data.SqlClient.d.ts +92 -0
- package/Microsoft.Data.SqlClient.js +9 -0
- package/Microsoft.Data.SqlTypes/bindings.json +902 -0
- package/Microsoft.Data.SqlTypes/internal/index.d.ts +82 -0
- package/Microsoft.Data.SqlTypes/internal/metadata.json +558 -0
- package/Microsoft.Data.SqlTypes.d.ts +17 -0
- package/Microsoft.Data.SqlTypes.js +9 -0
- package/Microsoft.Data.d.ts +15 -0
- package/Microsoft.Data.js +9 -0
- package/Microsoft.EntityFrameworkCore/bindings.json +13302 -0
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +693 -0
- package/Microsoft.EntityFrameworkCore/internal/metadata.json +9025 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +612 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +59 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/metadata.json +303 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics.d.ts +17 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics.js +9 -0
- package/Microsoft.EntityFrameworkCore.Infrastructure/bindings.json +669 -0
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +92 -0
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/metadata.json +455 -0
- package/Microsoft.EntityFrameworkCore.Infrastructure.d.ts +20 -0
- package/Microsoft.EntityFrameworkCore.Infrastructure.js +9 -0
- package/Microsoft.EntityFrameworkCore.Metadata/bindings.json +125 -0
- package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +19 -0
- package/Microsoft.EntityFrameworkCore.Metadata/internal/metadata.json +72 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/bindings.json +1095 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +113 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/metadata.json +660 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Builders.d.ts +31 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Builders.js +9 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/bindings.json +1073 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +180 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/metadata.json +706 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.d.ts +29 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.js +9 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/bindings.json +95 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +29 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/metadata.json +88 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Internal.d.ts +14 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.Metadata.d.ts +12 -0
- package/Microsoft.EntityFrameworkCore.Metadata.js +9 -0
- package/Microsoft.EntityFrameworkCore.Migrations/bindings.json +105 -0
- package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +36 -0
- package/Microsoft.EntityFrameworkCore.Migrations/internal/metadata.json +81 -0
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/bindings.json +151 -0
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +43 -0
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/metadata.json +100 -0
- package/Microsoft.EntityFrameworkCore.Migrations.Operations.d.ts +16 -0
- package/Microsoft.EntityFrameworkCore.Migrations.Operations.js +9 -0
- package/Microsoft.EntityFrameworkCore.Migrations.d.ts +18 -0
- package/Microsoft.EntityFrameworkCore.Migrations.js +9 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/bindings.json +476 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/internal/index.d.ts +67 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/internal/metadata.json +317 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal.d.ts +20 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal/bindings.json +525 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal/internal/index.d.ts +46 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal/internal/metadata.json +238 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal.d.ts +12 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal/bindings.json +572 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal/internal/index.d.ts +44 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal/internal/metadata.json +393 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal.d.ts +16 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/bindings.json +1259 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/internal/index.d.ts +106 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/internal/metadata.json +790 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal.d.ts +21 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Internal/bindings.json +1934 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Internal/internal/index.d.ts +103 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Internal/internal/metadata.json +1294 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Internal.d.ts +14 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/bindings.json +933 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/internal/index.d.ts +73 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/internal/metadata.json +452 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal.d.ts +16 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/bindings.json +482 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/internal/index.d.ts +67 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/internal/metadata.json +317 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal.d.ts +21 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/bindings.json +5251 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/internal/index.d.ts +835 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/internal/metadata.json +3289 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/bindings.json +141 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/internal/index.d.ts +33 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/internal/metadata.json +95 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions.d.ts +17 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions.js +9 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.d.ts +87 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/bindings.json +238 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/internal/index.d.ts +53 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/internal/metadata.json +167 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.d.ts +21 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/bindings.json +2619 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/internal/index.d.ts +411 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/internal/metadata.json +1697 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.d.ts +55 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/bindings.json +719 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/internal/index.d.ts +105 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/internal/metadata.json +500 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal.d.ts +24 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/bindings.json +493 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/internal/index.d.ts +111 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/internal/metadata.json +339 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal.d.ts +24 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.d.ts +46 -0
- package/Microsoft.EntityFrameworkCore.js +9 -0
- package/Microsoft.Extensions.DependencyInjection/bindings.json +164 -0
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +26 -0
- package/Microsoft.Extensions.DependencyInjection/internal/metadata.json +127 -0
- package/Microsoft.Extensions.DependencyInjection.d.ts +15 -0
- package/Microsoft.Extensions.DependencyInjection.js +9 -0
- package/Microsoft.Identity.Client/bindings.json +23512 -0
- package/Microsoft.Identity.Client/internal/index.d.ts +1605 -0
- package/Microsoft.Identity.Client/internal/metadata.json +11985 -0
- package/Microsoft.Identity.Client.Advanced/bindings.json +44 -0
- package/Microsoft.Identity.Client.Advanced/internal/index.d.ts +20 -0
- package/Microsoft.Identity.Client.Advanced/internal/metadata.json +41 -0
- package/Microsoft.Identity.Client.Advanced.d.ts +17 -0
- package/Microsoft.Identity.Client.Advanced.js +9 -0
- package/Microsoft.Identity.Client.AppConfig/bindings.json +338 -0
- package/Microsoft.Identity.Client.AppConfig/internal/index.d.ts +47 -0
- package/Microsoft.Identity.Client.AppConfig/internal/metadata.json +212 -0
- package/Microsoft.Identity.Client.AppConfig.d.ts +15 -0
- package/Microsoft.Identity.Client.AppConfig.js +9 -0
- package/Microsoft.Identity.Client.AuthScheme/bindings.json +167 -0
- package/Microsoft.Identity.Client.AuthScheme/internal/index.d.ts +25 -0
- package/Microsoft.Identity.Client.AuthScheme/internal/metadata.json +118 -0
- package/Microsoft.Identity.Client.AuthScheme.PoP/bindings.json +95 -0
- package/Microsoft.Identity.Client.AuthScheme.PoP/internal/index.d.ts +20 -0
- package/Microsoft.Identity.Client.AuthScheme.PoP/internal/metadata.json +72 -0
- package/Microsoft.Identity.Client.AuthScheme.PoP.d.ts +12 -0
- package/Microsoft.Identity.Client.AuthScheme.PoP.js +9 -0
- package/Microsoft.Identity.Client.AuthScheme.d.ts +14 -0
- package/Microsoft.Identity.Client.AuthScheme.js +9 -0
- package/Microsoft.Identity.Client.Cache/bindings.json +210 -0
- package/Microsoft.Identity.Client.Cache/internal/index.d.ts +32 -0
- package/Microsoft.Identity.Client.Cache/internal/metadata.json +123 -0
- package/Microsoft.Identity.Client.Cache.d.ts +13 -0
- package/Microsoft.Identity.Client.Cache.js +9 -0
- package/Microsoft.Identity.Client.Extensibility/bindings.json +882 -0
- package/Microsoft.Identity.Client.Extensibility/internal/index.d.ts +128 -0
- package/Microsoft.Identity.Client.Extensibility/internal/metadata.json +620 -0
- package/Microsoft.Identity.Client.Extensibility.d.ts +30 -0
- package/Microsoft.Identity.Client.Extensibility.js +9 -0
- package/Microsoft.Identity.Client.Extensions.Msal/bindings.json +1464 -0
- package/Microsoft.Identity.Client.Extensions.Msal/internal/index.d.ts +163 -0
- package/Microsoft.Identity.Client.Extensions.Msal/internal/metadata.json +877 -0
- package/Microsoft.Identity.Client.Extensions.Msal.d.ts +25 -0
- package/Microsoft.Identity.Client.Extensions.Msal.js +9 -0
- package/Microsoft.Identity.Client.Kerberos/bindings.json +634 -0
- package/Microsoft.Identity.Client.Kerberos/internal/index.d.ts +58 -0
- package/Microsoft.Identity.Client.Kerberos/internal/metadata.json +386 -0
- package/Microsoft.Identity.Client.Kerberos.d.ts +15 -0
- package/Microsoft.Identity.Client.Kerberos.js +9 -0
- package/Microsoft.Identity.Client.ManagedIdentity/bindings.json +209 -0
- package/Microsoft.Identity.Client.ManagedIdentity/internal/index.d.ts +23 -0
- package/Microsoft.Identity.Client.ManagedIdentity/internal/metadata.json +106 -0
- package/Microsoft.Identity.Client.ManagedIdentity.d.ts +12 -0
- package/Microsoft.Identity.Client.ManagedIdentity.js +9 -0
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/bindings.json +44 -0
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/internal/index.d.ts +22 -0
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/internal/metadata.json +41 -0
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos.d.ts +12 -0
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos.js +9 -0
- package/Microsoft.Identity.Client.RP/bindings.json +83 -0
- package/Microsoft.Identity.Client.RP/internal/index.d.ts +27 -0
- package/Microsoft.Identity.Client.RP/internal/metadata.json +74 -0
- package/Microsoft.Identity.Client.RP.d.ts +18 -0
- package/Microsoft.Identity.Client.RP.js +9 -0
- package/Microsoft.Identity.Client.Region/bindings.json +167 -0
- package/Microsoft.Identity.Client.Region/internal/index.d.ts +21 -0
- package/Microsoft.Identity.Client.Region/internal/metadata.json +88 -0
- package/Microsoft.Identity.Client.Region.d.ts +12 -0
- package/Microsoft.Identity.Client.Region.js +9 -0
- package/Microsoft.Identity.Client.SSHCertificates/bindings.json +68 -0
- package/Microsoft.Identity.Client.SSHCertificates/internal/index.d.ts +20 -0
- package/Microsoft.Identity.Client.SSHCertificates/internal/metadata.json +57 -0
- package/Microsoft.Identity.Client.SSHCertificates.d.ts +16 -0
- package/Microsoft.Identity.Client.SSHCertificates.js +9 -0
- package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient/bindings.json +66 -0
- package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient/internal/index.d.ts +24 -0
- package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient/internal/metadata.json +46 -0
- package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient.d.ts +13 -0
- package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient.js +9 -0
- package/Microsoft.Identity.Client.Utils/bindings.json +164 -0
- package/Microsoft.Identity.Client.Utils/internal/index.d.ts +29 -0
- package/Microsoft.Identity.Client.Utils/internal/metadata.json +121 -0
- package/Microsoft.Identity.Client.Utils.Windows/bindings.json +68 -0
- package/Microsoft.Identity.Client.Utils.Windows/internal/index.d.ts +19 -0
- package/Microsoft.Identity.Client.Utils.Windows/internal/metadata.json +57 -0
- package/Microsoft.Identity.Client.Utils.Windows.d.ts +12 -0
- package/Microsoft.Identity.Client.Utils.Windows.js +9 -0
- package/Microsoft.Identity.Client.Utils.d.ts +13 -0
- package/Microsoft.Identity.Client.Utils.js +9 -0
- package/Microsoft.Identity.Client.d.ts +124 -0
- package/Microsoft.Identity.Client.js +9 -0
- package/Microsoft.IdentityModel.Abstractions/bindings.json +1278 -0
- package/Microsoft.IdentityModel.Abstractions/internal/index.d.ts +132 -0
- package/Microsoft.IdentityModel.Abstractions/internal/metadata.json +843 -0
- package/Microsoft.IdentityModel.Abstractions.d.ts +20 -0
- package/Microsoft.IdentityModel.Abstractions.js +9 -0
- package/Microsoft.IdentityModel.JsonWebTokens/bindings.json +3592 -0
- package/Microsoft.IdentityModel.JsonWebTokens/internal/index.d.ts +242 -0
- package/Microsoft.IdentityModel.JsonWebTokens/internal/metadata.json +1997 -0
- package/Microsoft.IdentityModel.JsonWebTokens.d.ts +24 -0
- package/Microsoft.IdentityModel.JsonWebTokens.js +9 -0
- package/Microsoft.IdentityModel.Logging/bindings.json +1715 -0
- package/Microsoft.IdentityModel.Logging/internal/index.d.ts +137 -0
- package/Microsoft.IdentityModel.Logging/internal/metadata.json +1117 -0
- package/Microsoft.IdentityModel.Logging.d.ts +21 -0
- package/Microsoft.IdentityModel.Logging.js +9 -0
- package/Microsoft.IdentityModel.Protocols/bindings.json +1839 -0
- package/Microsoft.IdentityModel.Protocols/internal/index.d.ts +208 -0
- package/Microsoft.IdentityModel.Protocols/internal/metadata.json +1067 -0
- package/Microsoft.IdentityModel.Protocols.Configuration/bindings.json +177 -0
- package/Microsoft.IdentityModel.Protocols.Configuration/internal/index.d.ts +43 -0
- package/Microsoft.IdentityModel.Protocols.Configuration/internal/metadata.json +72 -0
- package/Microsoft.IdentityModel.Protocols.Configuration.d.ts +18 -0
- package/Microsoft.IdentityModel.Protocols.Configuration.js +9 -0
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect/bindings.json +7825 -0
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect/internal/index.d.ts +515 -0
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect/internal/metadata.json +4288 -0
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/bindings.json +117 -0
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/internal/index.d.ts +35 -0
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/internal/metadata.json +80 -0
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration.d.ts +14 -0
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration.js +9 -0
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.d.ts +42 -0
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.js +9 -0
- package/Microsoft.IdentityModel.Protocols.d.ts +32 -0
- package/Microsoft.IdentityModel.Protocols.js +9 -0
- package/Microsoft.IdentityModel.Tokens/bindings.json +18398 -0
- package/Microsoft.IdentityModel.Tokens/internal/index.d.ts +1485 -0
- package/Microsoft.IdentityModel.Tokens/internal/metadata.json +10430 -0
- package/Microsoft.IdentityModel.Tokens.Configuration/bindings.json +162 -0
- package/Microsoft.IdentityModel.Tokens.Configuration/internal/index.d.ts +30 -0
- package/Microsoft.IdentityModel.Tokens.Configuration/internal/metadata.json +101 -0
- package/Microsoft.IdentityModel.Tokens.Configuration.d.ts +15 -0
- package/Microsoft.IdentityModel.Tokens.Configuration.js +9 -0
- package/Microsoft.IdentityModel.Tokens.d.ts +123 -0
- package/Microsoft.IdentityModel.Tokens.js +9 -0
- package/Microsoft.SqlServer.Server/bindings.json +1337 -0
- package/Microsoft.SqlServer.Server/internal/index.d.ts +138 -0
- package/Microsoft.SqlServer.Server/internal/metadata.json +792 -0
- package/Microsoft.SqlServer.Server.d.ts +23 -0
- package/Microsoft.SqlServer.Server.js +9 -0
- package/README.md +5 -0
- package/System/bindings.json +877 -0
- package/System/internal/index.d.ts +67 -0
- package/System/internal/metadata.json +523 -0
- package/System.ClientModel/bindings.json +975 -0
- package/System.ClientModel/internal/index.d.ts +152 -0
- package/System.ClientModel/internal/metadata.json +637 -0
- package/System.ClientModel.Primitives/bindings.json +5278 -0
- package/System.ClientModel.Primitives/internal/index.d.ts +596 -0
- package/System.ClientModel.Primitives/internal/metadata.json +3433 -0
- package/System.ClientModel.Primitives.d.ts +65 -0
- package/System.ClientModel.Primitives.js +9 -0
- package/System.ClientModel.d.ts +42 -0
- package/System.ClientModel.js +9 -0
- package/System.Configuration/bindings.json +22798 -0
- package/System.Configuration/internal/index.d.ts +2085 -0
- package/System.Configuration/internal/metadata.json +11888 -0
- package/System.Configuration.Internal/bindings.json +3313 -0
- package/System.Configuration.Internal/internal/index.d.ts +228 -0
- package/System.Configuration.Internal/internal/metadata.json +2269 -0
- package/System.Configuration.Internal.d.ts +30 -0
- package/System.Configuration.Internal.js +9 -0
- package/System.Configuration.Provider/bindings.json +447 -0
- package/System.Configuration.Provider/internal/index.d.ts +63 -0
- package/System.Configuration.Provider/internal/metadata.json +284 -0
- package/System.Configuration.Provider.d.ts +17 -0
- package/System.Configuration.Provider.js +9 -0
- package/System.Configuration.d.ts +166 -0
- package/System.Configuration.js +9 -0
- package/System.Diagnostics/bindings.json +44 -0
- package/System.Diagnostics/internal/index.d.ts +18 -0
- package/System.Diagnostics/internal/metadata.json +48 -0
- package/System.Diagnostics.d.ts +12 -0
- package/System.Diagnostics.js +9 -0
- package/System.Drawing.Configuration/bindings.json +178 -0
- package/System.Drawing.Configuration/internal/index.d.ts +25 -0
- package/System.Drawing.Configuration/internal/metadata.json +46 -0
- package/System.Drawing.Configuration.d.ts +13 -0
- package/System.Drawing.Configuration.js +9 -0
- package/System.IdentityModel.Tokens.Jwt/bindings.json +4622 -0
- package/System.IdentityModel.Tokens.Jwt/internal/index.d.ts +309 -0
- package/System.IdentityModel.Tokens.Jwt/internal/metadata.json +2556 -0
- package/System.IdentityModel.Tokens.Jwt.d.ts +29 -0
- package/System.IdentityModel.Tokens.Jwt.js +9 -0
- package/System.Security.Cryptography/bindings.json +146 -0
- package/System.Security.Cryptography/internal/index.d.ts +25 -0
- package/System.Security.Cryptography/internal/metadata.json +104 -0
- package/System.Security.Cryptography.d.ts +13 -0
- package/System.Security.Cryptography.js +9 -0
- package/System.Text.Json.Serialization/bindings.json +96 -0
- package/System.Text.Json.Serialization/internal/index.d.ts +32 -0
- package/System.Text.Json.Serialization/internal/metadata.json +70 -0
- package/System.Text.Json.Serialization.d.ts +15 -0
- package/System.Text.Json.Serialization.js +9 -0
- package/System.d.ts +21 -0
- package/System.js +9 -0
- package/__build/ref/Program.cs +5 -0
- package/__build/ref/ref.csproj +14 -0
- package/__build/scripts/generate.sh +113 -0
- package/__internal/extensions/index.d.ts +153 -0
- package/families.json +30 -0
- package/package.json +27 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1,1605 @@
|
|
|
1
|
+
// Generated by tsbindgen - Architecture
|
|
2
|
+
// Namespace: Microsoft.Identity.Client
|
|
3
|
+
// Assembly: Microsoft.Identity.Client
|
|
4
|
+
|
|
5
|
+
// Primitive type aliases from @tsonic/core
|
|
6
|
+
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
8
|
+
// Import support types from @tsonic/core
|
|
9
|
+
import type { ptr } from "@tsonic/core/types.js";
|
|
10
|
+
|
|
11
|
+
// Import types from other namespaces
|
|
12
|
+
import type { ManagedIdentityId, PoPAuthenticationConfiguration } from "../../Microsoft.Identity.Client.AppConfig/internal/index.js";
|
|
13
|
+
import type { CacheLevel } from "../../Microsoft.Identity.Client.Cache/internal/index.js";
|
|
14
|
+
import type { KerberosTicketContainer } from "../../Microsoft.Identity.Client.Kerberos/internal/index.js";
|
|
15
|
+
import type { ManagedIdentitySource } from "../../Microsoft.Identity.Client.ManagedIdentity/internal/index.js";
|
|
16
|
+
import type { RegionOutcome } from "../../Microsoft.Identity.Client.Region/internal/index.js";
|
|
17
|
+
import type { TelemetryData } from "../../Microsoft.Identity.Client.TelemetryCore.TelemetryClient/internal/index.js";
|
|
18
|
+
import type { IIdentityLogger, ITelemetryClient } from "../../Microsoft.IdentityModel.Abstractions/internal/index.js";
|
|
19
|
+
import type { Dictionary, IDictionary, IEnumerable, IReadOnlyCollection, IReadOnlyDictionary, IReadOnlyList } from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
20
|
+
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
21
|
+
import type { Action, AsyncCallback, Boolean as ClrBoolean, Byte, DateTimeOffset, Enum, Exception, Func, Guid, IAsyncResult, ICloneable, IComparable, IConvertible, IFormattable, Int32, Int64, IntPtr, ISpanFormattable, MulticastDelegate, Nullable, Object as ClrObject, String as ClrString, Uri, ValueType, Void } from "@tsonic/dotnet/System.js";
|
|
22
|
+
import type { HttpResponseHeaders } from "@tsonic/dotnet/System.Net.Http.Headers.js";
|
|
23
|
+
import type { HttpClient, HttpMethod, HttpRequestMessage } from "@tsonic/dotnet/System.Net.Http.js";
|
|
24
|
+
import type { SslPolicyErrors } from "@tsonic/dotnet/System.Net.Security.js";
|
|
25
|
+
import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization.js";
|
|
26
|
+
import type { ISerializable } from "@tsonic/dotnet/System.Runtime.Serialization.js";
|
|
27
|
+
import type { ClaimsPrincipal } from "@tsonic/dotnet/System.Security.Claims.js";
|
|
28
|
+
import type { X509Certificate2, X509Chain } from "@tsonic/dotnet/System.Security.Cryptography.X509Certificates.js";
|
|
29
|
+
import type { SecureString } from "@tsonic/dotnet/System.Security.js";
|
|
30
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading.js";
|
|
31
|
+
import type { Task } from "@tsonic/dotnet/System.Threading.Tasks.js";
|
|
32
|
+
|
|
33
|
+
export enum AadAuthorityAudience {
|
|
34
|
+
none = 0,
|
|
35
|
+
azureAdMyOrg = 1,
|
|
36
|
+
azureAdAndPersonalMicrosoftAccount = 2,
|
|
37
|
+
azureAdMultipleOrgs = 3,
|
|
38
|
+
personalMicrosoftAccount = 4
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
export enum AzureCloudInstance {
|
|
43
|
+
none = 0,
|
|
44
|
+
azurePublic = 1,
|
|
45
|
+
azureChina = 2,
|
|
46
|
+
azureGermany = 3,
|
|
47
|
+
azureUsGovernment = 4
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
export enum BrokerOptions_OperatingSystems {
|
|
52
|
+
none = 0,
|
|
53
|
+
windows = 1,
|
|
54
|
+
linux = 2,
|
|
55
|
+
OSX = 4
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
export enum CacheRefreshReason {
|
|
60
|
+
notApplicable = 0,
|
|
61
|
+
forceRefreshOrClaims = 1,
|
|
62
|
+
noCachedAccessToken = 2,
|
|
63
|
+
expired = 3,
|
|
64
|
+
proactivelyRefreshed = 4
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
export enum LogLevel {
|
|
69
|
+
always = -1,
|
|
70
|
+
error = 0,
|
|
71
|
+
warning = 1,
|
|
72
|
+
info = 2,
|
|
73
|
+
verbose = 3
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
export enum TelemetryAudienceType {
|
|
78
|
+
preProduction = 0,
|
|
79
|
+
production = 1
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
export enum TokenSource {
|
|
84
|
+
identityProvider = 0,
|
|
85
|
+
cache = 1,
|
|
86
|
+
broker = 2
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
export enum UiRequiredExceptionClassification {
|
|
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
|
+
}
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
export type LogCallback = (level: LogLevel, message: string, containsPii: boolean) => void;
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
export type TokenCacheCallback = (args: TokenCacheNotificationArgs) => void;
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
export interface IAccount$instance {
|
|
109
|
+
readonly username: string;
|
|
110
|
+
readonly environment: string;
|
|
111
|
+
readonly homeAccountId: AccountId;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
export type IAccount = IAccount$instance;
|
|
116
|
+
|
|
117
|
+
export interface IAppConfig$instance {
|
|
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
|
+
}
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
export type IAppConfig = IAppConfig$instance;
|
|
141
|
+
|
|
142
|
+
export interface IApplicationBase$instance {
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
export type IApplicationBase = IApplicationBase$instance;
|
|
147
|
+
|
|
148
|
+
export interface IByRefreshToken$instance {
|
|
149
|
+
acquireTokenByRefreshToken(scopes: IEnumerable<System_Internal.String>, refreshToken: string): AcquireTokenByRefreshTokenParameterBuilder;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
export type IByRefreshToken = IByRefreshToken$instance;
|
|
154
|
+
|
|
155
|
+
export interface IByUsernameAndPassword$instance {
|
|
156
|
+
acquireTokenByUsernamePassword(scopes: IEnumerable<System_Internal.String>, username: string, password: string): AcquireTokenByUsernameAndPasswordConfidentialParameterBuilder;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
export type IByUsernameAndPassword = IByUsernameAndPassword$instance;
|
|
161
|
+
|
|
162
|
+
export interface IClientApplicationBase$instance extends IApplicationBase {
|
|
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
|
+
}
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
export interface IClientApplicationBase$instance extends IApplicationBase$instance {}
|
|
175
|
+
|
|
176
|
+
export type IClientApplicationBase = IClientApplicationBase$instance;
|
|
177
|
+
|
|
178
|
+
export interface IConfidentialClientApplication$instance extends IClientApplicationBase, IApplicationBase {
|
|
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
|
+
}
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
export type IConfidentialClientApplication = IConfidentialClientApplication$instance;
|
|
196
|
+
|
|
197
|
+
export interface ILongRunningWebApi$instance {
|
|
198
|
+
acquireTokenInLongRunningProcess(scopes: IEnumerable<System_Internal.String>, longRunningProcessSessionKey: string): AcquireTokenOnBehalfOfParameterBuilder;
|
|
199
|
+
initiateLongRunningProcessInWebApi(scopes: IEnumerable<System_Internal.String>, userToken: string, longRunningProcessSessionKey: string): AcquireTokenOnBehalfOfParameterBuilder;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
export type ILongRunningWebApi = ILongRunningWebApi$instance;
|
|
204
|
+
|
|
205
|
+
export interface IManagedIdentityApplication$instance extends IApplicationBase {
|
|
206
|
+
acquireTokenForManagedIdentity(resource: string): AcquireTokenForManagedIdentityParameterBuilder;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
export interface IManagedIdentityApplication$instance extends IApplicationBase$instance {}
|
|
211
|
+
|
|
212
|
+
export type IManagedIdentityApplication = IManagedIdentityApplication$instance;
|
|
213
|
+
|
|
214
|
+
export interface IMsalHttpClientFactory$instance {
|
|
215
|
+
getHttpClient(): HttpClient;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
export type IMsalHttpClientFactory = IMsalHttpClientFactory$instance;
|
|
220
|
+
|
|
221
|
+
export interface IMsalSFHttpClientFactory$instance extends IMsalHttpClientFactory {
|
|
222
|
+
getHttpClient(): HttpClient;
|
|
223
|
+
getHttpClient(validateServerCert: Func<HttpRequestMessage, X509Certificate2, X509Chain, SslPolicyErrors, System_Internal.Boolean>): HttpClient;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
export type IMsalSFHttpClientFactory = IMsalSFHttpClientFactory$instance;
|
|
228
|
+
|
|
229
|
+
export interface IPublicClientApplication$instance extends IClientApplicationBase, IApplicationBase {
|
|
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
|
+
}
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
export type IPublicClientApplication = IPublicClientApplication$instance;
|
|
248
|
+
|
|
249
|
+
export interface ITelemetryConfig$instance {
|
|
250
|
+
readonly audienceType: TelemetryAudienceType;
|
|
251
|
+
readonly sessionId: string;
|
|
252
|
+
readonly dispatchAction: Action<ITelemetryEventPayload>;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
export type ITelemetryConfig = ITelemetryConfig$instance;
|
|
257
|
+
|
|
258
|
+
export interface ITelemetryEventPayload$instance {
|
|
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
|
+
}
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
export type ITelemetryEventPayload = ITelemetryEventPayload$instance;
|
|
269
|
+
|
|
270
|
+
export interface ITokenCache$instance {
|
|
271
|
+
setBeforeAccess(beforeAccess: TokenCacheCallback): void;
|
|
272
|
+
setBeforeAccessAsync(beforeAccess: Func<TokenCacheNotificationArgs, Task>): void;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
export type ITokenCache = ITokenCache$instance;
|
|
277
|
+
|
|
278
|
+
export interface ITokenCacheSerializer$instance {
|
|
279
|
+
deserializeAdalV3(adalV3State: byte[]): void;
|
|
280
|
+
deserializeMsalV3(msalV3State: byte[], shouldClearExistingCache?: boolean): void;
|
|
281
|
+
serializeMsalV3(): byte[];
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
export type ITokenCacheSerializer = ITokenCacheSerializer$instance;
|
|
286
|
+
|
|
287
|
+
export interface Prompt$instance {
|
|
288
|
+
equals(obj: unknown): boolean;
|
|
289
|
+
getHashCode(): int;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
export const Prompt: {
|
|
294
|
+
new(): Prompt;
|
|
295
|
+
readonly selectAccount: Prompt;
|
|
296
|
+
readonly forceLogin: Prompt;
|
|
297
|
+
readonly consent: Prompt;
|
|
298
|
+
readonly noPrompt: Prompt;
|
|
299
|
+
readonly create: Prompt;
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
export type Prompt = Prompt$instance;
|
|
304
|
+
|
|
305
|
+
export interface AbstractAcquireTokenParameterBuilder_1$instance<T extends BaseAbstractAcquireTokenParameterBuilder_1<T>> extends BaseAbstractAcquireTokenParameterBuilder_1<T> {
|
|
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
|
+
}
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
export const AbstractAcquireTokenParameterBuilder_1: {
|
|
324
|
+
};
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
export type AbstractAcquireTokenParameterBuilder_1<T extends BaseAbstractAcquireTokenParameterBuilder_1<T>> = AbstractAcquireTokenParameterBuilder_1$instance<T>;
|
|
328
|
+
|
|
329
|
+
export interface AbstractApplicationBuilder_1$instance<T extends BaseAbstractApplicationBuilder_1<T>> extends BaseAbstractApplicationBuilder_1<T> {
|
|
330
|
+
withAdfsAuthority(authorityUri: string, validateAuthority?: boolean): T;
|
|
331
|
+
withAuthority(authorityUri: Uri, validateAuthority?: boolean): T;
|
|
332
|
+
withAuthority(authorityUri: string, validateAuthority?: boolean): T;
|
|
333
|
+
withAuthority(cloudInstanceUri: string, tenantId: Guid, validateAuthority?: boolean): T;
|
|
334
|
+
withAuthority(cloudInstanceUri: string, tenant: string, validateAuthority?: boolean): T;
|
|
335
|
+
withAuthority(azureCloudInstance: AzureCloudInstance, tenantId: Guid, validateAuthority?: boolean): T;
|
|
336
|
+
withAuthority(azureCloudInstance: AzureCloudInstance, tenant: string, validateAuthority?: boolean): T;
|
|
337
|
+
withAuthority(azureCloudInstance: AzureCloudInstance, authorityAudience: AadAuthorityAudience, validateAuthority?: boolean): T;
|
|
338
|
+
withAuthority(authorityAudience: AadAuthorityAudience, validateAuthority?: boolean): T;
|
|
339
|
+
withB2CAuthority(authorityUri: string): T;
|
|
340
|
+
withCacheOptions(options: CacheOptions): T;
|
|
341
|
+
withClientCapabilities(clientCapabilities: IEnumerable<System_Internal.String>): T;
|
|
342
|
+
withClientId(clientId: string): T;
|
|
343
|
+
withExtraQueryParameters(extraQueryParameters: IDictionary<System_Internal.String, System_Internal.String>): T;
|
|
344
|
+
withExtraQueryParameters(extraQueryParameters: string): T;
|
|
345
|
+
withInstanceDicoveryMetadata(instanceDiscoveryJson: string): T;
|
|
346
|
+
withInstanceDicoveryMetadata(instanceDiscoveryUri: Uri): T;
|
|
347
|
+
withInstanceDiscovery(enableInstanceDiscovery: boolean): T;
|
|
348
|
+
withInstanceDiscoveryMetadata(instanceDiscoveryJson: string): T;
|
|
349
|
+
withInstanceDiscoveryMetadata(instanceDiscoveryUri: Uri): T;
|
|
350
|
+
withLegacyCacheCompatibility(enableLegacyCacheCompatibility?: boolean): T;
|
|
351
|
+
withRedirectUri(redirectUri: string): T;
|
|
352
|
+
withTelemetry(telemetryConfig: ITelemetryConfig): T;
|
|
353
|
+
withTenantId(tenantId: string): T;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
export const AbstractApplicationBuilder_1: {
|
|
358
|
+
};
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
export type AbstractApplicationBuilder_1<T extends BaseAbstractApplicationBuilder_1<T>> = AbstractApplicationBuilder_1$instance<T>;
|
|
362
|
+
|
|
363
|
+
export interface AbstractClientAppBaseAcquireTokenParameterBuilder_1$instance<T extends AbstractAcquireTokenParameterBuilder_1<T>> extends AbstractAcquireTokenParameterBuilder_1<T> {
|
|
364
|
+
executeAsync(cancellationToken: CancellationToken): Task<AuthenticationResult>;
|
|
365
|
+
executeAsync(cancellationToken: CancellationToken): Task<AuthenticationResult>;
|
|
366
|
+
executeAsync(): Task<AuthenticationResult>;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
export const AbstractClientAppBaseAcquireTokenParameterBuilder_1: {
|
|
371
|
+
};
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
export type AbstractClientAppBaseAcquireTokenParameterBuilder_1<T extends AbstractAcquireTokenParameterBuilder_1<T>> = AbstractClientAppBaseAcquireTokenParameterBuilder_1$instance<T>;
|
|
375
|
+
|
|
376
|
+
export interface AbstractConfidentialClientAcquireTokenParameterBuilder_1$instance<T extends AbstractAcquireTokenParameterBuilder_1<T>> extends AbstractAcquireTokenParameterBuilder_1<T> {
|
|
377
|
+
executeAsync(cancellationToken: CancellationToken): Task<AuthenticationResult>;
|
|
378
|
+
executeAsync(cancellationToken: CancellationToken): Task<AuthenticationResult>;
|
|
379
|
+
executeAsync(): Task<AuthenticationResult>;
|
|
380
|
+
withProofOfPossession(popAuthenticationConfiguration: PoPAuthenticationConfiguration): T;
|
|
381
|
+
withSignedHttpRequestProofOfPossession(popAuthenticationConfiguration: PoPAuthenticationConfiguration): T;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
export const AbstractConfidentialClientAcquireTokenParameterBuilder_1: {
|
|
386
|
+
};
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
export type AbstractConfidentialClientAcquireTokenParameterBuilder_1<T extends AbstractAcquireTokenParameterBuilder_1<T>> = AbstractConfidentialClientAcquireTokenParameterBuilder_1$instance<T>;
|
|
390
|
+
|
|
391
|
+
export interface AbstractManagedIdentityAcquireTokenParameterBuilder_1$instance<T extends BaseAbstractAcquireTokenParameterBuilder_1<T>> extends BaseAbstractAcquireTokenParameterBuilder_1<T> {
|
|
392
|
+
executeAsync(cancellationToken: CancellationToken): Task<AuthenticationResult>;
|
|
393
|
+
executeAsync(cancellationToken: CancellationToken): Task<AuthenticationResult>;
|
|
394
|
+
executeAsync(): Task<AuthenticationResult>;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
export const AbstractManagedIdentityAcquireTokenParameterBuilder_1: {
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
export type AbstractManagedIdentityAcquireTokenParameterBuilder_1<T extends BaseAbstractAcquireTokenParameterBuilder_1<T>> = AbstractManagedIdentityAcquireTokenParameterBuilder_1$instance<T>;
|
|
403
|
+
|
|
404
|
+
export interface AbstractPublicClientAcquireTokenParameterBuilder_1$instance<T extends AbstractAcquireTokenParameterBuilder_1<T>> extends AbstractAcquireTokenParameterBuilder_1<T> {
|
|
405
|
+
executeAsync(cancellationToken: CancellationToken): Task<AuthenticationResult>;
|
|
406
|
+
executeAsync(cancellationToken: CancellationToken): Task<AuthenticationResult>;
|
|
407
|
+
executeAsync(): Task<AuthenticationResult>;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
export const AbstractPublicClientAcquireTokenParameterBuilder_1: {
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
export type AbstractPublicClientAcquireTokenParameterBuilder_1<T extends AbstractAcquireTokenParameterBuilder_1<T>> = AbstractPublicClientAcquireTokenParameterBuilder_1$instance<T>;
|
|
416
|
+
|
|
417
|
+
export interface AccountId$instance {
|
|
418
|
+
readonly identifier: string;
|
|
419
|
+
readonly objectId: string;
|
|
420
|
+
readonly tenantId: string;
|
|
421
|
+
equals(obj: unknown): boolean;
|
|
422
|
+
getHashCode(): int;
|
|
423
|
+
toString(): string | undefined;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
export const AccountId: {
|
|
428
|
+
new(identifier: string, objectId: string, tenantId: string): AccountId;
|
|
429
|
+
new(adfsIdentifier: string): AccountId;
|
|
430
|
+
};
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
export type AccountId = AccountId$instance;
|
|
434
|
+
|
|
435
|
+
export interface AcquireTokenByAuthorizationCodeParameterBuilder$instance extends AbstractConfidentialClientAcquireTokenParameterBuilder_1<AcquireTokenByAuthorizationCodeParameterBuilder> {
|
|
436
|
+
withCcsRoutingHint(userObjectIdentifier: string, tenantIdentifier: string): AcquireTokenByAuthorizationCodeParameterBuilder;
|
|
437
|
+
withCcsRoutingHint(userName: string): AcquireTokenByAuthorizationCodeParameterBuilder;
|
|
438
|
+
withPkceCodeVerifier(pkceCodeVerifier: string): AcquireTokenByAuthorizationCodeParameterBuilder;
|
|
439
|
+
withSendX5C(withSendX5C: boolean): AcquireTokenByAuthorizationCodeParameterBuilder;
|
|
440
|
+
withSpaAuthorizationCode(requestSpaAuthorizationCode?: boolean): AcquireTokenByAuthorizationCodeParameterBuilder;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
export const AcquireTokenByAuthorizationCodeParameterBuilder: {
|
|
445
|
+
new(): AcquireTokenByAuthorizationCodeParameterBuilder;
|
|
446
|
+
};
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
export type AcquireTokenByAuthorizationCodeParameterBuilder = AcquireTokenByAuthorizationCodeParameterBuilder$instance;
|
|
450
|
+
|
|
451
|
+
export interface AcquireTokenByIntegratedWindowsAuthParameterBuilder$instance extends AbstractPublicClientAcquireTokenParameterBuilder_1<AcquireTokenByIntegratedWindowsAuthParameterBuilder> {
|
|
452
|
+
withFederationMetadata(federationMetadata: string): AcquireTokenByIntegratedWindowsAuthParameterBuilder;
|
|
453
|
+
withUsername(username: string): AcquireTokenByIntegratedWindowsAuthParameterBuilder;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
export const AcquireTokenByIntegratedWindowsAuthParameterBuilder: {
|
|
458
|
+
new(): AcquireTokenByIntegratedWindowsAuthParameterBuilder;
|
|
459
|
+
};
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
export type AcquireTokenByIntegratedWindowsAuthParameterBuilder = AcquireTokenByIntegratedWindowsAuthParameterBuilder$instance;
|
|
463
|
+
|
|
464
|
+
export interface AcquireTokenByRefreshTokenParameterBuilder$instance extends AbstractClientAppBaseAcquireTokenParameterBuilder_1<AcquireTokenByRefreshTokenParameterBuilder> {
|
|
465
|
+
withSendX5C(withSendX5C: boolean): AcquireTokenByRefreshTokenParameterBuilder;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
export const AcquireTokenByRefreshTokenParameterBuilder: {
|
|
470
|
+
new(): AcquireTokenByRefreshTokenParameterBuilder;
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
export type AcquireTokenByRefreshTokenParameterBuilder = AcquireTokenByRefreshTokenParameterBuilder$instance;
|
|
475
|
+
|
|
476
|
+
export interface AcquireTokenByUsernameAndPasswordConfidentialParameterBuilder$instance extends AbstractConfidentialClientAcquireTokenParameterBuilder_1<AcquireTokenByUsernameAndPasswordConfidentialParameterBuilder> {
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
export const AcquireTokenByUsernameAndPasswordConfidentialParameterBuilder: {
|
|
481
|
+
new(): AcquireTokenByUsernameAndPasswordConfidentialParameterBuilder;
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
export type AcquireTokenByUsernameAndPasswordConfidentialParameterBuilder = AcquireTokenByUsernameAndPasswordConfidentialParameterBuilder$instance;
|
|
486
|
+
|
|
487
|
+
export interface AcquireTokenByUsernamePasswordParameterBuilder$instance extends AbstractPublicClientAcquireTokenParameterBuilder_1<AcquireTokenByUsernamePasswordParameterBuilder> {
|
|
488
|
+
withFederationMetadata(federationMetadata: string): AcquireTokenByUsernamePasswordParameterBuilder;
|
|
489
|
+
withProofOfPossession(nonce: string, httpMethod: HttpMethod, requestUri: Uri): AcquireTokenByUsernamePasswordParameterBuilder;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
export const AcquireTokenByUsernamePasswordParameterBuilder: {
|
|
494
|
+
new(): AcquireTokenByUsernamePasswordParameterBuilder;
|
|
495
|
+
};
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
export type AcquireTokenByUsernamePasswordParameterBuilder = AcquireTokenByUsernamePasswordParameterBuilder$instance;
|
|
499
|
+
|
|
500
|
+
export interface AcquireTokenForClientParameterBuilder$instance extends AbstractConfidentialClientAcquireTokenParameterBuilder_1<AcquireTokenForClientParameterBuilder> {
|
|
501
|
+
withAzureRegion(useAzureRegion: boolean): AcquireTokenForClientParameterBuilder;
|
|
502
|
+
withFmiPath(pathSuffix: string): AcquireTokenForClientParameterBuilder;
|
|
503
|
+
withForceRefresh(forceRefresh: boolean): AcquireTokenForClientParameterBuilder;
|
|
504
|
+
withMtlsProofOfPossession(): AcquireTokenForClientParameterBuilder;
|
|
505
|
+
withPreferredAzureRegion(useAzureRegion?: boolean, regionUsedIfAutoDetectFails?: string, fallbackToGlobal?: boolean): AcquireTokenForClientParameterBuilder;
|
|
506
|
+
withSendX5C(withSendX5C: boolean): AcquireTokenForClientParameterBuilder;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
export const AcquireTokenForClientParameterBuilder: {
|
|
511
|
+
new(): AcquireTokenForClientParameterBuilder;
|
|
512
|
+
};
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
export type AcquireTokenForClientParameterBuilder = AcquireTokenForClientParameterBuilder$instance;
|
|
516
|
+
|
|
517
|
+
export interface AcquireTokenForManagedIdentityParameterBuilder$instance extends AbstractManagedIdentityAcquireTokenParameterBuilder_1<AcquireTokenForManagedIdentityParameterBuilder> {
|
|
518
|
+
withClaims(claims: string): AcquireTokenForManagedIdentityParameterBuilder;
|
|
519
|
+
withForceRefresh(forceRefresh: boolean): AcquireTokenForManagedIdentityParameterBuilder;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
export const AcquireTokenForManagedIdentityParameterBuilder: {
|
|
524
|
+
new(): AcquireTokenForManagedIdentityParameterBuilder;
|
|
525
|
+
};
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
export type AcquireTokenForManagedIdentityParameterBuilder = AcquireTokenForManagedIdentityParameterBuilder$instance;
|
|
529
|
+
|
|
530
|
+
export interface AcquireTokenInteractiveParameterBuilder$instance extends AbstractPublicClientAcquireTokenParameterBuilder_1<AcquireTokenInteractiveParameterBuilder> {
|
|
531
|
+
withAccount(account: IAccount): AcquireTokenInteractiveParameterBuilder;
|
|
532
|
+
withEmbeddedWebViewOptions(options: EmbeddedWebViewOptions): AcquireTokenInteractiveParameterBuilder;
|
|
533
|
+
withExtraScopesToConsent(extraScopesToConsent: IEnumerable<System_Internal.String>): AcquireTokenInteractiveParameterBuilder;
|
|
534
|
+
withLoginHint(loginHint: string): AcquireTokenInteractiveParameterBuilder;
|
|
535
|
+
withParentActivityOrWindow(parent: unknown): AcquireTokenInteractiveParameterBuilder;
|
|
536
|
+
withParentActivityOrWindow(window: nint): AcquireTokenInteractiveParameterBuilder;
|
|
537
|
+
withPrompt(prompt: Prompt): AcquireTokenInteractiveParameterBuilder;
|
|
538
|
+
withProofOfPossession(nonce: string, httpMethod: HttpMethod, requestUri: Uri): AcquireTokenInteractiveParameterBuilder;
|
|
539
|
+
withSystemWebViewOptions(options: SystemWebViewOptions): AcquireTokenInteractiveParameterBuilder;
|
|
540
|
+
withUseEmbeddedWebView(useEmbeddedWebView: boolean): AcquireTokenInteractiveParameterBuilder;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
export const AcquireTokenInteractiveParameterBuilder: {
|
|
545
|
+
new(): AcquireTokenInteractiveParameterBuilder;
|
|
546
|
+
};
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
export type AcquireTokenInteractiveParameterBuilder = AcquireTokenInteractiveParameterBuilder$instance;
|
|
550
|
+
|
|
551
|
+
export interface AcquireTokenOnBehalfOfParameterBuilder$instance extends AbstractConfidentialClientAcquireTokenParameterBuilder_1<AcquireTokenOnBehalfOfParameterBuilder> {
|
|
552
|
+
withCcsRoutingHint(userObjectIdentifier: string, tenantIdentifier: string): AcquireTokenOnBehalfOfParameterBuilder;
|
|
553
|
+
withCcsRoutingHint(userName: string): AcquireTokenOnBehalfOfParameterBuilder;
|
|
554
|
+
withForceRefresh(forceRefresh: boolean): AcquireTokenOnBehalfOfParameterBuilder;
|
|
555
|
+
withSendX5C(withSendX5C: boolean): AcquireTokenOnBehalfOfParameterBuilder;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
export const AcquireTokenOnBehalfOfParameterBuilder: {
|
|
560
|
+
new(): AcquireTokenOnBehalfOfParameterBuilder;
|
|
561
|
+
};
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
export type AcquireTokenOnBehalfOfParameterBuilder = AcquireTokenOnBehalfOfParameterBuilder$instance;
|
|
565
|
+
|
|
566
|
+
export interface AcquireTokenSilentParameterBuilder$instance extends AbstractClientAppBaseAcquireTokenParameterBuilder_1<AcquireTokenSilentParameterBuilder> {
|
|
567
|
+
withForceRefresh(forceRefresh: boolean): AcquireTokenSilentParameterBuilder;
|
|
568
|
+
withProofOfPossession(popAuthenticationConfiguration: PoPAuthenticationConfiguration): AcquireTokenSilentParameterBuilder;
|
|
569
|
+
withProofOfPossession(nonce: string, httpMethod: HttpMethod, requestUri: Uri): AcquireTokenSilentParameterBuilder;
|
|
570
|
+
withSendX5C(withSendX5C: boolean): AcquireTokenSilentParameterBuilder;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
export const AcquireTokenSilentParameterBuilder: {
|
|
575
|
+
new(): AcquireTokenSilentParameterBuilder;
|
|
576
|
+
};
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
export type AcquireTokenSilentParameterBuilder = AcquireTokenSilentParameterBuilder$instance;
|
|
580
|
+
|
|
581
|
+
export interface AcquireTokenWithDeviceCodeParameterBuilder$instance extends AbstractPublicClientAcquireTokenParameterBuilder_1<AcquireTokenWithDeviceCodeParameterBuilder> {
|
|
582
|
+
withDeviceCodeResultCallback(deviceCodeResultCallback: Func<DeviceCodeResult, Task>): AcquireTokenWithDeviceCodeParameterBuilder;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
export const AcquireTokenWithDeviceCodeParameterBuilder: {
|
|
587
|
+
new(): AcquireTokenWithDeviceCodeParameterBuilder;
|
|
588
|
+
};
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
export type AcquireTokenWithDeviceCodeParameterBuilder = AcquireTokenWithDeviceCodeParameterBuilder$instance;
|
|
592
|
+
|
|
593
|
+
export interface ApplicationBase$instance extends IApplicationBase {
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
export const ApplicationBase: {
|
|
598
|
+
};
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
export type ApplicationBase = ApplicationBase$instance;
|
|
602
|
+
|
|
603
|
+
export interface ApplicationOptions$instance extends BaseApplicationOptions {
|
|
604
|
+
aadAuthorityAudience: AadAuthorityAudience;
|
|
605
|
+
azureCloudInstance: AzureCloudInstance;
|
|
606
|
+
clientCapabilities: IEnumerable<System_Internal.String>;
|
|
607
|
+
clientId: string;
|
|
608
|
+
clientName: string;
|
|
609
|
+
clientVersion: string;
|
|
610
|
+
instance: string;
|
|
611
|
+
kerberosServicePrincipalName: string;
|
|
612
|
+
legacyCacheCompatibilityEnabled: boolean;
|
|
613
|
+
redirectUri: string;
|
|
614
|
+
tenantId: string;
|
|
615
|
+
ticketContainer: KerberosTicketContainer;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
export const ApplicationOptions: {
|
|
620
|
+
};
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
export type ApplicationOptions = ApplicationOptions$instance;
|
|
624
|
+
|
|
625
|
+
export interface AssertionRequestOptions$instance {
|
|
626
|
+
cancellationToken: CancellationToken;
|
|
627
|
+
claims: string;
|
|
628
|
+
clientAssertionFmiPath: string;
|
|
629
|
+
clientCapabilities: IEnumerable<System_Internal.String>;
|
|
630
|
+
clientID: string;
|
|
631
|
+
tokenEndpoint: string;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
export const AssertionRequestOptions: {
|
|
636
|
+
new(): AssertionRequestOptions;
|
|
637
|
+
};
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
export type AssertionRequestOptions = AssertionRequestOptions$instance;
|
|
641
|
+
|
|
642
|
+
export interface AuthenticationHeaderParser$instance {
|
|
643
|
+
readonly authenticationInfoParameters: AuthenticationInfoParameters;
|
|
644
|
+
readonly popNonce: string;
|
|
645
|
+
readonly wwwAuthenticateParameters: IReadOnlyList<WwwAuthenticateParameters>;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
export const AuthenticationHeaderParser: {
|
|
650
|
+
new(): AuthenticationHeaderParser;
|
|
651
|
+
parseAuthenticationHeaders(httpResponseHeaders: HttpResponseHeaders): AuthenticationHeaderParser;
|
|
652
|
+
parseAuthenticationHeadersAsync(resourceUri: string, httpClient: HttpClient, cancellationToken?: CancellationToken): Task<AuthenticationHeaderParser>;
|
|
653
|
+
parseAuthenticationHeadersAsync(resourceUri: string, cancellationToken?: CancellationToken): Task<AuthenticationHeaderParser>;
|
|
654
|
+
};
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
export type AuthenticationHeaderParser = AuthenticationHeaderParser$instance;
|
|
658
|
+
|
|
659
|
+
export interface AuthenticationInfoParameters$instance {
|
|
660
|
+
readonly item: string;
|
|
661
|
+
readonly nextNonce: string;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
export const AuthenticationInfoParameters: {
|
|
666
|
+
new(): AuthenticationInfoParameters;
|
|
667
|
+
createFromResponseHeaders(httpResponseHeaders: HttpResponseHeaders): AuthenticationInfoParameters;
|
|
668
|
+
};
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
export type AuthenticationInfoParameters = AuthenticationInfoParameters$instance;
|
|
672
|
+
|
|
673
|
+
export interface AuthenticationResult$instance {
|
|
674
|
+
accessToken: string;
|
|
675
|
+
readonly account: IAccount;
|
|
676
|
+
readonly additionalResponseParameters: IReadOnlyDictionary<System_Internal.String, System_Internal.String>;
|
|
677
|
+
readonly authenticationResultMetadata: AuthenticationResultMetadata;
|
|
678
|
+
readonly claimsPrincipal: ClaimsPrincipal;
|
|
679
|
+
readonly correlationId: Guid;
|
|
680
|
+
readonly expiresOn: DateTimeOffset;
|
|
681
|
+
readonly extendedExpiresOn: DateTimeOffset;
|
|
682
|
+
readonly idToken: string;
|
|
683
|
+
readonly isExtendedLifeTimeToken: boolean;
|
|
684
|
+
readonly scopes: IEnumerable<System_Internal.String>;
|
|
685
|
+
readonly spaAuthCode: string;
|
|
686
|
+
readonly tenantId: string;
|
|
687
|
+
readonly tokenType: string;
|
|
688
|
+
readonly uniqueId: string;
|
|
689
|
+
createAuthorizationHeader(): string;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
export const AuthenticationResult: {
|
|
694
|
+
new(accessToken: string, isExtendedLifeTimeToken: boolean, uniqueId: string, expiresOn: DateTimeOffset, extendedExpiresOn: DateTimeOffset, tenantId: string, account: IAccount, idToken: string, scopes: IEnumerable<System_Internal.String>, correlationId: Guid, tokenType: string, authenticationResultMetadata: AuthenticationResultMetadata, claimsPrincipal: ClaimsPrincipal, spaAuthCode: string, additionalResponseParameters: IReadOnlyDictionary<System_Internal.String, System_Internal.String>): AuthenticationResult;
|
|
695
|
+
new(accessToken: string, isExtendedLifeTimeToken: boolean, uniqueId: string, expiresOn: DateTimeOffset, extendedExpiresOn: DateTimeOffset, tenantId: string, account: IAccount, idToken: string, scopes: IEnumerable<System_Internal.String>, correlationId: Guid, authenticationResultMetadata: AuthenticationResultMetadata, tokenType: string): AuthenticationResult;
|
|
696
|
+
};
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
export type AuthenticationResult = AuthenticationResult$instance;
|
|
700
|
+
|
|
701
|
+
export interface AuthenticationResultMetadata$instance {
|
|
702
|
+
cachedAccessTokenCount: int;
|
|
703
|
+
cacheLevel: CacheLevel;
|
|
704
|
+
cacheRefreshReason: CacheRefreshReason;
|
|
705
|
+
durationCreatingExtendedTokenInUs: long;
|
|
706
|
+
durationInCacheInMs: long;
|
|
707
|
+
durationInHttpInMs: long;
|
|
708
|
+
durationTotalInMs: long;
|
|
709
|
+
refreshOn: Nullable<DateTimeOffset>;
|
|
710
|
+
regionDetails: RegionDetails;
|
|
711
|
+
telemetry: string;
|
|
712
|
+
tokenEndpoint: string;
|
|
713
|
+
readonly tokenSource: TokenSource;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
export const AuthenticationResultMetadata: {
|
|
718
|
+
new(tokenSource: TokenSource): AuthenticationResultMetadata;
|
|
719
|
+
};
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
export type AuthenticationResultMetadata = AuthenticationResultMetadata$instance;
|
|
723
|
+
|
|
724
|
+
export interface BaseAbstractAcquireTokenParameterBuilder_1$instance<T extends BaseAbstractAcquireTokenParameterBuilder_1<T>> {
|
|
725
|
+
executeAsync(cancellationToken: CancellationToken): Task<AuthenticationResult>;
|
|
726
|
+
executeAsync(): Task<AuthenticationResult>;
|
|
727
|
+
withCorrelationId(correlationId: Guid): T;
|
|
728
|
+
withExtraQueryParameters(extraQueryParameters: Dictionary<System_Internal.String, System_Internal.String>): T;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
export const BaseAbstractAcquireTokenParameterBuilder_1: {
|
|
733
|
+
};
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
export type BaseAbstractAcquireTokenParameterBuilder_1<T extends BaseAbstractAcquireTokenParameterBuilder_1<T>> = BaseAbstractAcquireTokenParameterBuilder_1$instance<T>;
|
|
737
|
+
|
|
738
|
+
export interface BaseAbstractApplicationBuilder_1$instance<T extends BaseAbstractApplicationBuilder_1<T>> {
|
|
739
|
+
withClientName(clientName: string): T;
|
|
740
|
+
withClientVersion(clientVersion: string): T;
|
|
741
|
+
withDebugLoggingCallback(logLevel?: LogLevel, enablePiiLogging?: boolean, withDefaultPlatformLoggingEnabled?: boolean): T;
|
|
742
|
+
withExperimentalFeatures(enableExperimentalFeatures?: boolean): T;
|
|
743
|
+
withHttpClientFactory(httpClientFactory: IMsalHttpClientFactory): T;
|
|
744
|
+
withHttpClientFactory(httpClientFactory: IMsalHttpClientFactory, retryOnceOn5xx: boolean): T;
|
|
745
|
+
withLogging(loggingCallback: LogCallback, logLevel?: Nullable<LogLevel>, enablePiiLogging?: Nullable<System_Internal.Boolean>, enableDefaultPlatformLogging?: Nullable<System_Internal.Boolean>): T;
|
|
746
|
+
withLogging(identityLogger: IIdentityLogger, enablePiiLogging?: boolean): T;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
export const BaseAbstractApplicationBuilder_1: {
|
|
751
|
+
};
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
export type BaseAbstractApplicationBuilder_1<T extends BaseAbstractApplicationBuilder_1<T>> = BaseAbstractApplicationBuilder_1$instance<T>;
|
|
755
|
+
|
|
756
|
+
export interface BaseApplicationOptions$instance {
|
|
757
|
+
enablePiiLogging: boolean;
|
|
758
|
+
isDefaultPlatformLoggingEnabled: boolean;
|
|
759
|
+
logLevel: LogLevel;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
export const BaseApplicationOptions: {
|
|
764
|
+
};
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
export type BaseApplicationOptions = BaseApplicationOptions$instance;
|
|
768
|
+
|
|
769
|
+
export interface BrokerOptions$instance {
|
|
770
|
+
readonly enabledOn: BrokerOptions_OperatingSystems;
|
|
771
|
+
listOperatingSystemAccounts: boolean;
|
|
772
|
+
msaPassthrough: boolean;
|
|
773
|
+
title: string;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
export const BrokerOptions: {
|
|
778
|
+
new(enabledOn: BrokerOptions_OperatingSystems): BrokerOptions;
|
|
779
|
+
};
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
export type BrokerOptions = BrokerOptions$instance;
|
|
783
|
+
|
|
784
|
+
export interface CacheOptions$instance {
|
|
785
|
+
useSharedCache: boolean;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
export const CacheOptions: {
|
|
790
|
+
new(): CacheOptions;
|
|
791
|
+
new(useSharedCache: boolean): CacheOptions;
|
|
792
|
+
readonly enableSharedCacheOptions: CacheOptions;
|
|
793
|
+
};
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
export type CacheOptions = CacheOptions$instance;
|
|
797
|
+
|
|
798
|
+
export interface ClientApplicationBase$instance extends ApplicationBase, IApplicationBase {
|
|
799
|
+
readonly appConfig: IAppConfig;
|
|
800
|
+
readonly authority: string;
|
|
801
|
+
readonly userTokenCache: ITokenCache;
|
|
802
|
+
acquireTokenSilent(scopes: IEnumerable<System_Internal.String>, account: IAccount): AcquireTokenSilentParameterBuilder;
|
|
803
|
+
acquireTokenSilent(scopes: IEnumerable<System_Internal.String>, loginHint: string): AcquireTokenSilentParameterBuilder;
|
|
804
|
+
getAccountAsync(accountId: string, cancellationToken?: CancellationToken): Task<IAccount>;
|
|
805
|
+
getAccountAsync(accountId: string): Task<IAccount>;
|
|
806
|
+
getAccountsAsync(): Task<IEnumerable<IAccount>>;
|
|
807
|
+
getAccountsAsync(cancellationToken?: CancellationToken): Task<IEnumerable<IAccount>>;
|
|
808
|
+
getAccountsAsync(userFlow: string): Task<IEnumerable<IAccount>>;
|
|
809
|
+
getAccountsAsync(userFlow: string, cancellationToken?: CancellationToken): Task<IEnumerable<IAccount>>;
|
|
810
|
+
removeAsync(account: IAccount): Task;
|
|
811
|
+
removeAsync(account: IAccount, cancellationToken?: CancellationToken): Task;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
export const ClientApplicationBase: {
|
|
816
|
+
};
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
export interface __ClientApplicationBase$views {
|
|
820
|
+
As_IClientApplicationBase(): IClientApplicationBase$instance;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
export type ClientApplicationBase = ClientApplicationBase$instance & __ClientApplicationBase$views;
|
|
824
|
+
|
|
825
|
+
|
|
826
|
+
export interface ConfidentialClientApplication$instance extends ClientApplicationBase$instance, IApplicationBase {
|
|
827
|
+
readonly appTokenCache: ITokenCache;
|
|
828
|
+
readonly certificate: X509Certificate2 | undefined;
|
|
829
|
+
acquireTokenByAuthorizationCode(scopes: IEnumerable<System_Internal.String>, authorizationCode: string): AcquireTokenByAuthorizationCodeParameterBuilder;
|
|
830
|
+
acquireTokenForClient(scopes: IEnumerable<System_Internal.String>): AcquireTokenForClientParameterBuilder;
|
|
831
|
+
acquireTokenInLongRunningProcess(scopes: IEnumerable<System_Internal.String>, longRunningProcessSessionKey: string): AcquireTokenOnBehalfOfParameterBuilder;
|
|
832
|
+
acquireTokenOnBehalfOf(scopes: IEnumerable<System_Internal.String>, userAssertion: UserAssertion): AcquireTokenOnBehalfOfParameterBuilder;
|
|
833
|
+
acquireTokenSilent(scopes: IEnumerable<System_Internal.String>, account: IAccount): AcquireTokenSilentParameterBuilder;
|
|
834
|
+
acquireTokenSilent(scopes: IEnumerable<System_Internal.String>, loginHint: string): AcquireTokenSilentParameterBuilder;
|
|
835
|
+
getAccountAsync(accountId: string, cancellationToken?: CancellationToken): Task<IAccount>;
|
|
836
|
+
getAccountAsync(accountId: string): Task<IAccount>;
|
|
837
|
+
getAccountsAsync(): Task<IEnumerable<IAccount>>;
|
|
838
|
+
getAccountsAsync(cancellationToken?: CancellationToken): Task<IEnumerable<IAccount>>;
|
|
839
|
+
getAccountsAsync(userFlow: string): Task<IEnumerable<IAccount>>;
|
|
840
|
+
getAccountsAsync(userFlow: string, cancellationToken?: CancellationToken): Task<IEnumerable<IAccount>>;
|
|
841
|
+
getAuthorizationRequestUrl(scopes: IEnumerable<System_Internal.String>): GetAuthorizationRequestUrlParameterBuilder;
|
|
842
|
+
initiateLongRunningProcessInWebApi(scopes: IEnumerable<System_Internal.String>, userToken: string, longRunningProcessSessionKey: string): AcquireTokenOnBehalfOfParameterBuilder;
|
|
843
|
+
removeAsync(account: IAccount): Task;
|
|
844
|
+
removeAsync(account: IAccount, cancellationToken?: CancellationToken): Task;
|
|
845
|
+
stopLongRunningProcessInWebApiAsync(longRunningProcessSessionKey: string, cancellationToken?: CancellationToken): Task<System_Internal.Boolean>;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
export const ConfidentialClientApplication: {
|
|
850
|
+
new(): ConfidentialClientApplication;
|
|
851
|
+
readonly attemptRegionDiscovery: string;
|
|
852
|
+
};
|
|
853
|
+
|
|
854
|
+
|
|
855
|
+
export interface __ConfidentialClientApplication$views {
|
|
856
|
+
As_IByRefreshToken(): IByRefreshToken$instance;
|
|
857
|
+
As_IByUsernameAndPassword(): IByUsernameAndPassword$instance;
|
|
858
|
+
As_IClientApplicationBase(): IClientApplicationBase$instance;
|
|
859
|
+
As_IConfidentialClientApplication(): IConfidentialClientApplication$instance;
|
|
860
|
+
As_ILongRunningWebApi(): ILongRunningWebApi$instance;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
export interface ConfidentialClientApplication$instance extends IByRefreshToken$instance, IByUsernameAndPassword$instance, ILongRunningWebApi$instance {}
|
|
864
|
+
|
|
865
|
+
export type ConfidentialClientApplication = ConfidentialClientApplication$instance & __ConfidentialClientApplication$views;
|
|
866
|
+
|
|
867
|
+
|
|
868
|
+
export interface ConfidentialClientApplicationBuilder$instance extends AbstractApplicationBuilder_1<ConfidentialClientApplicationBuilder> {
|
|
869
|
+
build(): IConfidentialClientApplication;
|
|
870
|
+
withAzureRegion(azureRegion?: string): ConfidentialClientApplicationBuilder;
|
|
871
|
+
withCacheSynchronization(enableCacheSynchronization: boolean): ConfidentialClientApplicationBuilder;
|
|
872
|
+
withCertificate(certificate: X509Certificate2): ConfidentialClientApplicationBuilder;
|
|
873
|
+
withCertificate(certificate: X509Certificate2, sendX5C: boolean): ConfidentialClientApplicationBuilder;
|
|
874
|
+
withClientAssertion(signedClientAssertion: string): ConfidentialClientApplicationBuilder;
|
|
875
|
+
withClientAssertion(clientAssertionDelegate: Func<System_Internal.String>): ConfidentialClientApplicationBuilder;
|
|
876
|
+
withClientAssertion(clientAssertionAsyncDelegate: Func<CancellationToken, Task<System_Internal.String>>): ConfidentialClientApplicationBuilder;
|
|
877
|
+
withClientAssertion(clientAssertionAsyncDelegate: Func<AssertionRequestOptions, Task<System_Internal.String>>): ConfidentialClientApplicationBuilder;
|
|
878
|
+
withClientClaims(certificate: X509Certificate2, claimsToSign: IDictionary<System_Internal.String, System_Internal.String>, mergeWithDefaultClaims: boolean): ConfidentialClientApplicationBuilder;
|
|
879
|
+
withClientClaims(certificate: X509Certificate2, claimsToSign: IDictionary<System_Internal.String, System_Internal.String>, mergeWithDefaultClaims?: boolean, sendX5C?: boolean): ConfidentialClientApplicationBuilder;
|
|
880
|
+
withClientSecret(clientSecret: string): ConfidentialClientApplicationBuilder;
|
|
881
|
+
withGenericAuthority(authorityUri: string): ConfidentialClientApplicationBuilder;
|
|
882
|
+
withOidcAuthority(authorityUri: string): ConfidentialClientApplicationBuilder;
|
|
883
|
+
withTelemetryClient(...telemetryClients: ITelemetryClient[]): ConfidentialClientApplicationBuilder;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
export const ConfidentialClientApplicationBuilder: {
|
|
888
|
+
new(): ConfidentialClientApplicationBuilder;
|
|
889
|
+
create(clientId: string): ConfidentialClientApplicationBuilder;
|
|
890
|
+
createWithApplicationOptions(options: ConfidentialClientApplicationOptions): ConfidentialClientApplicationBuilder;
|
|
891
|
+
};
|
|
892
|
+
|
|
893
|
+
|
|
894
|
+
export type ConfidentialClientApplicationBuilder = ConfidentialClientApplicationBuilder$instance;
|
|
895
|
+
|
|
896
|
+
export interface ConfidentialClientApplicationOptions$instance extends ApplicationOptions {
|
|
897
|
+
azureRegion: string;
|
|
898
|
+
clientSecret: string;
|
|
899
|
+
enableCacheSynchronization: boolean;
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
export const ConfidentialClientApplicationOptions: {
|
|
904
|
+
new(): ConfidentialClientApplicationOptions;
|
|
905
|
+
};
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
export type ConfidentialClientApplicationOptions = ConfidentialClientApplicationOptions$instance;
|
|
909
|
+
|
|
910
|
+
export interface DeviceCodeResult$instance {
|
|
911
|
+
readonly clientId: string;
|
|
912
|
+
readonly deviceCode: string;
|
|
913
|
+
readonly expiresOn: DateTimeOffset;
|
|
914
|
+
readonly interval: long;
|
|
915
|
+
readonly message: string | undefined;
|
|
916
|
+
readonly scopes: IReadOnlyCollection<System_Internal.String>;
|
|
917
|
+
readonly userCode: string;
|
|
918
|
+
readonly verificationUrl: string;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
export const DeviceCodeResult: {
|
|
923
|
+
new(): DeviceCodeResult;
|
|
924
|
+
};
|
|
925
|
+
|
|
926
|
+
|
|
927
|
+
export type DeviceCodeResult = DeviceCodeResult$instance;
|
|
928
|
+
|
|
929
|
+
export interface EmbeddedWebViewOptions$instance {
|
|
930
|
+
title: string;
|
|
931
|
+
webView2BrowserExecutableFolder: string;
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
export const EmbeddedWebViewOptions: {
|
|
936
|
+
new(): EmbeddedWebViewOptions;
|
|
937
|
+
};
|
|
938
|
+
|
|
939
|
+
|
|
940
|
+
export type EmbeddedWebViewOptions = EmbeddedWebViewOptions$instance;
|
|
941
|
+
|
|
942
|
+
export interface GetAuthorizationRequestUrlParameterBuilder$instance extends AbstractConfidentialClientAcquireTokenParameterBuilder_1<GetAuthorizationRequestUrlParameterBuilder> {
|
|
943
|
+
executeAsync(cancellationToken: CancellationToken): Task<Uri>;
|
|
944
|
+
executeAsync(): Task<Uri>;
|
|
945
|
+
executeAsync(cancellationToken: CancellationToken): Task<AuthenticationResult>;
|
|
946
|
+
executeAsync(): Task<AuthenticationResult>;
|
|
947
|
+
withAccount(account: IAccount): GetAuthorizationRequestUrlParameterBuilder;
|
|
948
|
+
withCcsRoutingHint(userObjectIdentifier: string, tenantIdentifier: string): GetAuthorizationRequestUrlParameterBuilder;
|
|
949
|
+
withExtraScopesToConsent(extraScopesToConsent: IEnumerable<System_Internal.String>): GetAuthorizationRequestUrlParameterBuilder;
|
|
950
|
+
withLoginHint(loginHint: string): GetAuthorizationRequestUrlParameterBuilder;
|
|
951
|
+
withPkce(codeVerifier: string): GetAuthorizationRequestUrlParameterBuilder;
|
|
952
|
+
withPrompt(prompt: Prompt): GetAuthorizationRequestUrlParameterBuilder;
|
|
953
|
+
withRedirectUri(redirectUri: string): GetAuthorizationRequestUrlParameterBuilder;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
|
|
957
|
+
export const GetAuthorizationRequestUrlParameterBuilder: {
|
|
958
|
+
new(): GetAuthorizationRequestUrlParameterBuilder;
|
|
959
|
+
};
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
export type GetAuthorizationRequestUrlParameterBuilder = GetAuthorizationRequestUrlParameterBuilder$instance;
|
|
963
|
+
|
|
964
|
+
export interface IntuneAppProtectionPolicyRequiredException$instance extends MsalServiceException {
|
|
965
|
+
accountUserId: string;
|
|
966
|
+
authorityUrl: string;
|
|
967
|
+
tenantId: string;
|
|
968
|
+
upn: string;
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
|
|
972
|
+
export const IntuneAppProtectionPolicyRequiredException: {
|
|
973
|
+
new(errorCode: string, errorMessage: string): IntuneAppProtectionPolicyRequiredException;
|
|
974
|
+
};
|
|
975
|
+
|
|
976
|
+
|
|
977
|
+
export type IntuneAppProtectionPolicyRequiredException = IntuneAppProtectionPolicyRequiredException$instance;
|
|
978
|
+
|
|
979
|
+
export interface ManagedIdentityApplication$instance extends ApplicationBase, IApplicationBase {
|
|
980
|
+
acquireTokenForManagedIdentity(resource: string): AcquireTokenForManagedIdentityParameterBuilder;
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
|
|
984
|
+
export const ManagedIdentityApplication: {
|
|
985
|
+
new(): ManagedIdentityApplication;
|
|
986
|
+
getManagedIdentitySource(): ManagedIdentitySource;
|
|
987
|
+
};
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
export interface __ManagedIdentityApplication$views {
|
|
991
|
+
As_IManagedIdentityApplication(): IManagedIdentityApplication$instance;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
export interface ManagedIdentityApplication$instance extends IManagedIdentityApplication$instance {}
|
|
995
|
+
|
|
996
|
+
export type ManagedIdentityApplication = ManagedIdentityApplication$instance & __ManagedIdentityApplication$views;
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
export interface ManagedIdentityApplicationBuilder$instance extends BaseAbstractApplicationBuilder_1<ManagedIdentityApplicationBuilder> {
|
|
1000
|
+
build(): IManagedIdentityApplication;
|
|
1001
|
+
withClientCapabilities(clientCapabilities: IEnumerable<System_Internal.String>): ManagedIdentityApplicationBuilder;
|
|
1002
|
+
withTelemetryClient(...telemetryClients: ITelemetryClient[]): ManagedIdentityApplicationBuilder;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
export const ManagedIdentityApplicationBuilder: {
|
|
1007
|
+
new(): ManagedIdentityApplicationBuilder;
|
|
1008
|
+
create(managedIdentityId: ManagedIdentityId): ManagedIdentityApplicationBuilder;
|
|
1009
|
+
};
|
|
1010
|
+
|
|
1011
|
+
|
|
1012
|
+
export type ManagedIdentityApplicationBuilder = ManagedIdentityApplicationBuilder$instance;
|
|
1013
|
+
|
|
1014
|
+
export interface Metrics$instance {
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
export const Metrics: {
|
|
1019
|
+
new(): Metrics;
|
|
1020
|
+
readonly totalAccessTokensFromIdP: long;
|
|
1021
|
+
readonly totalAccessTokensFromCache: long;
|
|
1022
|
+
readonly totalAccessTokensFromBroker: long;
|
|
1023
|
+
readonly totalDurationInMs: long;
|
|
1024
|
+
};
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
export type Metrics = Metrics$instance;
|
|
1028
|
+
|
|
1029
|
+
export interface MsalClaimsChallengeException$instance extends MsalUiRequiredException {
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
|
|
1033
|
+
export const MsalClaimsChallengeException: {
|
|
1034
|
+
new(errorCode: string, errorMessage: string): MsalClaimsChallengeException;
|
|
1035
|
+
new(errorCode: string, errorMessage: string, innerException: Exception): MsalClaimsChallengeException;
|
|
1036
|
+
new(errorCode: string, errorMessage: string, innerException: Exception, classification: UiRequiredExceptionClassification): MsalClaimsChallengeException;
|
|
1037
|
+
};
|
|
1038
|
+
|
|
1039
|
+
|
|
1040
|
+
export type MsalClaimsChallengeException = MsalClaimsChallengeException$instance;
|
|
1041
|
+
|
|
1042
|
+
export interface MsalClientException$instance extends MsalException {
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
export const MsalClientException: {
|
|
1047
|
+
new(errorCode: string): MsalClientException;
|
|
1048
|
+
new(errorCode: string, errorMessage: string): MsalClientException;
|
|
1049
|
+
new(errorCode: string, errorMessage: string, innerException: Exception): MsalClientException;
|
|
1050
|
+
};
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
export type MsalClientException = MsalClientException$instance;
|
|
1054
|
+
|
|
1055
|
+
export interface MsalException$instance extends Exception {
|
|
1056
|
+
additionalExceptionData: IReadOnlyDictionary<System_Internal.String, System_Internal.String>;
|
|
1057
|
+
correlationId: string;
|
|
1058
|
+
readonly errorCode: string | undefined;
|
|
1059
|
+
isRetryable: boolean;
|
|
1060
|
+
toJsonString(): string;
|
|
1061
|
+
toString(): string;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
|
|
1065
|
+
export const MsalException: {
|
|
1066
|
+
new(): MsalException;
|
|
1067
|
+
new(errorCode: string): MsalException;
|
|
1068
|
+
new(errorCode: string, errorMessage: string): MsalException;
|
|
1069
|
+
new(errorCode: string, errorMessage: string, innerException: Exception): MsalException;
|
|
1070
|
+
readonly brokerErrorContext: string;
|
|
1071
|
+
readonly brokerErrorTag: string;
|
|
1072
|
+
readonly brokerErrorStatus: string;
|
|
1073
|
+
readonly brokerErrorCode: string;
|
|
1074
|
+
readonly brokerTelemetry: string;
|
|
1075
|
+
readonly managedIdentitySource: string;
|
|
1076
|
+
fromJsonString(json: string): MsalException;
|
|
1077
|
+
};
|
|
1078
|
+
|
|
1079
|
+
|
|
1080
|
+
export type MsalException = MsalException$instance;
|
|
1081
|
+
|
|
1082
|
+
export interface MsalManagedIdentityException$instance extends MsalServiceException {
|
|
1083
|
+
readonly managedIdentitySource: ManagedIdentitySource;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
|
|
1087
|
+
export const MsalManagedIdentityException: {
|
|
1088
|
+
new(errorCode: string, errorMessage: string, source: ManagedIdentitySource): MsalManagedIdentityException;
|
|
1089
|
+
new(errorCode: string, errorMessage: string, source: ManagedIdentitySource, statusCode: int): MsalManagedIdentityException;
|
|
1090
|
+
new(errorCode: string, errorMessage: string, innerException: Exception, source: ManagedIdentitySource, statusCode: int): MsalManagedIdentityException;
|
|
1091
|
+
new(errorCode: string, errorMessage: string, innerException: Exception, source: ManagedIdentitySource): MsalManagedIdentityException;
|
|
1092
|
+
};
|
|
1093
|
+
|
|
1094
|
+
|
|
1095
|
+
export type MsalManagedIdentityException = MsalManagedIdentityException$instance;
|
|
1096
|
+
|
|
1097
|
+
export interface MsalServiceException$instance extends MsalException {
|
|
1098
|
+
readonly claims: string;
|
|
1099
|
+
headers: HttpResponseHeaders;
|
|
1100
|
+
responseBody: string;
|
|
1101
|
+
readonly statusCode: int;
|
|
1102
|
+
toString(): string;
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
export const MsalServiceException: {
|
|
1107
|
+
new(errorCode: string, errorMessage: string): MsalServiceException;
|
|
1108
|
+
new(errorCode: string, errorMessage: string, statusCode: int): MsalServiceException;
|
|
1109
|
+
new(errorCode: string, errorMessage: string, innerException: Exception): MsalServiceException;
|
|
1110
|
+
new(errorCode: string, errorMessage: string, statusCode: int, innerException: Exception): MsalServiceException;
|
|
1111
|
+
new(errorCode: string, errorMessage: string, statusCode: int, claims: string, innerException: Exception): MsalServiceException;
|
|
1112
|
+
};
|
|
1113
|
+
|
|
1114
|
+
|
|
1115
|
+
export type MsalServiceException = MsalServiceException$instance;
|
|
1116
|
+
|
|
1117
|
+
export interface MsalThrottledServiceException$instance extends MsalServiceException {
|
|
1118
|
+
readonly originalServiceException: MsalServiceException;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
|
|
1122
|
+
export const MsalThrottledServiceException: {
|
|
1123
|
+
new(originalException: MsalServiceException): MsalThrottledServiceException;
|
|
1124
|
+
};
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
export type MsalThrottledServiceException = MsalThrottledServiceException$instance;
|
|
1128
|
+
|
|
1129
|
+
export interface MsalThrottledUiRequiredException$instance extends MsalUiRequiredException {
|
|
1130
|
+
readonly originalServiceException: MsalUiRequiredException;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
|
|
1134
|
+
export const MsalThrottledUiRequiredException: {
|
|
1135
|
+
new(originalException: MsalUiRequiredException): MsalThrottledUiRequiredException;
|
|
1136
|
+
};
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
|
+
export type MsalThrottledUiRequiredException = MsalThrottledUiRequiredException$instance;
|
|
1140
|
+
|
|
1141
|
+
export interface MsalUiRequiredException$instance extends MsalServiceException {
|
|
1142
|
+
readonly classification: UiRequiredExceptionClassification;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
|
|
1146
|
+
export const MsalUiRequiredException: {
|
|
1147
|
+
new(errorCode: string, errorMessage: string): MsalUiRequiredException;
|
|
1148
|
+
new(errorCode: string, errorMessage: string, innerException: Exception): MsalUiRequiredException;
|
|
1149
|
+
new(errorCode: string, errorMessage: string, innerException: Exception, classification: UiRequiredExceptionClassification): MsalUiRequiredException;
|
|
1150
|
+
};
|
|
1151
|
+
|
|
1152
|
+
|
|
1153
|
+
export type MsalUiRequiredException = MsalUiRequiredException$instance;
|
|
1154
|
+
|
|
1155
|
+
export interface PublicClientApplication$instance extends ClientApplicationBase$instance, IApplicationBase {
|
|
1156
|
+
readonly isSystemWebViewAvailable: boolean;
|
|
1157
|
+
acquireTokenByIntegratedWindowsAuth(scopes: IEnumerable<System_Internal.String>): AcquireTokenByIntegratedWindowsAuthParameterBuilder;
|
|
1158
|
+
acquireTokenByUsernamePassword(scopes: IEnumerable<System_Internal.String>, username: string, password: SecureString): AcquireTokenByUsernamePasswordParameterBuilder;
|
|
1159
|
+
acquireTokenByUsernamePassword(scopes: IEnumerable<System_Internal.String>, username: string, password: string): AcquireTokenByUsernamePasswordParameterBuilder;
|
|
1160
|
+
acquireTokenInteractive(scopes: IEnumerable<System_Internal.String>): AcquireTokenInteractiveParameterBuilder;
|
|
1161
|
+
acquireTokenSilent(scopes: IEnumerable<System_Internal.String>, account: IAccount): AcquireTokenSilentParameterBuilder;
|
|
1162
|
+
acquireTokenSilent(scopes: IEnumerable<System_Internal.String>, loginHint: string): AcquireTokenSilentParameterBuilder;
|
|
1163
|
+
acquireTokenWithDeviceCode(scopes: IEnumerable<System_Internal.String>, deviceCodeResultCallback: Func<DeviceCodeResult, Task>): AcquireTokenWithDeviceCodeParameterBuilder;
|
|
1164
|
+
getAccountAsync(accountId: string, cancellationToken?: CancellationToken): Task<IAccount>;
|
|
1165
|
+
getAccountAsync(accountId: string): Task<IAccount>;
|
|
1166
|
+
getAccountsAsync(): Task<IEnumerable<IAccount>>;
|
|
1167
|
+
getAccountsAsync(cancellationToken?: CancellationToken): Task<IEnumerable<IAccount>>;
|
|
1168
|
+
getAccountsAsync(userFlow: string): Task<IEnumerable<IAccount>>;
|
|
1169
|
+
getAccountsAsync(userFlow: string, cancellationToken?: CancellationToken): Task<IEnumerable<IAccount>>;
|
|
1170
|
+
isBrokerAvailable(): boolean;
|
|
1171
|
+
isEmbeddedWebViewAvailable(): boolean;
|
|
1172
|
+
isProofOfPossessionSupportedByClient(): boolean;
|
|
1173
|
+
isUserInteractive(): boolean;
|
|
1174
|
+
removeAsync(account: IAccount): Task;
|
|
1175
|
+
removeAsync(account: IAccount, cancellationToken?: CancellationToken): Task;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
|
|
1179
|
+
export const PublicClientApplication: {
|
|
1180
|
+
new(): PublicClientApplication;
|
|
1181
|
+
readonly operatingSystemAccount: IAccount;
|
|
1182
|
+
};
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
export interface __PublicClientApplication$views {
|
|
1186
|
+
As_IByRefreshToken(): IByRefreshToken$instance;
|
|
1187
|
+
As_IClientApplicationBase(): IClientApplicationBase$instance;
|
|
1188
|
+
As_IPublicClientApplication(): IPublicClientApplication$instance;
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
export interface PublicClientApplication$instance extends IByRefreshToken$instance {}
|
|
1192
|
+
|
|
1193
|
+
export type PublicClientApplication = PublicClientApplication$instance & __PublicClientApplication$views;
|
|
1194
|
+
|
|
1195
|
+
|
|
1196
|
+
export interface PublicClientApplicationBuilder$instance extends AbstractApplicationBuilder_1<PublicClientApplicationBuilder> {
|
|
1197
|
+
build(): IPublicClientApplication;
|
|
1198
|
+
isBrokerAvailable(): boolean;
|
|
1199
|
+
withBroker(enableBroker?: boolean): PublicClientApplicationBuilder;
|
|
1200
|
+
withDefaultRedirectUri(): PublicClientApplicationBuilder;
|
|
1201
|
+
withIosKeychainSecurityGroup(keychainSecurityGroup: string): PublicClientApplicationBuilder;
|
|
1202
|
+
withKerberosTicketClaim(servicePrincipalName: string, ticketContainer: KerberosTicketContainer): PublicClientApplicationBuilder;
|
|
1203
|
+
withMultiCloudSupport(enableMultiCloudSupport: boolean): PublicClientApplicationBuilder;
|
|
1204
|
+
withOidcAuthority(authorityUri: string): PublicClientApplicationBuilder;
|
|
1205
|
+
withParentActivityOrWindow(parentActivityOrWindowFunc: Func<unknown>): PublicClientApplicationBuilder;
|
|
1206
|
+
withParentActivityOrWindow(windowFunc: Func<System_Internal.IntPtr>): PublicClientApplicationBuilder;
|
|
1207
|
+
withWindowsBrokerOptions(options: WindowsBrokerOptions): PublicClientApplicationBuilder;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
|
|
1211
|
+
export const PublicClientApplicationBuilder: {
|
|
1212
|
+
new(): PublicClientApplicationBuilder;
|
|
1213
|
+
create(clientId: string): PublicClientApplicationBuilder;
|
|
1214
|
+
createWithApplicationOptions(options: PublicClientApplicationOptions): PublicClientApplicationBuilder;
|
|
1215
|
+
};
|
|
1216
|
+
|
|
1217
|
+
|
|
1218
|
+
export type PublicClientApplicationBuilder = PublicClientApplicationBuilder$instance;
|
|
1219
|
+
|
|
1220
|
+
export interface PublicClientApplicationOptions$instance extends ApplicationOptions {
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
|
|
1224
|
+
export const PublicClientApplicationOptions: {
|
|
1225
|
+
new(): PublicClientApplicationOptions;
|
|
1226
|
+
};
|
|
1227
|
+
|
|
1228
|
+
|
|
1229
|
+
export type PublicClientApplicationOptions = PublicClientApplicationOptions$instance;
|
|
1230
|
+
|
|
1231
|
+
export interface RegionDetails$instance {
|
|
1232
|
+
readonly autoDetectionError: string;
|
|
1233
|
+
readonly regionOutcome: RegionOutcome;
|
|
1234
|
+
readonly regionUsed: string;
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
|
|
1238
|
+
export const RegionDetails: {
|
|
1239
|
+
new(regionOutcome: RegionOutcome, regionUsed: string, autoDetectionError: string): RegionDetails;
|
|
1240
|
+
};
|
|
1241
|
+
|
|
1242
|
+
|
|
1243
|
+
export type RegionDetails = RegionDetails$instance;
|
|
1244
|
+
|
|
1245
|
+
export interface SystemWebViewOptions$instance {
|
|
1246
|
+
browserRedirectError: Uri;
|
|
1247
|
+
browserRedirectSuccess: Uri;
|
|
1248
|
+
htmlMessageError: string;
|
|
1249
|
+
htmlMessageSuccess: string;
|
|
1250
|
+
iOSHidePrivacyPrompt: boolean;
|
|
1251
|
+
openBrowserAsync: Func<Uri, Task>;
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
export const SystemWebViewOptions: {
|
|
1256
|
+
new(): SystemWebViewOptions;
|
|
1257
|
+
openWithChromeEdgeBrowserAsync(uri: Uri): Task;
|
|
1258
|
+
openWithEdgeBrowserAsync(uri: Uri): Task;
|
|
1259
|
+
};
|
|
1260
|
+
|
|
1261
|
+
|
|
1262
|
+
export type SystemWebViewOptions = SystemWebViewOptions$instance;
|
|
1263
|
+
|
|
1264
|
+
export interface TenantProfile$instance {
|
|
1265
|
+
readonly claimsPrincipal: ClaimsPrincipal;
|
|
1266
|
+
readonly isHomeTenant: boolean;
|
|
1267
|
+
readonly oid: string;
|
|
1268
|
+
readonly tenantId: string;
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
|
|
1272
|
+
export const TenantProfile: {
|
|
1273
|
+
new(): TenantProfile;
|
|
1274
|
+
};
|
|
1275
|
+
|
|
1276
|
+
|
|
1277
|
+
export type TenantProfile = TenantProfile$instance;
|
|
1278
|
+
|
|
1279
|
+
export interface TokenCache$instance {
|
|
1280
|
+
setAfterAccess(afterAccess: TokenCacheCallback): void;
|
|
1281
|
+
setAfterAccessAsync(afterAccess: Func<TokenCacheNotificationArgs, Task>): void;
|
|
1282
|
+
setBeforeAccess(beforeAccess: TokenCacheCallback): void;
|
|
1283
|
+
setBeforeAccessAsync(beforeAccess: Func<TokenCacheNotificationArgs, Task>): void;
|
|
1284
|
+
setBeforeWrite(beforeWrite: TokenCacheCallback): void;
|
|
1285
|
+
setBeforeWriteAsync(beforeWrite: Func<TokenCacheNotificationArgs, Task>): void;
|
|
1286
|
+
setIosKeychainSecurityGroup(securityGroup: string): void;
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
|
|
1290
|
+
export const TokenCache: {
|
|
1291
|
+
new(): TokenCache;
|
|
1292
|
+
};
|
|
1293
|
+
|
|
1294
|
+
|
|
1295
|
+
export interface __TokenCache$views {
|
|
1296
|
+
As_ITokenCache(): ITokenCache$instance;
|
|
1297
|
+
As_ITokenCacheSerializer(): ITokenCacheSerializer$instance;
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
export interface TokenCache$instance extends ITokenCache$instance, ITokenCacheSerializer$instance {}
|
|
1301
|
+
|
|
1302
|
+
export type TokenCache = TokenCache$instance & __TokenCache$views;
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
export interface TokenCacheNotificationArgs$instance {
|
|
1306
|
+
readonly account: IAccount;
|
|
1307
|
+
readonly cancellationToken: CancellationToken;
|
|
1308
|
+
readonly clientId: string;
|
|
1309
|
+
readonly correlationId: Guid;
|
|
1310
|
+
readonly hasStateChanged: boolean;
|
|
1311
|
+
readonly hasTokens: boolean;
|
|
1312
|
+
readonly identityLogger: IIdentityLogger;
|
|
1313
|
+
readonly isApplicationCache: boolean;
|
|
1314
|
+
readonly noDistributedCacheUseReason: string;
|
|
1315
|
+
readonly piiLoggingEnabled: boolean;
|
|
1316
|
+
readonly requestScopes: IEnumerable<System_Internal.String>;
|
|
1317
|
+
readonly requestTenantId: string;
|
|
1318
|
+
readonly suggestedCacheExpiry: Nullable<DateTimeOffset>;
|
|
1319
|
+
readonly suggestedCacheKey: string;
|
|
1320
|
+
readonly telemetryData: TelemetryData;
|
|
1321
|
+
readonly tokenCache: ITokenCacheSerializer;
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
|
|
1325
|
+
export const TokenCacheNotificationArgs: {
|
|
1326
|
+
new(tokenCache: ITokenCacheSerializer, clientId: string, account: IAccount, hasStateChanged: boolean, isApplicationCache: boolean, suggestedCacheKey: string, hasTokens: boolean, suggestedCacheExpiry: Nullable<DateTimeOffset>, cancellationToken: CancellationToken): TokenCacheNotificationArgs;
|
|
1327
|
+
new(tokenCache: ITokenCacheSerializer, clientId: string, account: IAccount, hasStateChanged: boolean, isApplicationCache: boolean, suggestedCacheKey: string, hasTokens: boolean, suggestedCacheExpiry: Nullable<DateTimeOffset>, cancellationToken: CancellationToken, correlationId: Guid): TokenCacheNotificationArgs;
|
|
1328
|
+
new(tokenCache: ITokenCacheSerializer, clientId: string, account: IAccount, hasStateChanged: boolean, isApplicationCache: boolean, suggestedCacheKey: string, hasTokens: boolean, suggestedCacheExpiry: Nullable<DateTimeOffset>, cancellationToken: CancellationToken, correlationId: Guid, requestScopes: IEnumerable<System_Internal.String>, requestTenantId: string): TokenCacheNotificationArgs;
|
|
1329
|
+
new(tokenCache: ITokenCacheSerializer, clientId: string, account: IAccount, hasStateChanged: boolean, isApplicationCache: boolean, suggestedCacheKey: string, hasTokens: boolean, suggestedCacheExpiry: Nullable<DateTimeOffset>, cancellationToken: CancellationToken, correlationId: Guid, requestScopes: IEnumerable<System_Internal.String>, requestTenantId: string, identityLogger: IIdentityLogger, piiLoggingEnabled: boolean, telemetryData: TelemetryData): TokenCacheNotificationArgs;
|
|
1330
|
+
};
|
|
1331
|
+
|
|
1332
|
+
|
|
1333
|
+
export type TokenCacheNotificationArgs = TokenCacheNotificationArgs$instance;
|
|
1334
|
+
|
|
1335
|
+
export interface TraceTelemetryConfig$instance {
|
|
1336
|
+
readonly allowedScopes: IEnumerable<System_Internal.String>;
|
|
1337
|
+
readonly audienceType: TelemetryAudienceType;
|
|
1338
|
+
readonly dispatchAction: Action<ITelemetryEventPayload>;
|
|
1339
|
+
readonly sessionId: string;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
|
|
1343
|
+
export const TraceTelemetryConfig: {
|
|
1344
|
+
new(): TraceTelemetryConfig;
|
|
1345
|
+
};
|
|
1346
|
+
|
|
1347
|
+
|
|
1348
|
+
export interface __TraceTelemetryConfig$views {
|
|
1349
|
+
As_ITelemetryConfig(): ITelemetryConfig$instance;
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
export interface TraceTelemetryConfig$instance extends ITelemetryConfig$instance {}
|
|
1353
|
+
|
|
1354
|
+
export type TraceTelemetryConfig = TraceTelemetryConfig$instance & __TraceTelemetryConfig$views;
|
|
1355
|
+
|
|
1356
|
+
|
|
1357
|
+
export interface UserAssertion$instance {
|
|
1358
|
+
readonly assertion: string;
|
|
1359
|
+
readonly assertionType: string;
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
|
|
1363
|
+
export const UserAssertion: {
|
|
1364
|
+
new(jwtBearerToken: string): UserAssertion;
|
|
1365
|
+
new(assertion: string, assertionType: string): UserAssertion;
|
|
1366
|
+
};
|
|
1367
|
+
|
|
1368
|
+
|
|
1369
|
+
export type UserAssertion = UserAssertion$instance;
|
|
1370
|
+
|
|
1371
|
+
export interface WindowsBrokerOptions$instance {
|
|
1372
|
+
headerText: string;
|
|
1373
|
+
listWindowsWorkAndSchoolAccounts: boolean;
|
|
1374
|
+
msaPassthrough: boolean;
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
|
|
1378
|
+
export const WindowsBrokerOptions: {
|
|
1379
|
+
new(): WindowsBrokerOptions;
|
|
1380
|
+
};
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
export type WindowsBrokerOptions = WindowsBrokerOptions$instance;
|
|
1384
|
+
|
|
1385
|
+
export interface WwwAuthenticateParameters$instance {
|
|
1386
|
+
readonly authenticationScheme: string;
|
|
1387
|
+
authority: string;
|
|
1388
|
+
claims: string;
|
|
1389
|
+
error: string;
|
|
1390
|
+
readonly item: string;
|
|
1391
|
+
readonly nonce: string;
|
|
1392
|
+
resource: string;
|
|
1393
|
+
scopes: IEnumerable<System_Internal.String>;
|
|
1394
|
+
getTenantId(): string;
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
|
|
1398
|
+
export const WwwAuthenticateParameters: {
|
|
1399
|
+
new(): WwwAuthenticateParameters;
|
|
1400
|
+
createFromAuthenticationHeaders(httpResponseHeaders: HttpResponseHeaders, scheme: string): WwwAuthenticateParameters;
|
|
1401
|
+
createFromAuthenticationHeaders(httpResponseHeaders: HttpResponseHeaders): IReadOnlyList<WwwAuthenticateParameters>;
|
|
1402
|
+
createFromAuthenticationResponseAsync(resourceUri: string, httpClient: HttpClient, cancellationToken?: CancellationToken): Task<IReadOnlyList<WwwAuthenticateParameters>>;
|
|
1403
|
+
createFromAuthenticationResponseAsync(resourceUri: string, scheme: string, httpClient: HttpClient, cancellationToken?: CancellationToken): Task<WwwAuthenticateParameters>;
|
|
1404
|
+
createFromAuthenticationResponseAsync(resourceUri: string, scheme: string, cancellationToken?: CancellationToken): Task<WwwAuthenticateParameters>;
|
|
1405
|
+
createFromAuthenticationResponseAsync(resourceUri: string, cancellationToken?: CancellationToken): Task<IReadOnlyList<WwwAuthenticateParameters>>;
|
|
1406
|
+
createFromResourceResponseAsync(httpClient: HttpClient, resourceUri: string, cancellationToken?: CancellationToken): Task<WwwAuthenticateParameters>;
|
|
1407
|
+
createFromResourceResponseAsync(resourceUri: string, cancellationToken?: CancellationToken): Task<WwwAuthenticateParameters>;
|
|
1408
|
+
createFromResourceResponseAsync(resourceUri: string): Task<WwwAuthenticateParameters>;
|
|
1409
|
+
createFromResponseHeaders(httpResponseHeaders: HttpResponseHeaders, scheme?: string): WwwAuthenticateParameters;
|
|
1410
|
+
createFromWwwAuthenticateHeaderValue(wwwAuthenticateValue: string): WwwAuthenticateParameters;
|
|
1411
|
+
getClaimChallengeFromResponseHeaders(httpResponseHeaders: HttpResponseHeaders, scheme?: string): string;
|
|
1412
|
+
};
|
|
1413
|
+
|
|
1414
|
+
|
|
1415
|
+
export type WwwAuthenticateParameters = WwwAuthenticateParameters$instance;
|
|
1416
|
+
|
|
1417
|
+
export abstract class AccountExtensions$instance {
|
|
1418
|
+
static getTenantProfiles(account: IAccount): IEnumerable<TenantProfile>;
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
export type AccountExtensions = AccountExtensions$instance;
|
|
1423
|
+
|
|
1424
|
+
export abstract class MsalError$instance {
|
|
1425
|
+
static readonly invalidGrantError: string;
|
|
1426
|
+
static readonly interactionRequired: string;
|
|
1427
|
+
static readonly noTokensFoundError: string;
|
|
1428
|
+
static readonly userNullError: string;
|
|
1429
|
+
static readonly userAssertionNullError: string;
|
|
1430
|
+
static readonly currentBrokerAccount: string;
|
|
1431
|
+
static readonly noAccountForLoginHint: string;
|
|
1432
|
+
static readonly multipleAccountsForLoginHint: string;
|
|
1433
|
+
static readonly tokenCacheNullError: string;
|
|
1434
|
+
static readonly noPromptFailedError: string;
|
|
1435
|
+
static readonly serviceNotAvailable: string;
|
|
1436
|
+
static readonly requestTimeout: string;
|
|
1437
|
+
static readonly requestThrottled: string;
|
|
1438
|
+
static readonly upnRequired: string;
|
|
1439
|
+
static readonly missingPassiveAuthEndpoint: string;
|
|
1440
|
+
static readonly invalidAuthority: string;
|
|
1441
|
+
static readonly invalidAuthorityType: string;
|
|
1442
|
+
static readonly missingTenantedAuthority: string;
|
|
1443
|
+
static readonly unauthorizedClient: string;
|
|
1444
|
+
static readonly unknownError: string;
|
|
1445
|
+
static readonly unknownBrokerError: string;
|
|
1446
|
+
static readonly wamFailedToSignout: string;
|
|
1447
|
+
static readonly authenticationFailed: string;
|
|
1448
|
+
static readonly authorityValidationFailed: string;
|
|
1449
|
+
static readonly invalidOwnerWindowType: string;
|
|
1450
|
+
static readonly encodedTokenTooLong: string;
|
|
1451
|
+
static readonly userMismatch: string;
|
|
1452
|
+
static readonly failedToRefreshToken: string;
|
|
1453
|
+
static readonly failedToAcquireTokenSilentlyFromBroker: string;
|
|
1454
|
+
static readonly redirectUriValidationFailed: string;
|
|
1455
|
+
static readonly authenticationUiFailed: string;
|
|
1456
|
+
static readonly internalError: string;
|
|
1457
|
+
static readonly accessingWsMetadataExchangeFailed: string;
|
|
1458
|
+
static readonly federatedServiceReturnedError: string;
|
|
1459
|
+
static readonly userRealmDiscoveryFailed: string;
|
|
1460
|
+
static readonly ropcDoesNotSupportMsaAccounts: string;
|
|
1461
|
+
static readonly missingFederationMetadataUrl: string;
|
|
1462
|
+
static readonly parsingWsMetadataExchangeFailed: string;
|
|
1463
|
+
static readonly wsTrustEndpointNotFoundInMetadataDocument: string;
|
|
1464
|
+
static readonly parsingWsTrustResponseFailed: string;
|
|
1465
|
+
static readonly integratedWindowsAuthenticationFailed: string;
|
|
1466
|
+
static readonly unknownUserType: string;
|
|
1467
|
+
static readonly unknownUser: string;
|
|
1468
|
+
static readonly getUserNameFailed: string;
|
|
1469
|
+
static readonly passwordRequiredForManagedUserError: string;
|
|
1470
|
+
static readonly invalidRequest: string;
|
|
1471
|
+
static readonly uapCannotFindDomainUser: string;
|
|
1472
|
+
static readonly uapCannotFindUpn: string;
|
|
1473
|
+
static readonly nonParsableOAuthError: string;
|
|
1474
|
+
static readonly codeExpired: string;
|
|
1475
|
+
static readonly integratedWindowsAuthNotSupportedForManagedUser: string;
|
|
1476
|
+
static readonly activityRequired: string;
|
|
1477
|
+
static readonly brokerResponseHashMismatch: string;
|
|
1478
|
+
static readonly brokerResponseReturnedError: string;
|
|
1479
|
+
static readonly brokerNonceMismatch: string;
|
|
1480
|
+
static readonly cannotInvokeBroker: string;
|
|
1481
|
+
static readonly noAndroidBrokerAccountFound: string;
|
|
1482
|
+
static readonly noAndroidBrokerInstalledOnDevice: string;
|
|
1483
|
+
static readonly nullIntentReturnedFromAndroidBroker: string;
|
|
1484
|
+
static readonly androidBrokerSignatureVerificationFailed: string;
|
|
1485
|
+
static readonly androidBrokerOperationFailed: string;
|
|
1486
|
+
static readonly noUsernameOrAccountIDProvidedForSilentAndroidBrokerAuthentication: string;
|
|
1487
|
+
static readonly httpStatusNotFound: string;
|
|
1488
|
+
static readonly httpStatusCodeNotOk: string;
|
|
1489
|
+
static readonly customWebUiReturnedInvalidUri: string;
|
|
1490
|
+
static readonly customWebUiRedirectUriMismatch: string;
|
|
1491
|
+
static readonly accessDenied: string;
|
|
1492
|
+
static readonly cannotAccessUserInformationOrUserNotDomainJoined: string;
|
|
1493
|
+
static readonly defaultRedirectUriIsInvalid: string;
|
|
1494
|
+
static readonly noRedirectUri: string;
|
|
1495
|
+
static readonly multipleTokensMatchedError: string;
|
|
1496
|
+
static readonly nonHttpsRedirectNotSupported: string;
|
|
1497
|
+
static readonly networkNotAvailableError: string;
|
|
1498
|
+
static readonly b2CAuthorityHostMismatch: string;
|
|
1499
|
+
static readonly authorityHostMismatch: string;
|
|
1500
|
+
static readonly duplicateQueryParameterError: string;
|
|
1501
|
+
static readonly authenticationUiFailedError: string;
|
|
1502
|
+
static readonly authenticationCanceledError: string;
|
|
1503
|
+
static readonly jsonParseError: string;
|
|
1504
|
+
static readonly invalidJwtError: string;
|
|
1505
|
+
static readonly stateMismatchError: string;
|
|
1506
|
+
static readonly tenantDiscoveryFailedError: string;
|
|
1507
|
+
static readonly platformNotSupported: string;
|
|
1508
|
+
static readonly invalidAuthorizationUri: string;
|
|
1509
|
+
static readonly loopbackRedirectUri: string;
|
|
1510
|
+
static readonly loopbackResponseUriMismatch: string;
|
|
1511
|
+
static readonly linuxXdgOpen: string;
|
|
1512
|
+
static readonly webviewUnavailable: string;
|
|
1513
|
+
static readonly systemWebviewOptionsNotApplicable: string;
|
|
1514
|
+
static readonly clientCredentialAuthenticationTypesAreMutuallyExclusive: string;
|
|
1515
|
+
static readonly clientCredentialAuthenticationTypeMustBeDefined: string;
|
|
1516
|
+
static readonly invalidInstance: string;
|
|
1517
|
+
static readonly invalidUserInstanceMetadata: string;
|
|
1518
|
+
static readonly validateAuthorityOrCustomMetadata: string;
|
|
1519
|
+
static readonly noClientId: string;
|
|
1520
|
+
static readonly telemetryConfigOrTelemetryCallback: string;
|
|
1521
|
+
static readonly invalidClient: string;
|
|
1522
|
+
static readonly sshCertUsedAsHttpHeader: string;
|
|
1523
|
+
static readonly wabError: string;
|
|
1524
|
+
static readonly tokenTypeMismatch: string;
|
|
1525
|
+
static readonly accessTokenTypeMissing: string;
|
|
1526
|
+
static readonly experimentalFeature: string;
|
|
1527
|
+
static readonly brokerApplicationRequired: string;
|
|
1528
|
+
static readonly failedToGetBrokerResponse: string;
|
|
1529
|
+
static readonly invalidJsonClaimsFormat: string;
|
|
1530
|
+
static readonly authorityTypeMismatch: string;
|
|
1531
|
+
static readonly authorityTenantSpecifiedTwice: string;
|
|
1532
|
+
static readonly customMetadataInstanceOrUri: string;
|
|
1533
|
+
static readonly scopesRequired: string;
|
|
1534
|
+
static readonly certWithoutPrivateKey: string;
|
|
1535
|
+
static readonly certificateNotRsa: string;
|
|
1536
|
+
static readonly deviceCertificateNotFound: string;
|
|
1537
|
+
static readonly invalidAdalCacheMultipleRTs: string;
|
|
1538
|
+
static readonly regionDiscoveryFailed: string;
|
|
1539
|
+
static readonly regionDiscoveryNotEnabled: string;
|
|
1540
|
+
static readonly brokerDoesNotSupportPop: string;
|
|
1541
|
+
static readonly brokerRequiredForPop: string;
|
|
1542
|
+
static readonly adfsNotSupportedWithBroker: string;
|
|
1543
|
+
static readonly nonceRequiredForPopOnPCA: string;
|
|
1544
|
+
static readonly wamUiThread: string;
|
|
1545
|
+
static readonly wamNoB2C: string;
|
|
1546
|
+
static readonly wamInteractiveError: string;
|
|
1547
|
+
static readonly wamPickerError: string;
|
|
1548
|
+
static readonly wamScopesRequired: string;
|
|
1549
|
+
static readonly webView2NotInstalled: string;
|
|
1550
|
+
static readonly webView2LoaderNotFound: string;
|
|
1551
|
+
static readonly regionalAuthorityValidation: string;
|
|
1552
|
+
static readonly regionDiscoveryWithCustomInstanceMetadata: string;
|
|
1553
|
+
static readonly httpListenerError: string;
|
|
1554
|
+
static readonly initializeProcessSecurityError: string;
|
|
1555
|
+
static readonly staticCacheWithExternalSerialization: string;
|
|
1556
|
+
static readonly tenantOverrideNonAad: string;
|
|
1557
|
+
static readonly regionalAndAuthorityOverride: string;
|
|
1558
|
+
static readonly oboCacheKeyNotInCacheError: string;
|
|
1559
|
+
static readonly invalidTokenProviderResponseValue: string;
|
|
1560
|
+
static readonly unableToParseAuthenticationHeader: string;
|
|
1561
|
+
static readonly invalidManagedIdentityResponse: string;
|
|
1562
|
+
static readonly managedIdentityRequestFailed: string;
|
|
1563
|
+
static readonly managedIdentityResponseParseFailure: string;
|
|
1564
|
+
static readonly managedIdentityUnreachableNetwork: string;
|
|
1565
|
+
static readonly unknownManagedIdentityError: string;
|
|
1566
|
+
static readonly invalidManagedIdentityEndpoint: string;
|
|
1567
|
+
static readonly exactlyOneScopeExpected: string;
|
|
1568
|
+
static readonly userAssignedManagedIdentityNotSupported: string;
|
|
1569
|
+
static readonly userAssignedManagedIdentityNotConfigurableAtRuntime: string;
|
|
1570
|
+
static readonly combinedUserAppCacheNotSupported: string;
|
|
1571
|
+
static readonly setCiamAuthorityAtRequestLevelNotSupported: string;
|
|
1572
|
+
static readonly cryptographicError: string;
|
|
1573
|
+
static readonly mtlsPopWithoutRegion: string;
|
|
1574
|
+
static readonly mtlsCertificateNotProvided: string;
|
|
1575
|
+
static readonly regionRequiredForMtlsPop: string;
|
|
1576
|
+
static readonly forceRefreshNotCompatibleWithTokenHash: string;
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
|
|
1580
|
+
export type MsalError = MsalError$instance;
|
|
1581
|
+
|
|
1582
|
+
export abstract class OsCapabilitiesExtensions$instance {
|
|
1583
|
+
static getCertificate(confidentialClientApplication: IConfidentialClientApplication): X509Certificate2;
|
|
1584
|
+
static isEmbeddedWebViewAvailable(publicClientApplication: IPublicClientApplication): boolean;
|
|
1585
|
+
static isSystemWebViewAvailable(publicClientApplication: IPublicClientApplication): boolean;
|
|
1586
|
+
static isUserInteractive(publicClientApplication: IPublicClientApplication): boolean;
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
|
|
1590
|
+
export type OsCapabilitiesExtensions = OsCapabilitiesExtensions$instance;
|
|
1591
|
+
|
|
1592
|
+
export abstract class PublicClientApplicationExtensions$instance {
|
|
1593
|
+
static isProofOfPossessionSupportedByClient(app: IPublicClientApplication): boolean;
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
|
|
1597
|
+
export type PublicClientApplicationExtensions = PublicClientApplicationExtensions$instance;
|
|
1598
|
+
|
|
1599
|
+
export abstract class TokenCacheExtensions$instance {
|
|
1600
|
+
static setCacheOptions(tokenCache: ITokenCache, options: CacheOptions): void;
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
|
|
1604
|
+
export type TokenCacheExtensions = TokenCacheExtensions$instance;
|
|
1605
|
+
|