A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.playframework.com/documentation/2.5.x/api/scala/play/filters/csrf/CSRFConfig.html below:

CSRFConfig - play.filters.csrf.CSRFConfig

  • 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
  • final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  • val bypassCorsTrustedOrigins: Boolean

    Whether to bypass the CSRF check if the CORS filter trusts this origin

  • val checkContentType: (Option[String]) ⇒ Boolean

    Returns true if a request for that content type should be checked.

  • val checkMethod: (String) ⇒ Boolean

    Returns true if a request for that method should be checked.

  • def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  • val cookieName: Option[String]

    If defined, the name of the cookie to read the token from/write the token to.

  • val createIfNotFound: (RequestHeader) ⇒ Boolean
  • final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  • def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  • final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  • val headerName: String

    The name of the HTTP header to check for tokens from.

  • val httpOnlyCookie: Boolean

    If using a cookie, whether it should have the HTTP only flag.

  • final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  • final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  • final def notify(): Unit
    Definition Classes
    AnyRef
  • final def notifyAll(): Unit
    Definition Classes
    AnyRef
  • val postBodyBuffer: Long

    How much of the POST body should be buffered if checking the body for a token.

  • val secureCookie: Boolean

    If using a cookie, whether it should be secure.

  • val shouldProtect: (RequestHeader) ⇒ Boolean

    A function that decides based on the headers of the request if a check is needed.

  • val signTokens: Boolean

    Whether tokens should be signed.

  • final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  • val tokenName: String

    The name of the token.

  • 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( ... )
  • def withBypassCorsTrustedOrigins(bypass: Boolean): CSRFConfig
  • def withContentTypes(checkContentType: Predicate[Optional[String]]): CSRFConfig
  • def withCookieName(cookieName: Optional[String]): CSRFConfig
  • def withCreateIfNotFound(pred: Predicate[RequestHeader]): CSRFConfig
  • def withHeaderName(headerName: String): CSRFConfig
  • def withHttpOnlyCookie(isHttpOnly: Boolean): CSRFConfig
  • def withMethods(checkMethod: Predicate[String]): CSRFConfig
  • def withPostBodyBuffer(bufsize: Long): CSRFConfig
  • def withSecureCookie(isSecure: Boolean): CSRFConfig
  • def withShouldProtect(shouldProtect: Predicate[RequestHeader]): CSRFConfig
  • def withSignTokens(signTokens: Boolean): CSRFConfig
  • def withTokenName(tokenName: String): CSRFConfig

  • RetroSearch is an open source project built by @garambo | Open a GitHub Issue

    Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

    HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4