1.0.9 • Published 3 years ago

magic_account v1.0.9

Weekly downloads
39
License
ISC
Repository
github
Last release
3 years ago

Provide the convenient way to generate account with signned-up service

Usage

var acc = require('magic_account');

var SecMail = acc.SecMail
var CognitoServiceProvider = acc.CognitoServiceProvider
var MagicService  = acc.MagicService;


var secmail = new SecMail();
var cognito = new CognitoServiceProvider();
var m = new MagicService();

var config = {
        "cognito_domain":"{your-cognito-domain}",
        "region": "",
        "client_id":"{your-cognito-client-id}",
        "redirect_uri":"https://www.example.com"
        }

cognito.setConfig( config);


m.setMaxAccounts(3);
m.setPass('Pass@9901');

m.addAccountProvider(secmail);
m.addServiceProvider(cognito);

m.generateAccountInfo();

Result Example

[{"service":"cognito","accountList":["j13fclw@1secmail.com","xhrh94@wwjmp.com","a986u66bk6@1secmail.org"]}]

Author

👤 jinglinwu

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago