Packages

c

play.filters.csrf

CSRFActionHelper

class CSRFActionHelper extends AnyRef

Source
CSRFActions.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CSRFActionHelper
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CSRFActionHelper(sessionConfiguration: SessionConfiguration, csrfConfig: CSRFConfig, tokenSigner: CSRFTokenSigner)

    Construct a new CSRFActionHelper and determine the TokenProvider from configuration.

  2. new CSRFActionHelper(sessionConfiguration: SessionConfiguration, csrfConfig: CSRFConfig, tokenSigner: CSRFTokenSigner, tokenProvider: TokenProvider)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addTokenToResponse(request: RequestHeader, result: Result): Result
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clearTokenIfInvalid(request: RequestHeader, errorHandler: ErrorHandler, msg: String): Future[Result]
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def generateToken: Token
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getHeaderToken(request: RequestHeader): Option[String]
  14. def getTokenToValidate(request: RequestHeader): Option[String]

    Get the header token, that is, the token that should be validated.

  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def isCached(result: Result): Boolean
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def requiresCsrfCheck(request: RequestHeader): Boolean
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def tagRequest[A](request: Request[A], token: Token): Request[A]
  24. def tagRequestFromHeader[A](request: Request[A]): Request[A]
  25. def tagRequestFromHeader(request: RequestHeader): RequestHeader

    Tag incoming requests with the token in the header

  26. def tagRequestHeader(request: RequestHeader, token: ⇒ Token): RequestHeader
  27. def tagRequestHeaderWithNewToken(request: RequestHeader): RequestHeader
  28. def tagRequestWithNewToken(requestBuilder: RequestBuilder): RequestBuilder
  29. def tagRequestWithNewToken[A](request: Request[A]): Request[A]
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped