Interface XsrfCheckResult


@PublicApi public interface XsrfCheckResult
The result of the XSRF checks
  • Method Details

    • isRequired

      boolean isRequired()
      Returns:
      true if the invocation check was required to be performed
    • isValid

      boolean isValid()
      Returns:
      true if the invocation check passed Note: Referer and Origin headers are not taken into account
    • isGeneratedForAuthenticatedUser

      boolean isGeneratedForAuthenticatedUser()
      Returns:
      true if there was an authenticated user in the original request
    • isOriginAllowed

      @Internal boolean isOriginAllowed()
      Returns:
      true if Origin or Referer header points to the same domain the Jira server lives or match known browser extension. The behavior may change in future to take CORS into account.
    • isTokenPresent

      boolean isTokenPresent()
      Returns:
      true if an XSRF token was provided in the original request