Skip to content

Commit

Permalink
doc: add missing import (#781)
Browse files Browse the repository at this point in the history
Add a missing import to initialize the graph client when using npm
  • Loading branch information
Frederick-S authored May 6, 2022
1 parent b86ba3e commit b172098
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/AuthCodeMSALBrowserAuthenticationProvider.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Using npm:
import { PublicClientApplication, InteractionType, AccountInfo } from "@azure/msal-browser";

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

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

0 comments on commit b172098

Please sign in to comment.