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

web-interface.assets.325e2d4b-1831.ccb14a170a7850a42d5f.js.map Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
{"version":3,"file":"325e2d4b-1831.ccb14a170a7850a42d5f.js","mappings":"iPA4BA,MAYA,GAAeA,EAAAA,EAAAA,IAZyB,IAAiC,IAA9BC,QAAQ,KAAEC,IAAoB,EACvE,MAAMC,GAAcC,EAAAA,EAAAA,IAAqBF,GAEzC,IAAKC,EACH,OAAO,gCAAI,yDAAwDD,MAGrE,MAAQG,gBAAiBC,GAAkBH,EAE3C,OAAO,gBAACG,EAAD,KAAP,G","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","params","name","authService","getAuthServicePlugin","createComponent","BackendCreate"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy