Class RedirectIdService


  • @Component
    public class RedirectIdService
    extends Object
    • Constructor Detail

      • RedirectIdService

        public RedirectIdService()
    • 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, null otherwise