com.dke.data.agrirouter.api.service.RevokingService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of agrirouter-api-java-api Show documentation
Show all versions of agrirouter-api-java-api Show documentation
This project contains the API for the communication with the agrirouter. Everything you need for the onboarding process, secure communication and much more.
package com.dke.data.agrirouter.api.service;
import com.dke.data.agrirouter.api.dto.revoke.RevokingError;
import com.dke.data.agrirouter.api.enums.RevokeResponse;
import com.dke.data.agrirouter.api.service.parameters.RevokeParameters;
import java.util.Optional;
public interface RevokingService {
RevokeResponse revoke(RevokeParameters revokeParameters);
/**
* The last error as RevokingError-Object, if the last revoking failed as object read from the
* JSON String
*
* @return The last error as RevokingError-Object
*/
Optional getLastRevokingError(String errorResponse);
}