-
public class ConnectSDKConnectSDK - Main entry point for Connect SDK
Provides static factory methods to create authenticated sessions with the Connect platform.
-
-
Field Summary
Fields Modifier and Type Field Description public final static ConnectSDKINSTANCE
-
Method Summary
Modifier and Type Method Description final ConnectAuthSessionconfigureAuth(String jwt, Environment environment, Theme theme, ConnectAllowList allowList, AuthCallbacks callbacks)Configure and create an authentication session final ConnectRecoverySessionconfigureRecovery(String jwt, Environment environment, Theme theme, ConnectAllowList allowList, RecoveryCallbacks callbacks)Configure and create a recovery session final ConnectWithdrawalSessionconfigureWithdrawal(String jwt, Environment environment, Theme theme, ConnectAllowList allowList, WithdrawalCallbacks callbacks)Configure and create a withdrawal session -
-
Method Detail
-
configureAuth
final ConnectAuthSession configureAuth(String jwt, Environment environment, Theme theme, ConnectAllowList allowList, AuthCallbacks callbacks)
Configure and create an authentication session
- Parameters:
jwt- JWT token for authenticationenvironment- Environment to connect to (default: PRODUCTION)theme- UI theme (default: SYSTEM)callbacks- Callbacks for session events
-
configureRecovery
final ConnectRecoverySession configureRecovery(String jwt, Environment environment, Theme theme, ConnectAllowList allowList, RecoveryCallbacks callbacks)
Configure and create a recovery session
- Parameters:
jwt- JWT token for authenticationenvironment- Environment to connect to (default: PRODUCTION)theme- UI theme (default: SYSTEM)callbacks- Callbacks for session events
-
configureWithdrawal
final ConnectWithdrawalSession configureWithdrawal(String jwt, Environment environment, Theme theme, ConnectAllowList allowList, WithdrawalCallbacks callbacks)
Configure and create a withdrawal session
- Parameters:
jwt- JWT token for authenticationenvironment- Environment to connect to (default: PRODUCTION)theme- UI theme (default: SYSTEM)callbacks- Callbacks for session events
-
-
-
-