@azure/identity 4.1.0-alpha.20240325.2 → 4.1.0-alpha.20240327.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 +6 -6
- 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/package.json +3 -2
- package/types/identity.d.ts +6 -6
package/dist/index.js
CHANGED
|
@@ -2901,7 +2901,7 @@ const logger$b = credentialLogger("AzureDeveloperCliCredential");
|
|
|
2901
2901
|
* Azure Developer CLI is a command-line interface tool that allows developers to create, manage, and deploy
|
|
2902
2902
|
* resources in Azure. It's built on top of the Azure CLI and provides additional functionality specific
|
|
2903
2903
|
* to Azure developers. It allows users to authenticate as a user and/or a service principal against
|
|
2904
|
-
* <a href="https://learn.microsoft.com/
|
|
2904
|
+
* <a href="https://learn.microsoft.com/entra/fundamentals/">Microsoft Entra ID</a>. The
|
|
2905
2905
|
* AzureDeveloperCliCredential authenticates in a development environment and acquires a token on behalf of
|
|
2906
2906
|
* the logged-in user or service principal in the Azure Developer CLI. It acts as the Azure Developer CLI logged in user or
|
|
2907
2907
|
* service principal and executes an Azure CLI command underneath to authenticate the application against
|
|
@@ -3495,7 +3495,7 @@ const logger$7 = credentialLogger("ClientSecretCredential");
|
|
|
3495
3495
|
* that was generated for an App Registration. More information on how
|
|
3496
3496
|
* to configure a client secret can be found here:
|
|
3497
3497
|
*
|
|
3498
|
-
* https://learn.microsoft.com/
|
|
3498
|
+
* https://learn.microsoft.com/entra/identity-platform/quickstart-configure-app-access-web-apis#add-credentials-to-your-web-application
|
|
3499
3499
|
*
|
|
3500
3500
|
*/
|
|
3501
3501
|
class ClientSecretCredential {
|
|
@@ -3993,12 +3993,12 @@ class InteractiveBrowserCredential {
|
|
|
3993
3993
|
/**
|
|
3994
3994
|
* Creates an instance of InteractiveBrowserCredential with the details needed.
|
|
3995
3995
|
*
|
|
3996
|
-
* This credential uses the [Authorization Code Flow](https://learn.microsoft.com/
|
|
3996
|
+
* This credential uses the [Authorization Code Flow](https://learn.microsoft.com/entra/identity-platform/v2-oauth2-auth-code-flow).
|
|
3997
3997
|
* On Node.js, it will open a browser window while it listens for a redirect response from the authentication service.
|
|
3998
3998
|
* 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.
|
|
3999
3999
|
*
|
|
4000
4000
|
* 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.
|
|
4001
|
-
* Follow our guide on [setting up Redirect URIs for Desktop apps that calls to web APIs](https://learn.microsoft.com/
|
|
4001
|
+
* 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).
|
|
4002
4002
|
*
|
|
4003
4003
|
* @param options - Options for configuring the client which makes the authentication requests.
|
|
4004
4004
|
*/
|
|
@@ -4235,7 +4235,7 @@ const logger$1 = credentialLogger("AuthorizationCodeCredential");
|
|
|
4235
4235
|
* that was obtained through the authorization code flow, described in more detail
|
|
4236
4236
|
* in the Microsoft Entra ID documentation:
|
|
4237
4237
|
*
|
|
4238
|
-
* https://learn.microsoft.com/
|
|
4238
|
+
* https://learn.microsoft.com/entra/identity-platform/v2-oauth2-auth-code-flow
|
|
4239
4239
|
*/
|
|
4240
4240
|
class AuthorizationCodeCredential {
|
|
4241
4241
|
/**
|
|
@@ -4342,7 +4342,7 @@ class MsalOnBehalfOf extends MsalNode {
|
|
|
4342
4342
|
const credentialName = "OnBehalfOfCredential";
|
|
4343
4343
|
const logger = credentialLogger(credentialName);
|
|
4344
4344
|
/**
|
|
4345
|
-
* Enables authentication to Microsoft Entra ID using the [On Behalf Of flow](https://learn.microsoft.com/
|
|
4345
|
+
* 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).
|
|
4346
4346
|
*/
|
|
4347
4347
|
class OnBehalfOfCredential {
|
|
4348
4348
|
constructor(options) {
|