Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForgetPassword ¶
func Login ¶
Login check username and password in request body json and returns access_token and refresh_token
func Logout ¶
Logout checks both accessToken in "Authorization" Header ( use middleware ) and refreshToken in request body json and delete the refreshToken from database
func RefreshToken ¶
RefreshToken checks refreshToken and return a new accessToken
func ResetPassword ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.