/* * << * Davinci * == * Copyright (C) 2016 - 2017 EDP * == * 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. * >> */ import { API_HOST } from '../globalConstants' export default { externalAuthProviders: `${API_HOST}/login/getOauth2Clients`, tryExternalAuth: `${API_HOST}/login/externalLogin`, login: `${API_HOST}/login`, group: `${API_HOST}/groups`, user: `${API_HOST}/users`, changepwd: `${API_HOST}/changepwd`, source: `${API_HOST}/sources`, view: `${API_HOST}/views`, widget: `${API_HOST}/widgets`, display: `${API_HOST}/displays`, share: `${API_HOST}/share`, checkName: `${API_HOST}/check`, projectsCheckName: `${API_HOST}/check/`, uploads: `${API_HOST}/uploads`, schedule: `${API_HOST}/cronjobs`, signup: `${API_HOST}/users`, organizations: `${API_HOST}/organizations`, checkNameUnique: `${API_HOST}/check`, projects: `${API_HOST}/projects`, teams: `${API_HOST}/teams`, roles: `${API_HOST}/roles`, portal: `${API_HOST}/dashboardPortals`, star: `${API_HOST}/star`, download: `${API_HOST}/download`, buriedPoints: `${API_HOST}/statistic`, configurations: `${API_HOST}/configurations`, // 根据ticket获取用户信息 getUserInfo: `/taihu-auth/thirdLogin/getUserInfo`, dataScreening: `/api/v3/dataScreening` }