class CSRFActionHelper extends AnyRef
- Source
- CSRFActions.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CSRFActionHelper
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new CSRFActionHelper(sessionConfiguration: SessionConfiguration, csrfConfig: CSRFConfig, tokenSigner: CSRFTokenSigner)
Construct a new CSRFActionHelper and determine the TokenProvider from configuration.
- new CSRFActionHelper(sessionConfiguration: SessionConfiguration, csrfConfig: CSRFConfig, tokenSigner: CSRFTokenSigner, tokenProvider: TokenProvider)
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 addTokenToResponse(request: RequestHeader, result: Result): Result
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearTokenIfInvalid(request: RequestHeader, errorHandler: ErrorHandler, msg: String): Future[Result]
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def generateToken: Token
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getHeaderToken(request: RequestHeader): Option[String]
- def getTokenToValidate(request: RequestHeader): Option[String]
Get the header token, that is, the token that should be validated.
- def hasInvalidContentType(request: RequestHeader): Boolean
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isCached(result: Result): Boolean
- 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()
- def requiresCsrfCheck(request: RequestHeader): Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tagRequest[A](request: Request[A], token: Token): Request[A]
- def tagRequestFromHeader[A](request: Request[A]): Request[A]
- def tagRequestFromHeader(request: RequestHeader): RequestHeader
Tag incoming requests with the token in the header
- def tagRequestHeader(request: RequestHeader, token: => Token): RequestHeader
- def tagRequestHeaderWithNewToken(request: RequestHeader): RequestHeader
- def tagRequestWithNewToken(requestBuilder: RequestBuilder): RequestBuilder
- def tagRequestWithNewToken[A](request: Request[A]): Request[A]
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()