Class AsyncConnectSessions
- java.lang.Object
-
- com.stackone.stackone_client_java.AsyncConnectSessions
-
public class AsyncConnectSessions extends java.lang.ObjectGenerate connection session tokens or auth URLs to allow your customers to connect their accounts.
-
-
Method Summary
-
-
-
Method Detail
-
sync
public ConnectSessions sync()
Switches to the sync SDK.- Returns:
- The sync SDK
-
createConnectSession
public StackoneCreateConnectSessionRequestBuilder createConnectSession()
Create Connect Session- Returns:
- The async call builder
-
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 StackoneAuthenticateConnectSessionRequestBuilder authenticateConnectSession()
Authenticate Connect Session- Returns:
- The async call builder
-
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
-
-