File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ For example if you'd like to ensure the user can acquire tokens silently for the
5454var request = {
5555 scopes: [" Mail.Read" ],
5656 account: currentAccount,
57- forceRefresh: true
57+ forceRefresh: true ,
5858 refreshTokenExpirationOffsetSeconds: 7200 // 2 hours * 60 minutes * 60 seconds = 7200 seconds
5959};
6060
@@ -89,7 +89,7 @@ var currentAccount = msalInstance.getAccountByUsername(username);
8989var silentRequest = {
9090 scopes: [" Mail.Read" ],
9191 account: currentAccount,
92- forceRefresh: false
92+ forceRefresh: false ,
9393 cacheLookupPolicy: CacheLookupPolicy .Default // will default to CacheLookupPolicy.Default if omitted
9494};
9595
@@ -119,8 +119,8 @@ var currentAccount = msalInstance.getAccountByUsername(username);
119119var silentRequest = {
120120 scopes: [" Mail.Read" ],
121121 account: currentAccount,
122- forceRefresh: false
123- cacheLookupPolicy: cacheLookupPolicy .Default // will default to CacheLookupPolicy.Default if omitted
122+ forceRefresh: false ,
123+ cacheLookupPolicy: CacheLookupPolicy .Default // will default to CacheLookupPolicy.Default if omitted
124124};
125125
126126var request = {
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ const config = {
4949 clientId: " ENTER_CLIENT_ID" ,
5050 authority: " https://login.microsoftonline.com/ENTER_TENANT_ID" ,
5151 clientCertificate: {
52- thumbprint: process .env .thumbprint ; // a 40-digit hexadecimal string
52+ thumbprint: process .env .thumbprint , // a 40-digit hexadecimal string
5353 privateKey: process .env .privateKey ,
5454 x5c: process .env .x5c
5555 }
You can’t perform that action at this time.
0 commit comments