@okta/okta-auth-js
Version:
The Okta Auth SDK
32 lines (31 loc) • 1.85 kB
TypeScript
/*!
* Copyright (c) 2015-present, Okta, Inc. and/or its affiliates. All rights reserved.
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
*
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*
* See the License for the specific language governing permissions and limitations under the License.
*/
export declare const STATE_TOKEN_KEY_NAME = "oktaStateToken";
export declare const DEFAULT_POLLING_DELAY = 500;
export declare const IOS_MAX_RETRY_COUNT = 3;
export declare const DEFAULT_MAX_CLOCK_SKEW = 300;
export declare const DEFAULT_CACHE_DURATION = 86400;
export declare const TOKEN_STORAGE_NAME = "okta-token-storage";
export declare const CACHE_STORAGE_NAME = "okta-cache-storage";
export declare const PKCE_STORAGE_NAME = "okta-pkce-storage";
export declare const TRANSACTION_STORAGE_NAME = "okta-transaction-storage";
export declare const SHARED_TRANSACTION_STORAGE_NAME = "okta-shared-transaction-storage";
export declare const ORIGINAL_URI_STORAGE_NAME = "okta-original-uri-storage";
export declare const IDX_RESPONSE_STORAGE_NAME = "okta-idx-response-storage";
export declare const ACCESS_TOKEN_STORAGE_KEY = "accessToken";
export declare const ID_TOKEN_STORAGE_KEY = "idToken";
export declare const REFRESH_TOKEN_STORAGE_KEY = "refreshToken";
export declare const REFERRER_PATH_STORAGE_KEY = "referrerPath";
export declare const MIN_VERIFIER_LENGTH = 43;
export declare const MAX_VERIFIER_LENGTH = 128;
export declare const DEFAULT_CODE_CHALLENGE_METHOD = "S256";
export declare const IDX_API_VERSION = "1.0.0";