Documentation ¶
Index ¶
- func GenerateOtp(max int) string
- func RefreshTokenHandler(w http.ResponseWriter, r *http.Request)
- func SendOtp(phonenumber string) otpdata.SendOtpResponse
- func SendOtpHandler(w http.ResponseWriter, r *http.Request)
- func VerificationHandler(w http.ResponseWriter, r *http.Request)
- func VerifyOtp(verifyOtpRequest verifydata.VerifyOtpRequest, w http.ResponseWriter) verifydata.VerifyOtpResponse
- func VerifyOtpHandler(w http.ResponseWriter, r *http.Request)
- type Claims
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateOtp ¶
func RefreshTokenHandler ¶
func RefreshTokenHandler(w http.ResponseWriter, r *http.Request)
func SendOtp ¶
func SendOtp(phonenumber string) otpdata.SendOtpResponse
func SendOtpHandler ¶
func SendOtpHandler(w http.ResponseWriter, r *http.Request)
func VerificationHandler ¶
func VerificationHandler(w http.ResponseWriter, r *http.Request)
func VerifyOtp ¶
func VerifyOtp(verifyOtpRequest verifydata.VerifyOtpRequest, w http.ResponseWriter) verifydata.VerifyOtpResponse
func VerifyOtpHandler ¶
func VerifyOtpHandler(w http.ResponseWriter, r *http.Request)
Types ¶
Click to show internal directories.
Click to hide internal directories.