UNPKG

@nocobase/plugin-verification

Version:

User identity verification management, including SMS, TOTP authenticator, with extensibility.

10 lines (9 loc) 1.98 kB
/** * This file is part of the NocoBase (R) project. * Copyright (c) 2020-2024 NocoBase Co., Ltd. * Authors: NocoBase Team. * * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License. * For more information, please refer to: https://www.nocobase.com/agreement. */ "use strict";(self.webpackChunk_nocobase_plugin_verification_client_v2=self.webpackChunk_nocobase_plugin_verification_client_v2||[]).push([["548"],{239:function(e,t,n){n.r(t),n.d(t,{TencentSettings:function(){return m}});var a=n(485),l=n(59),r=n(155),s=n.n(r),i=n(488);function m(){var e=(0,i.Au)().t;return s().createElement(s().Fragment,null,s().createElement(l.Form.Item,{name:["options","settings","secretId"],label:e("Secret Id"),rules:[{required:!0,message:e("Please enter the Secret Id")}]},s().createElement(a.EnvVariableInput,null)),s().createElement(l.Form.Item,{name:["options","settings","secretKey"],label:e("Secret Key"),rules:[{required:!0,message:e("Please enter the Secret Key")}]},s().createElement(a.EnvVariableInput,{password:!0})),s().createElement(l.Form.Item,{name:["options","settings","region"],label:e("Region"),rules:[{required:!0,message:e("Please enter the region")}]},s().createElement(a.EnvVariableInput,null)),s().createElement(l.Form.Item,{name:["options","settings","endpoint"],label:e("Endpoint"),initialValue:"sms.tencentcloudapi.com"},s().createElement(a.EnvVariableInput,null)),s().createElement(l.Form.Item,{name:["options","settings","SignName"],label:e("Sign name")},s().createElement(a.EnvVariableInput,null)),s().createElement(l.Form.Item,{name:["options","settings","SmsSdkAppId"],label:e("Sms sdk app id"),rules:[{required:!0,message:e("Please enter the Sms sdk app id")}]},s().createElement(a.EnvVariableInput,null)),s().createElement(l.Form.Item,{name:["options","settings","TemplateId"],label:e("Template Id"),rules:[{required:!0,message:e("Please enter the Template Id")}]},s().createElement(a.EnvVariableInput,null)))}t.default=m}}]);