@Component public class ConsentHeadersBuilder extends AbstractHeadersBuilder
scaApproachResolver| Constructor and Description |
|---|
ConsentHeadersBuilder(ScaApproachResolver scaApproachResolver) |
| Modifier and Type | Method and Description |
|---|---|
ResponseHeaders |
buildCreateConsentHeaders(@Nullable String authorisationId,
@NotNull String selfLink,
@NotNull NotificationModeResponseHeaders notificationHeaders)
Builds response headers for successful create consent request
|
buildStartAuthorisationHeaders, buildUpdatePsuDataHeaders@Autowired public ConsentHeadersBuilder(ScaApproachResolver scaApproachResolver)
public ResponseHeaders buildCreateConsentHeaders(@Nullable @Nullable String authorisationId, @NotNull @NotNull String selfLink, @NotNull @NotNull NotificationModeResponseHeaders notificationHeaders)
authorisationId - id of the authorisation, if it was created implicitlyselfLink - link to the newly created consentCopyright © 2020. All rights reserved.