@RestController @RequestMapping(value="/pa/v3/recovery") public class RecoveryController extends Object
PowerAuth protocol versions:
| Constructor and Description |
|---|
RecoveryController(RecoveryService recoveryService)
Service constructor.
|
| Modifier and Type | Method and Description |
|---|---|
io.getlime.security.powerauth.rest.api.model.response.v3.EciesEncryptedResponse |
confirmRecoveryCode(io.getlime.security.powerauth.rest.api.model.request.v3.EciesEncryptedRequest request,
PowerAuthApiAuthentication authentication)
Confirm recovery code.
|
public RecoveryController(RecoveryService recoveryService)
recoveryService - Recovery service.@RequestMapping(value="confirm",
method=POST)
public io.getlime.security.powerauth.rest.api.model.response.v3.EciesEncryptedResponse confirmRecoveryCode(@RequestBody
io.getlime.security.powerauth.rest.api.model.request.v3.EciesEncryptedRequest request,
PowerAuthApiAuthentication authentication)
throws PowerAuthAuthenticationException
request - ECIES encrypted request.authentication - PowerAuth API authentication object.PowerAuthAuthenticationException - In case confirm recovery fails.Copyright © 2017–2019 Wultra s.r.o.. All rights reserved.