case class CSRFAddToken(config: CSRFConfig, crypto: CSRFTokenSigner, sessionConfiguration: SessionConfiguration) extends Product with Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- CSRFAddToken
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new CSRFAddToken(config: CSRFConfig, crypto: CSRFTokenSigner, sessionConfiguration: SessionConfiguration)
- Annotations
- @Inject()
Value Members
- def apply[A](action: Action[A]): Action[A]
Wrap an action in an action that ensures there is a CSRF token.
- val config: CSRFConfig
- val crypto: CSRFTokenSigner
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val sessionConfiguration: SessionConfiguration
CSRF add token action.
Apply this to all actions that render a form that contains a CSRF token.