neo4j-client-sso
Version:
Single sign-on client (frontend) library for Neo4j products
34 lines (33 loc) • 1.64 kB
JavaScript
;
/*
* Copyright (c) "Neo4j"
* Neo4j Sweden AB [http://neo4j.com]
*
* This file is part of Neo4j.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.AUTH_STORAGE_REFRESH_DATA = exports.AUTH_STORAGE_LOGS = exports.AUTH_STORAGE_URL_SEARCH_PARAMS = exports.AUTH_STORAGE_CODE_VERIFIER = exports.AUTH_STORAGE_STATE = exports.AUTH_LOGGING_PREFIX = exports.IMPLICIT = exports.PKCE = exports.BEARER = exports.REDIRECT_URI = exports.SSO_REDIRECT = void 0;
exports.SSO_REDIRECT = 'sso_redirect';
exports.REDIRECT_URI = 'redirect_uri';
exports.BEARER = 'bearer';
exports.PKCE = 'pkce';
exports.IMPLICIT = 'implicit';
exports.AUTH_LOGGING_PREFIX = 'OIDC/OAuth#';
const AUTH_STORAGE_PREFIX = '/auth#';
exports.AUTH_STORAGE_STATE = `${AUTH_STORAGE_PREFIX}state`;
exports.AUTH_STORAGE_CODE_VERIFIER = `${AUTH_STORAGE_PREFIX}code_verifier`;
exports.AUTH_STORAGE_URL_SEARCH_PARAMS = `${AUTH_STORAGE_PREFIX}url_search_params`;
exports.AUTH_STORAGE_LOGS = `${AUTH_STORAGE_PREFIX}logs`;
exports.AUTH_STORAGE_REFRESH_DATA = `${AUTH_STORAGE_PREFIX}refresh_data`;