Class ConnectSessions
- java.lang.Object
-
- com.stackone.stackone_client_java.ConnectSessions
-
public class ConnectSessions extends java.lang.ObjectGenerate connection session tokens or auth URLs to allow your customers to connect their accounts.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsyncConnectSessionsasync()Switches to the async SDK.StackoneAuthenticateConnectSessionRequestBuilderauthenticateConnectSession()Authenticate Connect SessionStackoneAuthenticateConnectSessionResponseauthenticateConnectSession(ConnectSessionAuthenticate request)Authenticate Connect SessionStackoneAuthenticateConnectSessionResponseauthenticateConnectSession(ConnectSessionAuthenticate request, java.util.Optional<Options> options)Authenticate Connect SessionStackoneCreateConnectSessionRequestBuildercreateConnectSession()Create Connect SessionStackoneCreateConnectSessionResponsecreateConnectSession(ConnectSessionCreate request)Create Connect SessionStackoneCreateConnectSessionResponsecreateConnectSession(ConnectSessionCreate request, java.util.Optional<Options> options)Create Connect Session
-
-
-
Method Detail
-
async
public AsyncConnectSessions async()
Switches to the async SDK.- Returns:
- The async SDK
-
createConnectSession
public StackoneCreateConnectSessionRequestBuilder createConnectSession()
Create Connect Session- Returns:
- The call builder
-
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 StackoneAuthenticateConnectSessionRequestBuilder authenticateConnectSession()
Authenticate Connect Session- Returns:
- The call builder
-
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
-
-