Skip to content

Commit

Permalink
Merge branch 'dev' into refactor-storage-impl
Browse files Browse the repository at this point in the history
  • Loading branch information
tnorling authored Dec 5, 2024
2 parents ab4409a + 7130b1b commit 5df2f81
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/msal-browser/docs/token-lifetimes.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ For example if you'd like to ensure the user can acquire tokens silently for the
var request = {
scopes: ["Mail.Read"],
account: currentAccount,
forceRefresh: true
forceRefresh: true,
refreshTokenExpirationOffsetSeconds: 7200 // 2 hours * 60 minutes * 60 seconds = 7200 seconds
};

Expand Down Expand Up @@ -89,7 +89,7 @@ var currentAccount = msalInstance.getAccountByUsername(username);
var silentRequest = {
scopes: ["Mail.Read"],
account: currentAccount,
forceRefresh: false
forceRefresh: false,
cacheLookupPolicy: CacheLookupPolicy.Default // will default to CacheLookupPolicy.Default if omitted
};

Expand Down Expand Up @@ -119,8 +119,8 @@ var currentAccount = msalInstance.getAccountByUsername(username);
var silentRequest = {
scopes: ["Mail.Read"],
account: currentAccount,
forceRefresh: false
cacheLookupPolicy: cacheLookupPolicy.Default // will default to CacheLookupPolicy.Default if omitted
forceRefresh: false,
cacheLookupPolicy: CacheLookupPolicy.Default // will default to CacheLookupPolicy.Default if omitted
};

var request = {
Expand Down
2 changes: 1 addition & 1 deletion lib/msal-node/docs/sni.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const config = {
clientId: "ENTER_CLIENT_ID",
authority: "https://login.microsoftonline.com/ENTER_TENANT_ID",
clientCertificate: {
thumbprint: process.env.thumbprint; // a 40-digit hexadecimal string
thumbprint: process.env.thumbprint, // a 40-digit hexadecimal string
privateKey: process.env.privateKey,
x5c: process.env.x5c
}
Expand Down

0 comments on commit 5df2f81

Please sign in to comment.