0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00
logto/packages/connector-aliyun-dm/src/mock.ts
Darcy Ye 54b62094c8
feat(core): wrap aliyun direct mail connector (#660)
* feat(core): wrap aliyun direct mail connector

* feat(core): remove copyfiles and reorganize files
2022-04-26 19:32:41 +08:00

29 lines
646 B
TypeScript

export const mockedParameters = {
AccessKeyId: 'testid',
AccountName: "<a%b'>",
Action: 'SingleSendMail',
AddressType: '1',
Format: 'XML',
HtmlBody: '4',
RegionId: 'cn-hangzhou',
ReplyToAddress: 'true',
SignatureMethod: 'HMAC-SHA1',
SignatureVersion: '1.0',
Subject: '3',
TagName: '2',
ToAddress: '1@test.com',
Version: '2015-11-23',
};
export const mockedConfig = {
accessKeyId: 'accessKeyId',
accessKeySecret: 'accessKeySecret',
accountName: 'accountName',
templates: [
{
usageType: 'SignIn',
content: 'Your code is {{code}}, {{code}} is your code',
subject: 'subject',
},
],
};