code: func ExtractTokenFromCookie(r *http.Request) (string, error) {
  	cookie, err := r.Cookie(CookieName)
  	if err != nil {
  		return "", trace.Wrap(err)
  	}
  
  	return cookie.Value, nil
  }
docs: // ExtractTokenFromCookie retrieves a CSRF token from the session cookie.