Packages

c

play.filters.csrf

CSRFAddToken

case class CSRFAddToken(config: CSRFConfig, crypto: CSRFTokenSigner, sessionConfiguration: SessionConfiguration) extends Product with Serializable

CSRF add token action.

Apply this to all actions that render a form that contains a CSRF token.

Source
CSRFActions.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CSRFAddToken
  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 CSRFAddToken(config: CSRFConfig, crypto: CSRFTokenSigner, sessionConfiguration: SessionConfiguration)
    Annotations
    @Inject()

Value Members

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

    Wrap an action in an action that ensures there is a CSRF token.

  2. val config: CSRFConfig
  3. val crypto: CSRFTokenSigner
  4. val sessionConfiguration: SessionConfiguration