@Component public class TppRedirectUriMapper extends Object
| Constructor and Description |
|---|
TppRedirectUriMapper() |
| Modifier and Type | Method and Description |
|---|---|
@Nullable de.adorsys.psd2.xs2a.core.tpp.TppRedirectUri |
mapToTppRedirectUri(@Nullable String redirectUri,
@Nullable String nokRedirectUri)
Maps redirectUri and nokRedirectUri to TppRedirectUri object
|
@Nullable
public @Nullable de.adorsys.psd2.xs2a.core.tpp.TppRedirectUri mapToTppRedirectUri(@Nullable
@Nullable String redirectUri,
@Nullable
@Nullable String nokRedirectUri)
redirectUri - URI of the TPP, where the flow will be redirected tonokRedirectUri - Nok URI of the TPP, where the flow will be redirected to in case of a negative responsenull otherwise.
Returned TppRedirectUri will always contain redirectUri, but the nokRedirectUri may be null in case it wasn't provided to the mapper.Copyright © 2020. All rights reserved.