validTime | Verification code validity period in seconds, default is 5 minutes. |
validCount | Maximum number of verification attempts for a single verification code. |
uintTime | Count cycle unit time in seconds. Default is 86400 seconds (one day). |
maxCount | Maximum number of verification attempts for a single verification code. |
superCode | Super verification code, when the value of phone.use or mail.use is "superCode" , the value of this field is used as the verification code. Default is "666666" . |
len | Length of the generated verification code. |
phone | Parameters related to phone verification code configuration |
phone.use | Phone verification code generation method, there are two types: superCode and ali . superCode is the default preset verification code, ali integrates with Alibaba Cloud SMS service. Default is superCode . |
phone.ali | Parameters related to Alibaba Cloud SMS verification service configuration |
phone.ali.endpoint | Alibaba Cloud SMS service API endpoint. |
phone.ali.accessKeyId | AccessKey ID of Alibaba Cloud account. |
phone.ali.accessKeySecret | AccessKey secret of Alibaba Cloud account. |
phone.ali.signName | Signature name displayed when sending SMS. |
phone.ali.verificationCodeTemplateCode | Alibaba Cloud SMS template ID, used to send verification codes. |
mail | Parameters related to email verification code configuration |
mail.use | Email verification code generation method, there are two types: superCode and mail . superCode is the default preset verification code, mail integrates with custom SMTP service. Default is superCode . |
mail.title | Email subject for sending verification code. |
mail.senderMail | Email address used to send verification codes. |
mail.senderAuthorizationCode | Authorization code for the email. |
mail.smtpAddr | SMTP server address. |
mail.smtpPort | SMTP server port. |