# Examples This folder contains various examples of using the Double Token Cookie pattern. The following examples are included: - [Protecting a form using a HttpOnly token](form_token.rs) - [Protecting a JSON endpoint with a CSRF field](js_json.rs) - [Protecting a JSON endpoint with a custom header](js_header.rs)