You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features.
26
25
If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options.
27
26
@@ -37,8 +36,7 @@ If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/
37
36
38
37
In the below samples, we pass the credential and the Azure subscription id to instantiate the client.
39
38
Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started.
40
-
41
-
#### nodejs - Authentication, client creation, and list classicAdministrators as an example written in JavaScript.
39
+
#### nodejs - Authentication, client creation, and listForResource roleAssignments as an example written in JavaScript.
#### browser - Authentication, client creation, and list classicAdministrators as an example written in JavaScript.
68
+
#### browser - Authentication, client creation, and listForResource roleAssignments as an example written in JavaScript.
65
69
66
70
In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser.
67
71
- See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser.
@@ -86,10 +90,17 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t
86
90
constcredential=newInteractiveBrowserCredential(
87
91
{
88
92
clientId:"<client id for your Azure AD app>",
89
-
tenantId:"<optional tenant for your organization>"
0 commit comments