Class AcsrfDeprecated
- java.lang.Object
-
- org.zaproxy.clientapi.gen.deprecated.AcsrfDeprecated
-
- Direct Known Subclasses:
Acsrf
public class AcsrfDeprecated extends java.lang.Object
API implementation with deprecated methods, (re)moved from generated class.
-
-
Constructor Summary
Constructors Constructor Description AcsrfDeprecated(ClientApi api)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ApiResponse
addOptionToken(java.lang.String apikey, java.lang.String string)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.byte[]
genForm(java.lang.String apikey, java.lang.String hrefid)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.byte[]
genFormWithUrl(java.lang.String hrefid, java.lang.String actionurl)
Generate a form for testing lack of anti-CSRF tokens - typically invoked via ZAPApiResponse
removeOptionToken(java.lang.String apikey, java.lang.String string)
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.
-
-
-
Constructor Detail
-
AcsrfDeprecated
public AcsrfDeprecated(ClientApi api)
-
-
Method Detail
-
addOptionToken
@Deprecated public ApiResponse addOptionToken(java.lang.String apikey, java.lang.String string) throws ClientApiException
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ClientApi(String, int, String)
).- Throws:
ClientApiException
-
removeOptionToken
@Deprecated public ApiResponse removeOptionToken(java.lang.String apikey, java.lang.String string) throws ClientApiException
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ClientApi(String, int, String)
).- Throws:
ClientApiException
-
genForm
@Deprecated public byte[] genForm(java.lang.String apikey, java.lang.String hrefid) throws ClientApiException
Deprecated.(1.1.0) Use the method without the API key and use one of theClientApi
constructors that allow to set the API key (e.g.ClientApi(String, int, String)
).- Throws:
ClientApiException
-
genFormWithUrl
public byte[] genFormWithUrl(java.lang.String hrefid, java.lang.String actionurl) throws ClientApiException
Generate a form for testing lack of anti-CSRF tokens - typically invoked via ZAP- Throws:
ClientApiException
-
-