Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleUserCookie ¶
HandleUserCookie attempts to refresh an expired token if the user is still valid
func WriteUserCookie ¶
func WriteUserCookie(w http.ResponseWriter, u *db.User)
WriteUserCookie encodes a user's JWT and sets it as an httpOnly & Secure cookie
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.