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:
Returns:
Type
CSRFHandler