Class SignatureController
java.lang.Object
io.getlime.security.powerauth.rest.api.spring.controller.SignatureController
@RestController("signatureControllerV3")
@RequestMapping("/pa/v3/signature")
public class SignatureController
extends Object
End-point for validating signatures.
PowerAuth protocol versions:
- 3.0
- 3.1
- 3.2
- 3.3
- Author:
- Roman Strobl, roman.strobl@wultra.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.getlime.core.rest.model.base.response.ResponseValidate signature by validating any data sent in request to this end-point.
-
Constructor Details
-
SignatureController
public SignatureController()
-
-
Method Details
-
validateSignature
@RequestMapping(value="validate", method={GET,POST,PUT,DELETE}) public io.getlime.core.rest.model.base.response.Response validateSignature(PowerAuthApiAuthentication auth) throws PowerAuthAuthenticationException Validate signature by validating any data sent in request to this end-point.- Parameters:
auth- Automatically injected PowerAuth authentication object.- Returns:
- API response with success.
- Throws:
PowerAuthAuthenticationException- In case any error occurs, including signature validation errors.
-