Class ConsentHeadersBuilder

    • Constructor Detail

      • ConsentHeadersBuilder

        @Autowired
        public ConsentHeadersBuilder​(ScaApproachResolver scaApproachResolver)
    • Method Detail

      • buildCreateConsentHeaders

        public ResponseHeaders buildCreateConsentHeaders​(@Nullable
                                                         @Nullable String authorisationId,
                                                         @NotNull
                                                         @NotNull String selfLink,
                                                         @NotNull
                                                         @NotNull NotificationModeResponseHeaders notificationHeaders)
        Builds response headers for successful create consent request
        Parameters:
        authorisationId - id of the authorisation, if it was created implicitly
        selfLink - link to the newly created consent
        notificationHeaders - NotificationModeResponseHeaders notification headers
        Returns:
        response headers