diff --git a/docs/AuthCodeMSALBrowserAuthenticationProvider.md b/docs/AuthCodeMSALBrowserAuthenticationProvider.md index 784f1cf9b..5526ea30b 100644 --- a/docs/AuthCodeMSALBrowserAuthenticationProvider.md +++ b/docs/AuthCodeMSALBrowserAuthenticationProvider.md @@ -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 }); ```