Skip to content

Commit 597acce

Browse files
authored
Merge pull request #1141 from khill-fbmc/patch-2
Update AuthCodeMSALBrowserAuthenticationProvider.md
2 parents f3e9ff3 + af12a6c commit 597acce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/AuthCodeMSALBrowserAuthenticationProvider.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,17 @@ Using npm:
3636

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

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

4646

4747
// Initialize the Graph client
4848
const graphClient = Client.initWithMiddleware({
49-
authprovider
49+
authProvider
5050
});
5151

5252
```

0 commit comments

Comments
 (0)