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
Ordering
- Alphabetic
- By Inheritance
Inherited
- CSRFCheck
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
CSRFCheck(config: CSRFConfig, tokenSigner: CSRFTokenSigner, sessionConfiguration: SessionConfiguration)
- Annotations
- @Inject()
Value Members
-
def
apply[A](action: Action[A]): Action[A]
Wrap an action in a CSRF check.
-
def
apply[A](action: Action[A], errorHandler: ErrorHandler): Action[A]
Wrap an action in a CSRF check.
- val config: CSRFConfig
- val sessionConfiguration: SessionConfiguration
- val tokenSigner: CSRFTokenSigner