Interface CSRFToken

All Known Implementing Classes:
CSRFTokenImpl

public interface CSRFToken
Represents a Cross-Site Request Forgery (CSRF) token response from the 3DEXPERIENCE server.

CSRF tokens are required for certain state-changing operations to prevent cross-site request forgery attacks. This interface provides access to the token data and the response status.

Since:
2024-03-07
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Represents the CSRF token data containing the token name and value.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
     
    boolean
     
  • Method Details

    • isSuccess

      boolean isSuccess()
    • getStatusCode

      int getStatusCode()
    • getTokenData

      CSRFToken.TokenData getTokenData()