Package de.adorsys.psd2.xs2a.web.mapper
Class TppRedirectUriMapper
- java.lang.Object
-
- de.adorsys.psd2.xs2a.web.mapper.TppRedirectUriMapper
-
@Component public class TppRedirectUriMapper extends Object
-
-
Constructor Summary
Constructors Constructor Description TppRedirectUriMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable de.adorsys.psd2.xs2a.core.tpp.TppRedirectUrimapToTppRedirectUri(@Nullable String redirectUri, @Nullable String nokRedirectUri)Maps redirectUri and nokRedirectUri to TppRedirectUri object
-
-
-
Method Detail
-
mapToTppRedirectUri
@Nullable public @Nullable de.adorsys.psd2.xs2a.core.tpp.TppRedirectUri mapToTppRedirectUri(@Nullable @Nullable String redirectUri, @Nullable @Nullable String nokRedirectUri)Maps redirectUri and nokRedirectUri to TppRedirectUri object- Parameters:
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 response- Returns:
- new TppRedirectUri object if the given redirectUri wasn't null,
nullotherwise. Returned TppRedirectUri will always contain redirectUri, but the nokRedirectUri may be null in case it wasn't provided to the mapper.
-
-