java.lang.Object
io.getlime.security.powerauth.rest.api.spring.service.v3.RecoveryService

@Service
public class RecoveryService
extends Object
Service implementing recovery functionality.

PowerAuth protocol versions:

  • 3.0
Author:
Roman Strobl, roman.strobl@wultra.com
  • Constructor Details

    • RecoveryService

      @Autowired public RecoveryService​(com.wultra.security.powerauth.client.PowerAuthClient 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, PowerAuthApiAuthentication authentication) throws PowerAuthAuthenticationException
      Confirm recovery code.
      Parameters:
      request - ECIES encrypted request.
      authentication - PowerAuth API authentication object.
      Returns:
      ECIES encrypted response.
      Throws:
      PowerAuthAuthenticationException - In case confirm recovery fails.