csrf

    You can read source code of this middleware on GitHubopen in new window and API documentation on .

    Usage examples

    WARNING

    The works out-of-the-box with an optional csrf - 图4open in new window, and the should be used to guard routes that needs CSRF validation: