botbuilder-core
Version:
Core components for Microsoft Bot Builder. Components in this library can run either in a browser or on the server.
36 lines • 1.05 kB
TypeScript
/**
* @module botbuilder
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
/**
* Provides details for token polling.
*/
export interface TokenPollingSettings {
/**
* Polling timeout time in milliseconds. This is equivalent to login flow timeout.
*/
timeout?: number;
/**
* Time Interval in milliseconds between token polling requests.
*/
interval?: number;
}
/**
* TurnState key for the OAuth login timeout
*/
export declare const OAuthLoginTimeoutKey = "loginTimeout";
/**
* Name of the token polling settings key.
*/
export declare const TokenPollingSettingsKey = "tokenPollingSettings";
/**
* Default amount of time an OAuthCard will remain active (clickable and actively waiting for a token).
* After this time:
* (1) the OAuthCard will not allow the user to click on it.
* (2) any polling triggered by the OAuthCard will stop.
*/
export declare const OAuthLoginTimeoutMsValue = 900000;
//# sourceMappingURL=userTokenSettings.d.ts.map