Packages

c

play.filters.csrf

CSRFCheck

case class CSRFCheck(config: CSRFConfig, tokenSigner: CSRFTokenSigner, sessionConfiguration: SessionConfiguration) extends Product with Serializable

CSRF check action.

Apply this to all actions that require a CSRF check.

Source
CSRFActions.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CSRFCheck
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CSRFCheck(config: CSRFConfig, tokenSigner: CSRFTokenSigner, sessionConfiguration: SessionConfiguration)
    Annotations
    @Inject()

Value Members

  1. def apply[A](action: Action[A]): Action[A]

    Wrap an action in a CSRF check.

  2. def apply[A](action: Action[A], errorHandler: ErrorHandler): Action[A]

    Wrap an action in a CSRF check.

  3. val config: CSRFConfig
  4. val sessionConfiguration: SessionConfiguration
  5. val tokenSigner: CSRFTokenSigner