All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.b6fe2bb5-1831.4a0a7c957e71d268abbc.js.map Maven / Gradle / Ivy

{"version":3,"file":"b6fe2bb5-1831.4a0a7c957e71d268abbc.js","mappings":"iPAwCA,SAAeA,EAAAA,EAAAA,IAZyB,SAAC,GAAgC,IAApBC,EAAoB,EAA9BC,OAAUD,KAC7CE,GAAcC,EAAAA,EAAAA,IAAqBH,GAEzC,IAAKE,EACH,OAAO,gGAA4DF,EAA5D,MAGT,IAAyBI,EAAkBF,EAAnCG,gBAER,OAAO,gBAACD,EAAD","sources":["webpack://graylog-web-interface/./src/pages/AuthenticationBackendCreatePage.tsx"],"sourcesContent":["/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\n\nimport withParams from 'routing/withParams';\nimport {} from 'components/authentication/bindings'; // Bind all authentication plugins\nimport { getAuthServicePlugin } from 'util/AuthenticationService';\n\ntype Props = {\n  params: {\n    name: string,\n  },\n};\n\nconst AuthenticationBackendCreatePage = ({ params: { name } }: Props) => {\n  const authService = getAuthServicePlugin(name);\n\n  if (!authService) {\n    return <>{`No authentication service plugin configured for type \"${name}\"`};\n  }\n\n  const { createComponent: BackendCreate } = authService;\n\n  return ;\n};\n\nexport default withParams(AuthenticationBackendCreatePage);\n"],"names":["withParams","name","params","authService","getAuthServicePlugin","BackendCreate","createComponent"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy