Interface ObaConsentApi


  • public interface ObaConsentApi
    • Method Detail

      • consents

        @GetMapping(path="/{userLogin}")
        org.springframework.http.ResponseEntity<List<ObaAisConsent>> consents​(@PathVariable("userLogin")
                                                                              String userLogin)
        Parameters:
        userLogin - login of current user
        Returns:
        List of valid AIS Consents for user
      • consentsPaged

        @GetMapping(path="/{userLogin}/paged")
        org.springframework.http.ResponseEntity<de.adorsys.ledgers.util.domain.CustomPageImpl<ObaAisConsent>> consentsPaged​(@PathVariable("userLogin")
                                                                                                                            String userLogin,
                                                                                                                            @RequestParam(required=false,defaultValue="0")
                                                                                                                            int page,
                                                                                                                            @RequestParam(required=false,defaultValue="25")
                                                                                                                            int size)
        Parameters:
        userLogin - login of current user
        Returns:
        List of valid AIS Consents for user
      • revokeConsent

        @PutMapping(path="/{consentId}")
        org.springframework.http.ResponseEntity<Boolean> revokeConsent​(@PathVariable
                                                                       String consentId)
        Parameters:
        consentId - identifier of consent
      • confirm

        @GetMapping(path="/confirm/{userLogin}/{consentId}/{authorizationId}/{tan}")
        org.springframework.http.ResponseEntity<Void> confirm​(@PathVariable("userLogin")
                                                              String userLogin,
                                                              @PathVariable("consentId")
                                                              String consentId,
                                                              @PathVariable("authorizationId")
                                                              String authorizationId,
                                                              @PathVariable("tan")
                                                              String tan)
        Parameters:
        consentId - decrypted consent id
        authorizationId - authorization id
        tan - TAN for single operation
        Returns:
        200 OK if operation was successful, or an error with msg on the failure reason
      • createPiis

        @PostMapping(path="/piis")
        org.springframework.http.ResponseEntity<Void> createPiis​(@RequestBody
                                                                 CreatePiisConsentRequestTO request)
      • tpps

        @GetMapping(path="/tpp")
        org.springframework.http.ResponseEntity<List<TppInfoTO>> tpps()