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
Ordering
- Alphabetic
- By Inheritance
Inherited
- CSRFAddToken
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
- val sessionConfiguration: SessionConfiguration