mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-26 06:40:30 -04:00
Cache access tokens in local cache file to prevent MSAL throttling (#22763)
This commit is contained in:
@@ -19,7 +19,8 @@ let azureAuthCodeGrant: TypeMoq.IMock<AzureAuthCodeGrant>;
|
||||
const mockToken: Token = {
|
||||
key: 'someUniqueId',
|
||||
token: 'test_token',
|
||||
tokenType: 'Bearer'
|
||||
tokenType: 'Bearer',
|
||||
expiresOn: new Date().getTime() / 1000 + (60 * 60) // 1 hour from now.
|
||||
};
|
||||
let mockAccessToken: AccessToken;
|
||||
let mockRefreshToken: RefreshToken;
|
||||
|
||||
Reference in New Issue
Block a user