Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/AuthCodeMSALBrowserAuthenticationProvider.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ Using npm:

const options: AuthCodeMSALBrowserAuthenticationProviderOptions = {
account: account, // the AccountInfo instance to acquire the token for.
interactionType: InteractionType.PopUp , // msal-browser InteractionType
interactionType: InteractionType.Popup, // msal-browser InteractionType
scopes: ["user.read", "mail.send"] // example of the scopes to be passed
}
};

// Pass the PublicClientApplication instance from step 2 to create AuthCodeMSALBrowserAuthenticationProvider instance
const authProvider: new AuthCodeMSALBrowserAuthenticationProvider(publicClientApplication, options),
const authProvider = new AuthCodeMSALBrowserAuthenticationProvider(publicClientApplication, options);


// Initialize the Graph client
const graphClient = Client.initWithMiddleware({
authprovider
authProvider
});

```
Expand Down