Package de.adorsys.psd2.xs2a.service
Class RedirectIdService
- java.lang.Object
-
- de.adorsys.psd2.xs2a.service.RedirectIdService
-
@Component public class RedirectIdService extends Object
-
-
Constructor Summary
Constructors Constructor Description RedirectIdService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgenerateRedirectId(String authorisationId)Generates redirect ID based on authorisation ID@Nullable StringgetRedirectId()Returns redirect ID, used in the current request.
-
-
-
Method Detail
-
generateRedirectId
public String generateRedirectId(String authorisationId)
Generates redirect ID based on authorisation ID- Parameters:
authorisationId- authorisation ID- Returns:
- redirect ID
-
getRedirectId
@Nullable public @Nullable String getRedirectId()
Returns redirect ID, used in the current request.May not exist if the ID was not generated yet or if the current flow doesn't require redirect ID to be generated.
- Returns:
- redirect ID, if it was already generated,
nullotherwise
-
-