@Component public class TppRedirectUriMapper extends Object
| Constructor and Description |
|---|
TppRedirectUriMapper() |
| Modifier and Type | Method and Description |
|---|---|
@Nullable TppRedirectUri |
mapToTppRedirectUri(@Nullable String redirectUri,
@Nullable String nokRedirectUri)
Maps redirectUri and nokRedirectUri to TppRedirectUri object
|
@Nullable public @Nullable 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 © 2019. All rights reserved.