class CSRFAction extends EssentialAction
Ordering
- Alphabetic
- By Inheritance
Inherited
- CSRFAction
- EssentialAction
- Handler
- Function1
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
CSRFAction(next: EssentialAction, config: CSRFConfig = CSRFConfig(), tokenSigner: CSRFTokenSigner, tokenProvider: TokenProvider, sessionConfiguration: SessionConfiguration, errorHandler: ⇒ ErrorHandler = CSRF.DefaultErrorHandler)(implicit mat: Materializer)
- next
The composed action that is being protected.
- config
The CSRF configuration.
- tokenSigner
The CSRF token signer.
- tokenProvider
A token provider to use.
- errorHandler
handling failed token error.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
andThen[A](g: (Accumulator[ByteString, Result]) ⇒ A): (RequestHeader) ⇒ A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
apply(untaggedRequest: RequestHeader): Accumulator[ByteString, Result]
- Definition Classes
- CSRFAction → Function1
-
def
apply(): EssentialAction
- returns
itself, for better support in the routes file.
- Definition Classes
- EssentialAction
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asJava: EssentialAction
- Definition Classes
- EssentialAction
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compose[A](g: (A) ⇒ RequestHeader): (A) ⇒ Accumulator[ByteString, Result]
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- lazy val csrfActionHelper: CSRFActionHelper
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Function1 → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()