Class AsyncConnectSessions


  • public class AsyncConnectSessions
    extends java.lang.Object
    Generate connection session tokens or auth URLs to allow your customers to connect their accounts.
    • Method Detail

      • sync

        public ConnectSessions sync()
        Switches to the sync SDK.
        Returns:
        The sync SDK
      • createConnectSession

        public java.util.concurrent.CompletableFuture<StackoneCreateConnectSessionResponse> createConnectSession​(ConnectSessionCreate request)
        Create Connect Session
        Parameters:
        request - The request object containing all the parameters for the API call.
        Returns:
        CompletableFuture<StackoneCreateConnectSessionResponse> - The async response
      • createConnectSession

        public java.util.concurrent.CompletableFuture<StackoneCreateConnectSessionResponse> createConnectSession​(ConnectSessionCreate request,
                                                                                                                 java.util.Optional<Options> options)
        Create Connect Session
        Parameters:
        request - The request object containing all the parameters for the API call.
        options - additional options
        Returns:
        CompletableFuture<StackoneCreateConnectSessionResponse> - The async response
      • authenticateConnectSession

        public java.util.concurrent.CompletableFuture<StackoneAuthenticateConnectSessionResponse> authenticateConnectSession​(ConnectSessionAuthenticate request)
        Authenticate Connect Session
        Parameters:
        request - The request object containing all the parameters for the API call.
        Returns:
        CompletableFuture<StackoneAuthenticateConnectSessionResponse> - The async response
      • authenticateConnectSession

        public java.util.concurrent.CompletableFuture<StackoneAuthenticateConnectSessionResponse> authenticateConnectSession​(ConnectSessionAuthenticate request,
                                                                                                                             java.util.Optional<Options> options)
        Authenticate Connect Session
        Parameters:
        request - The request object containing all the parameters for the API call.
        options - additional options
        Returns:
        CompletableFuture<StackoneAuthenticateConnectSessionResponse> - The async response