@azure/identity 4.1.0-alpha.20240325.2 → 4.1.0-alpha.20240328.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of @azure/identity might be problematic. Click here for more details.
- package/dist/index.js +29 -11
- package/dist/index.js.map +1 -1
- package/dist-esm/src/credentials/authorizationCodeCredential.js +1 -1
- package/dist-esm/src/credentials/authorizationCodeCredential.js.map +1 -1
- package/dist-esm/src/credentials/azureDeveloperCliCredential.js +1 -1
- package/dist-esm/src/credentials/azureDeveloperCliCredential.js.map +1 -1
- package/dist-esm/src/credentials/clientSecretCredential.js +1 -1
- package/dist-esm/src/credentials/clientSecretCredential.js.map +1 -1
- package/dist-esm/src/credentials/interactiveBrowserCredential.js +2 -2
- package/dist-esm/src/credentials/interactiveBrowserCredential.js.map +1 -1
- package/dist-esm/src/credentials/onBehalfOfCredential.browser.js +1 -1
- package/dist-esm/src/credentials/onBehalfOfCredential.browser.js.map +1 -1
- package/dist-esm/src/credentials/onBehalfOfCredential.js +1 -1
- package/dist-esm/src/credentials/onBehalfOfCredential.js.map +1 -1
- package/dist-esm/src/msal/nodeFlows/msalNodeCommon.js +3 -6
- package/dist-esm/src/msal/nodeFlows/msalNodeCommon.js.map +1 -1
- package/dist-esm/src/regionalAuthority.js +21 -0
- package/dist-esm/src/regionalAuthority.js.map +1 -1
- package/package.json +3 -2
- package/types/identity.d.ts +6 -6
package/types/identity.d.ts
CHANGED
|
@@ -131,7 +131,7 @@ export declare interface AuthorityValidationOptions {
|
|
|
131
131
|
* that was obtained through the authorization code flow, described in more detail
|
|
132
132
|
* in the Microsoft Entra ID documentation:
|
|
133
133
|
*
|
|
134
|
-
* https://learn.microsoft.com/
|
|
134
|
+
* https://learn.microsoft.com/entra/identity-platform/v2-oauth2-auth-code-flow
|
|
135
135
|
*/
|
|
136
136
|
export declare class AuthorizationCodeCredential implements TokenCredential {
|
|
137
137
|
private msalFlow;
|
|
@@ -283,7 +283,7 @@ export declare interface AzureCliCredentialOptions extends MultiTenantTokenCrede
|
|
|
283
283
|
* Azure Developer CLI is a command-line interface tool that allows developers to create, manage, and deploy
|
|
284
284
|
* resources in Azure. It's built on top of the Azure CLI and provides additional functionality specific
|
|
285
285
|
* to Azure developers. It allows users to authenticate as a user and/or a service principal against
|
|
286
|
-
* <a href="https://learn.microsoft.com/
|
|
286
|
+
* <a href="https://learn.microsoft.com/entra/fundamentals/">Microsoft Entra ID</a>. The
|
|
287
287
|
* AzureDeveloperCliCredential authenticates in a development environment and acquires a token on behalf of
|
|
288
288
|
* the logged-in user or service principal in the Azure Developer CLI. It acts as the Azure Developer CLI logged in user or
|
|
289
289
|
* service principal and executes an Azure CLI command underneath to authenticate the application against
|
|
@@ -656,7 +656,7 @@ export declare interface ClientCertificatePEMCertificatePath {
|
|
|
656
656
|
* that was generated for an App Registration. More information on how
|
|
657
657
|
* to configure a client secret can be found here:
|
|
658
658
|
*
|
|
659
|
-
* https://learn.microsoft.com/
|
|
659
|
+
* https://learn.microsoft.com/entra/identity-platform/quickstart-configure-app-access-web-apis#add-credentials-to-your-web-application
|
|
660
660
|
*
|
|
661
661
|
*/
|
|
662
662
|
export declare class ClientSecretCredential implements TokenCredential {
|
|
@@ -1094,12 +1094,12 @@ export declare class InteractiveBrowserCredential implements TokenCredential {
|
|
|
1094
1094
|
/**
|
|
1095
1095
|
* Creates an instance of InteractiveBrowserCredential with the details needed.
|
|
1096
1096
|
*
|
|
1097
|
-
* This credential uses the [Authorization Code Flow](https://learn.microsoft.com/
|
|
1097
|
+
* This credential uses the [Authorization Code Flow](https://learn.microsoft.com/entra/identity-platform/v2-oauth2-auth-code-flow).
|
|
1098
1098
|
* On Node.js, it will open a browser window while it listens for a redirect response from the authentication service.
|
|
1099
1099
|
* On browsers, it authenticates via popups. The `loginStyle` optional parameter can be set to `redirect` to authenticate by redirecting the user to an Azure secure login page, which then will redirect the user back to the web application where the authentication started.
|
|
1100
1100
|
*
|
|
1101
1101
|
* For Node.js, if a `clientId` is provided, the Microsoft Entra application will need to be configured to have a "Mobile and desktop applications" redirect endpoint.
|
|
1102
|
-
* Follow our guide on [setting up Redirect URIs for Desktop apps that calls to web APIs](https://learn.microsoft.com/
|
|
1102
|
+
* Follow our guide on [setting up Redirect URIs for Desktop apps that calls to web APIs](https://learn.microsoft.com/entra/identity-platform/scenario-desktop-app-registration#redirect-uris).
|
|
1103
1103
|
*
|
|
1104
1104
|
* @param options - Options for configuring the client which makes the authentication requests.
|
|
1105
1105
|
*/
|
|
@@ -1318,7 +1318,7 @@ export declare interface MultiTenantTokenCredentialOptions extends TokenCredenti
|
|
|
1318
1318
|
}
|
|
1319
1319
|
|
|
1320
1320
|
/**
|
|
1321
|
-
* Enables authentication to Microsoft Entra ID using the [On Behalf Of flow](https://learn.microsoft.com/
|
|
1321
|
+
* Enables authentication to Microsoft Entra ID using the [On Behalf Of flow](https://learn.microsoft.com/entra/identity-platform/v2-oauth2-on-behalf-of-flow).
|
|
1322
1322
|
*/
|
|
1323
1323
|
export declare class OnBehalfOfCredential implements TokenCredential {
|
|
1324
1324
|
private options;
|