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

@RestController("signatureControllerV3")
@RequestMapping("/pa/v3/signature")
public class SignatureController
extends java.lang.Object
End-point for validating signatures.

PowerAuth protocol versions:

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

    Constructors
    Constructor Description
    SignatureController()  
  • Method Summary

    Modifier and Type Method Description
    io.getlime.core.rest.model.base.response.Response validateSignature​(io.getlime.security.powerauth.rest.api.base.authentication.PowerAuthApiAuthentication auth)
    Validate signature by validating any data sent in request to this end-point.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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​(io.getlime.security.powerauth.rest.api.base.authentication.PowerAuthApiAuthentication auth) throws io.getlime.security.powerauth.rest.api.base.exception.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:
      io.getlime.security.powerauth.rest.api.base.exception.PowerAuthAuthenticationException - In case any error occurs, including signature validation errors.