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

web-interface.assets.6e61897c-82.472622149827c1587209.js.map Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
{"version":3,"sources":["webpack:///./src/pages/AuthenticationBackendCreatePage.tsx"],"names":["withParams","name","params","authService","getAuthServicePlugin","BackendCreate","createComponent"],"mappings":"2GAAA,2EAwCeA,uBAZyB,SAAC,GAAgC,IAApBC,EAAoB,EAA9BC,OAAUD,KAC7CE,EAAcC,YAAqBH,GAEzC,IAAKE,EACH,OAAO,gGAA4DF,EAA5D,MAJ8D,IAO9CI,EAAkBF,EAAnCG,gBAER,OAAO,gBAACD,EAAD","file":"6e61897c-82.472622149827c1587209.js","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"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy