Skip to content

Commit b172098

Browse files
authored
doc: add missing import (#781)
Add a missing import to initialize the graph client when using npm
1 parent b86ba3e commit b172098

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/AuthCodeMSALBrowserAuthenticationProvider.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Using npm:
3232
import { PublicClientApplication, InteractionType, AccountInfo } from "@azure/msal-browser";
3333

3434
import { AuthCodeMSALBrowserAuthenticationProvider, AuthCodeMSALBrowserAuthenticationProviderOptions } from "@microsoft/microsoft-graph-client/authProviders/authCodeMsalBrowser";
35+
import { Client } from "@microsoft/microsoft-graph-client";
3536

3637
const options:AuthCodeMSALBrowserAuthenticationProviderOptions: {
3738
account: account, // the AccountInfo instance to acquire the token for.

0 commit comments

Comments
 (0)