@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") @Beta public class XsrfHandlingApi extends AbstractOpenApiService
apiClient
Constructor and Description |
---|
XsrfHandlingApi(ApiClient apiClient)
Instantiates this API class to invoke operations on the Rule Authoring API for Cloud Foundry based on a given
ApiClient . |
XsrfHandlingApi(HttpDestinationProperties httpDestination)
Instantiates this API class to invoke operations on the Rule Authoring API for Cloud Foundry.
|
Modifier and Type | Method and Description |
---|---|
OpenApiResponse |
fetchXSRFToken(String xCSRFToken)
Requests a new XSRF token
|
public XsrfHandlingApi(@Nonnull HttpDestinationProperties httpDestination)
httpDestination
- The destination that API should be used with@Nonnull public OpenApiResponse fetchXSRFToken(@Nonnull String xCSRFToken) throws OpenApiRequestException
Requests a new XSRF token
Requests a new XSRF token. XSRF token can be used for all modifying requests within the same session. <br> This api does not generate xsrf token for OAuth based authentication.
200 - The header provides the XSRF token for this session.
403 - Access forbidden. User does not have the required permissions to access the resource.
500 - Exception occurred while processing the request.
xCSRFToken
- To retrieve a new XSRF token, the value of the header must be set to Fetch.OpenApiRequestException
- if an error occurs while attempting to invoke the APICopyright © 2021 SAP SE. All rights reserved.