Class ConsentController

  • All Implemented Interfaces:
    de.adorsys.psd2.api.ConsentApi

    @RestController
    public class ConsentController
    extends Object
    implements de.adorsys.psd2.api.ConsentApi
    • Constructor Detail

      • ConsentController

        public ConsentController()
    • Method Detail

      • createConsent

        public org.springframework.http.ResponseEntity createConsent​(UUID xRequestID,
                                                                     String psuIpAddress,
                                                                     de.adorsys.psd2.model.Consents body,
                                                                     String digest,
                                                                     String signature,
                                                                     byte[] tppSignatureCertificate,
                                                                     String psuId,
                                                                     String psuIdType,
                                                                     String psuCorporateId,
                                                                     String psuCorporateIdType,
                                                                     Boolean tppRedirectPreferred,
                                                                     Boolean tppDecoupledPreferred,
                                                                     String tppRedirectUri,
                                                                     String tppNokRedirectUri,
                                                                     Boolean tppExplicitAuthorisationPreferred,
                                                                     String tppBrandLoggingInformation,
                                                                     String tppNotificationUri,
                                                                     String tppNotificationContentPreferred,
                                                                     String psuIpPort,
                                                                     String psuAccept,
                                                                     String psuAcceptCharset,
                                                                     String psuAcceptEncoding,
                                                                     String psuAcceptLanguage,
                                                                     String psuUserAgent,
                                                                     String psuHttpMethod,
                                                                     UUID psuDeviceId,
                                                                     String psuGeoLocation)
        Specified by:
        createConsent in interface de.adorsys.psd2.api.ConsentApi
      • getConsentStatus

        public org.springframework.http.ResponseEntity getConsentStatus​(String consentId,
                                                                        UUID xRequestID,
                                                                        String digest,
                                                                        String signature,
                                                                        byte[] tpPSignatureCertificate,
                                                                        String psUIPAddress,
                                                                        String psUIPPort,
                                                                        String psUAccept,
                                                                        String psUAcceptCharset,
                                                                        String psUAcceptEncoding,
                                                                        String psUAcceptLanguage,
                                                                        String psUUserAgent,
                                                                        String psUHttpMethod,
                                                                        UUID psUDeviceID,
                                                                        String psUGeoLocation)
        Specified by:
        getConsentStatus in interface de.adorsys.psd2.api.ConsentApi
      • startConsentAuthorisation

        public org.springframework.http.ResponseEntity startConsentAuthorisation​(UUID xRequestID,
                                                                                 String consentId,
                                                                                 Object body,
                                                                                 String digest,
                                                                                 String signature,
                                                                                 byte[] tpPSignatureCertificate,
                                                                                 String psuId,
                                                                                 String psUIDType,
                                                                                 String psUCorporateID,
                                                                                 String psUCorporateIDType,
                                                                                 Boolean tppRedirectPreferred,
                                                                                 Boolean tppDecoupledPreferred,
                                                                                 String tpPRedirectURI,
                                                                                 String tpPNokRedirectURI,
                                                                                 String tpPNotificationURI,
                                                                                 String tpPNotificationContentPreferred,
                                                                                 String psUIPAddress,
                                                                                 String psUIPPort,
                                                                                 String psUAccept,
                                                                                 String psUAcceptCharset,
                                                                                 String psUAcceptEncoding,
                                                                                 String psUAcceptLanguage,
                                                                                 String psUUserAgent,
                                                                                 String psUHttpMethod,
                                                                                 UUID psUDeviceID,
                                                                                 String psUGeoLocation)
        Specified by:
        startConsentAuthorisation in interface de.adorsys.psd2.api.ConsentApi
      • updateConsentsPsuData

        public org.springframework.http.ResponseEntity updateConsentsPsuData​(UUID xRequestID,
                                                                             String consentId,
                                                                             String authorisationId,
                                                                             Object body,
                                                                             String digest,
                                                                             String signature,
                                                                             byte[] tpPSignatureCertificate,
                                                                             String psuId,
                                                                             String psUIDType,
                                                                             String psUCorporateID,
                                                                             String psUCorporateIDType,
                                                                             String psUIPAddress,
                                                                             String psUIPPort,
                                                                             String psUAccept,
                                                                             String psUAcceptCharset,
                                                                             String psUAcceptEncoding,
                                                                             String psUAcceptLanguage,
                                                                             String psUUserAgent,
                                                                             String psUHttpMethod,
                                                                             UUID psUDeviceID,
                                                                             String psUGeoLocation)
        Specified by:
        updateConsentsPsuData in interface de.adorsys.psd2.api.ConsentApi
      • getConsentScaStatus

        public org.springframework.http.ResponseEntity getConsentScaStatus​(String consentId,
                                                                           String authorisationId,
                                                                           UUID xRequestID,
                                                                           String digest,
                                                                           String signature,
                                                                           byte[] tpPSignatureCertificate,
                                                                           String psUIPAddress,
                                                                           String psUIPPort,
                                                                           String psUAccept,
                                                                           String psUAcceptCharset,
                                                                           String psUAcceptEncoding,
                                                                           String psUAcceptLanguage,
                                                                           String psUUserAgent,
                                                                           String psUHttpMethod,
                                                                           UUID psUDeviceID,
                                                                           String psUGeoLocation)
        Specified by:
        getConsentScaStatus in interface de.adorsys.psd2.api.ConsentApi
      • getConsentAuthorisation

        public org.springframework.http.ResponseEntity getConsentAuthorisation​(String consentId,
                                                                               UUID xRequestID,
                                                                               String digest,
                                                                               String signature,
                                                                               byte[] tpPSignatureCertificate,
                                                                               String psUIPAddress,
                                                                               String psUIPPort,
                                                                               String psUAccept,
                                                                               String psUAcceptCharset,
                                                                               String psUAcceptEncoding,
                                                                               String psUAcceptLanguage,
                                                                               String psUUserAgent,
                                                                               String psUHttpMethod,
                                                                               UUID psUDeviceID,
                                                                               String psUGeoLocation)
        Specified by:
        getConsentAuthorisation in interface de.adorsys.psd2.api.ConsentApi
      • getConsentInformation

        public org.springframework.http.ResponseEntity getConsentInformation​(String consentId,
                                                                             UUID xRequestID,
                                                                             String digest,
                                                                             String signature,
                                                                             byte[] tpPSignatureCertificate,
                                                                             String psUIPAddress,
                                                                             String psUIPPort,
                                                                             String psUAccept,
                                                                             String psUAcceptCharset,
                                                                             String psUAcceptEncoding,
                                                                             String psUAcceptLanguage,
                                                                             String psUUserAgent,
                                                                             String psUHttpMethod,
                                                                             UUID psUDeviceID,
                                                                             String psUGeoLocation)
        Specified by:
        getConsentInformation in interface de.adorsys.psd2.api.ConsentApi
      • deleteConsent

        public org.springframework.http.ResponseEntity deleteConsent​(String consentId,
                                                                     UUID xRequestID,
                                                                     String digest,
                                                                     String signature,
                                                                     byte[] tpPSignatureCertificate,
                                                                     String psUIPAddress,
                                                                     String psUIPPort,
                                                                     String psUAccept,
                                                                     String psUAcceptCharset,
                                                                     String psUAcceptEncoding,
                                                                     String psUAcceptLanguage,
                                                                     String psUUserAgent,
                                                                     String psUHttpMethod,
                                                                     UUID psUDeviceID,
                                                                     String psUGeoLocation)
        Specified by:
        deleteConsent in interface de.adorsys.psd2.api.ConsentApi