-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
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.