Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add confie module #5

Open
1 of 5 tasks
kiyonlin opened this issue Nov 7, 2020 · 1 comment
Open
1 of 5 tasks

Add confie module #5

kiyonlin opened this issue Nov 7, 2020 · 1 comment
Labels

Comments

@kiyonlin
Copy link
Contributor

kiyonlin commented Nov 7, 2020

Confie module maintains validation codes.

It provides different drivers to make and verify code:

  • Local: send code to output(default to os.Stderr)
  • Sms: send code via specific communication operators
  • Email: send code via email

And two routes:

  • get /confie?type=sms&address=13600008888, with cookie confie=uuid
  • confie middleware, check code value in query type=sms&code=123456

Special thanks to @Fenny for naming this module.

@kiyonlin
Copy link
Contributor Author

kiyonlin commented Nov 7, 2020

Confie module is on top of cache module by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant