CsrfTokenSupport

Provides cross-site request forgery protection.

Adds a before filter. If a request is determined to be forged, the handleForgery() hook is invoked. Otherwise, a token for the next request is prepared with prepareCsrfToken.

Companion:
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def csrfKey: String

The key used to store the token on the session, as well as the parameter of the request.

The key used to store the token on the session, as well as the parameter of the request.