# Module: vertx-web-js/csrf_handler

### 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:
  - vertx-web-js/csrf_handler.js, line 131

##### Returns:

Type
  CSRFHandler