Class

play.filters.csrf

CSRFActionHelper

Related Doc: package csrf

Permalink

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)

    Permalink

    Construct a new CSRFActionHelper and determine the TokenProvider from configuration.

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

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addTokenToResponse(request: RequestHeader, result: Result): Result

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clearTokenIfInvalid(request: RequestHeader, errorHandler: ErrorHandler, msg: String): Future[Result]

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def generateToken: Token

    Permalink
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getHeaderToken(request: RequestHeader): Option[String]

    Permalink
  14. def getTokenToValidate(request: RequestHeader): Option[String]

    Permalink

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

  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. def isCached(result: Result): Boolean

    Permalink
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def requiresCsrfCheck(request: RequestHeader): Boolean

    Permalink
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def tagRequest[A](request: Request[A], token: Token): Request[A]

    Permalink
  24. def tagRequestFromHeader[A](request: Request[A]): Request[A]

    Permalink
  25. def tagRequestFromHeader(request: RequestHeader): RequestHeader

    Permalink

    Tag incoming requests with the token in the header

  26. def tagRequestHeader(request: RequestHeader, token: ⇒ Token): RequestHeader

    Permalink
  27. def tagRequestHeaderWithNewToken(request: RequestHeader): RequestHeader

    Permalink
  28. def tagRequestWithNewToken(requestBuilder: RequestBuilder): RequestBuilder

    Permalink
  29. def tagRequestWithNewToken[A](request: Request[A]): Request[A]

    Permalink
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped