Class RecoveryService
java.lang.Object
io.getlime.security.powerauth.rest.api.spring.service.v3.RecoveryService
@Service
public class RecoveryService
extends java.lang.Object
Service implementing recovery functionality.
PowerAuth protocol versions:
- 3.0
- Author:
- Roman Strobl, roman.strobl@wultra.com
-
Constructor Summary
Constructors Constructor Description RecoveryService(io.getlime.security.powerauth.soap.spring.client.PowerAuthServiceClient powerAuthClient)Controller constructor. -
Method Summary
Modifier and Type Method Description io.getlime.security.powerauth.rest.api.model.response.v3.EciesEncryptedResponseconfirmRecoveryCode(io.getlime.security.powerauth.rest.api.model.request.v3.EciesEncryptedRequest request, io.getlime.security.powerauth.rest.api.base.authentication.PowerAuthApiAuthentication authentication)Confirm recovery code.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RecoveryService
@Autowired public RecoveryService(io.getlime.security.powerauth.soap.spring.client.PowerAuthServiceClient powerAuthClient)Controller constructor.- Parameters:
powerAuthClient- PowerAuth client.
-
-
Method Details
-
confirmRecoveryCode
public io.getlime.security.powerauth.rest.api.model.response.v3.EciesEncryptedResponse confirmRecoveryCode(io.getlime.security.powerauth.rest.api.model.request.v3.EciesEncryptedRequest request, io.getlime.security.powerauth.rest.api.base.authentication.PowerAuthApiAuthentication authentication) throws io.getlime.security.powerauth.rest.api.base.exception.PowerAuthAuthenticationExceptionConfirm recovery code.- Parameters:
request- ECIES encrypted request.authentication- PowerAuth API authentication object.- Returns:
- ECIES encrypted response.
- Throws:
io.getlime.security.powerauth.rest.api.base.exception.PowerAuthAuthenticationException- In case confirm recovery fails.
-