// LogOut handles user's active session revokation.
LogOut handles user's active session revokation.
// LogOut handles user ' s active session revokation .
func (h *Handler) LogOut(w http.ResponseWriter, r *http.Request) {
	if err := h.session.manager.Revoke(r.Context(), w); err != nil {
		httpflow.RespondError(h.log, w, r, err)
		return
	}
	httpflow.Respond(h.log, w, r, nil, http.StatusNoContent)
}
func ( h * Handler ) LogOut ( w http . ResponseWriter , r * http . Request ) { if err := h . session . manager . Revoke ( r . Context ( ) , w ) ; err != nil { httpflow . RespondError ( h . log , w , r , err ) return } httpflow . Respond ( h . log , w , r , nil , http . StatusNoContent ) }
LogOut handles user's active session revokation.
LogOut handles user ' s active session revokation .