Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateToken ¶
CreateToken creates a token for a user
func IsValidToken ¶
func IsValidToken(r *http.Request) (error, *contextTY.McApiContext)
steps to verify the authentication 1. Verify the token in header 2. Verify the token in cookie
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.