Documentation ¶
Index ¶
- func CheckCode(app string, device string, atrib et.Json) (bool, error)
- func CheckEmail(app string, device string, email, code string) (bool, error)
- func CheckMobile(app string, device string, country, phoneNumber, code string) (bool, error)
- func VerifyCode(app string, device string, atrib et.Json) error
- func VerifyEmail(app string, device string, email string) error
- func VerifyMobille(app string, device string, country string, phoneNumber string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckCode ¶
Check code Check code from email or mobile Structure atrib is type Json this one format:
Is type email format: { "kind": "email"; "data": { "email": " } } Is type mobile format: { "kind": "mobile"; "data": { "country": "+57", "phoneNumber": "3001234567" } }
func CheckMobile ¶
func VerifyCode ¶
VerifyCode Verify code from email or mobile Structure atrib is type Json this one format:
Is type email format: { "kind": "email"; "data": { "email": " } } Is type mobile format: { "kind": "mobile"; "data": { "country": "+57", "phoneNumber": "3001234567" } }
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.