java.lang.Object
io.getlime.security.powerauth.rest.api.spring.controller.RecoveryController

@RestController @RequestMapping("/pa/v3/recovery") public class RecoveryController extends Object
Controller implementing recovery related end-points from the PowerAuth Standard API.

PowerAuth protocol versions:

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

    • RecoveryController

      public RecoveryController(RecoveryService recoveryService)
      Service constructor.
      Parameters:
      recoveryService - Recovery service.
  • Method Details

    • confirmRecoveryCode

      @PostMapping("confirm") public io.getlime.security.powerauth.rest.api.model.response.EciesEncryptedResponse confirmRecoveryCode(@RequestBody io.getlime.security.powerauth.rest.api.model.request.EciesEncryptedRequest request, PowerAuthApiAuthentication auth) throws PowerAuthAuthenticationException
      Confirm recovery code.
      Parameters:
      request - ECIES encrypted request.
      auth - PowerAuth API authentication object.
      Returns:
      ECIES encrypted response.
      Throws:
      PowerAuthAuthenticationException - In case confirm recovery fails.