@Validated @Configuration @ConfigurationProperties(value="protocol.xs2a.urls") public class ProtocolUrlsConfiguration extends Object
ContextUtil, so
you can use string interpolation like this:
http://localhost:8080/v1/consent/#{context.getAuthorizationSessionIdIfOpened()}/fromAspsp/STUB_STATE/ok?redirectCode=#{context.getAspspRedirectCode()}
The aforementioned URL will get interpolated using Xs2aContext functions to i.e.
http://localhost:8080/v1/consent/53659eaf-d953-48de-a644-61c3c915d2c6/fromAspsp/STUB_STATE/ok?redirectCode=0174ef07-2e33-4264-9646-3b8965d100a0
with data from Xs2aContext available at the step execution.| Modifier and Type | Class and Description |
|---|---|
static class |
ProtocolUrlsConfiguration.Parameters |
static class |
ProtocolUrlsConfiguration.UrlSet |
static class |
ProtocolUrlsConfiguration.WebHooks |
| Constructor and Description |
|---|
ProtocolUrlsConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ProtocolUrlsConfiguration.UrlSet |
getUrlAisOrPisSetBasedOnContext(Xs2aContext context) |
public ProtocolUrlsConfiguration.UrlSet getUrlAisOrPisSetBasedOnContext(Xs2aContext context)
Copyright © 2020. All rights reserved.