Class ConnectSessions


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

      • createConnectSession

        public StackoneCreateConnectSessionResponse createConnectSession​(ConnectSessionCreate request)
                                                                  throws java.lang.Exception
        Create Connect Session
        Parameters:
        request - The request object containing all the parameters for the API call.
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • createConnectSession

        public StackoneCreateConnectSessionResponse createConnectSession​(ConnectSessionCreate request,
                                                                         java.util.Optional<Options> options)
                                                                  throws java.lang.Exception
        Create Connect Session
        Parameters:
        request - The request object containing all the parameters for the API call.
        options - additional options
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • authenticateConnectSession

        public StackoneAuthenticateConnectSessionResponse authenticateConnectSession​(ConnectSessionAuthenticate request)
                                                                              throws java.lang.Exception
        Authenticate Connect Session
        Parameters:
        request - The request object containing all the parameters for the API call.
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails
      • authenticateConnectSession

        public StackoneAuthenticateConnectSessionResponse authenticateConnectSession​(ConnectSessionAuthenticate request,
                                                                                     java.util.Optional<Options> options)
                                                                              throws java.lang.Exception
        Authenticate Connect Session
        Parameters:
        request - The request object containing all the parameters for the API call.
        options - additional options
        Returns:
        The response from the API call
        Throws:
        java.lang.Exception - if the API call fails