Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jmckennon committed Jul 20, 2020
1 parent 0c1e716 commit cfce91d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/msal-common/src/client/DeviceCodeClient.ts
Expand Up @@ -15,7 +15,7 @@ import { ServerAuthorizationTokenResponse } from "../server/ServerAuthorizationT
import { ScopeSet } from "../request/ScopeSet";
import { ResponseHandler } from "../response/ResponseHandler";
import { AuthenticationResult } from "../response/AuthenticationResult";
import { RequestThumbprint } from '../network/RequestThumbprint';
import { RequestThumbprint } from "../network/RequestThumbprint";

/**
* OAuth2.0 Device code client
Expand Down
6 changes: 3 additions & 3 deletions lib/msal-common/src/utils/Constants.ts
Expand Up @@ -255,10 +255,10 @@ export const ClientInfo = "client_info";
* Constants related to throttling
*/
export const ThrottleConstants = {
// Default time to throttle RequestThumbprint in milliseconds
// Default time to throttle RequestThumbprint in seconds
DEFAULT_THROTTLE_TIME_SECONDS: 60,
// Default maximum time to throttle in milliseconds, overrides what the server sends back
// Default maximum time to throttle in seconds, overrides what the server sends back
DEFAULT_MAX_THROTTLE_TIME_SECONDS: 3600,
// Prefix for storing throttling entries
THROTTLE_PREFIX: "throttle"
}
};

0 comments on commit cfce91d

Please sign in to comment.