# Module: vertx-web-js/csrf_handler

## vertx-web-js/csrf_handler

Source:
  - csrf_handler.js, line 3

### Classes

CSRFHandler

### Methods

#### <static> CSRFHandler.create(secret) → {CSRFHandler}

  Instantiate a new CSRFHandlerImpl with a secret

       CSRFHandler.create("s3cr37")

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `secret` | string | server secret to sign the token.

  Source:
    - csrf_handler.js, line 131

  ##### Returns:

  Type
    CSRFHandler