From 9fbe8a71107672d792c97dfb16fe9865ed5905db Mon Sep 17 00:00:00 2001 From: Kevin Hill <107003416+khill-fbmc@users.noreply.github.com> Date: Tue, 17 Jan 2023 12:25:32 -0800 Subject: [PATCH 1/2] Update AuthCodeMSALBrowserAuthenticationProvider.md I noticed these other things after my original PR, my apologies for this rapid follow-up! --- docs/AuthCodeMSALBrowserAuthenticationProvider.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/AuthCodeMSALBrowserAuthenticationProvider.md b/docs/AuthCodeMSALBrowserAuthenticationProvider.md index 784f1cf9b..a8645b52c 100644 --- a/docs/AuthCodeMSALBrowserAuthenticationProvider.md +++ b/docs/AuthCodeMSALBrowserAuthenticationProvider.md @@ -36,12 +36,12 @@ 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 From af12a6c3582390889edd25a08700d58f97bf259b Mon Sep 17 00:00:00 2001 From: Kevin Hill <107003416+khill-fbmc@users.noreply.github.com> Date: Tue, 17 Jan 2023 12:32:02 -0800 Subject: [PATCH 2/2] Update AuthCodeMSALBrowserAuthenticationProvider.md --- docs/AuthCodeMSALBrowserAuthenticationProvider.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/AuthCodeMSALBrowserAuthenticationProvider.md b/docs/AuthCodeMSALBrowserAuthenticationProvider.md index a8645b52c..5526ea30b 100644 --- a/docs/AuthCodeMSALBrowserAuthenticationProvider.md +++ b/docs/AuthCodeMSALBrowserAuthenticationProvider.md @@ -41,12 +41,12 @@ Using npm: }; // 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 }); ```