A promise that resolves to an IMX provider if successful, or null if no cached session exists
Connects to IMX, prompting user interaction if necessary.
A promise that resolves to an IMX provider
Connects to EVM and optionally announces the provider.
Optional
options: ConnectEvmArgumentsConfiguration options
The EVM provider instance
Initiates the login process.
Optional
options: LoginArgumentsLogin options
A promise that resolves to the user profile if logged in, null otherwise
Initiates a PKCE flow login.
Optional
directLoginOptions: DirectLoginOptionsIf provided, directly redirects to the specified login method
Optional
imPassportTraceId: stringThe trace ID for the PKCE flow
The authorization URL for the PKCE flow
Handles the PKCE flow login callback.
The authorization code received from the OAuth provider
The state parameter for CSRF protection
A promise that resolves to the user profile
Retrieves the current user's information.
A promise that resolves to the user profile if logged in, undefined otherwise
Links an external wallet to the current user's account.
Parameters for linking the wallet
A promise that resolves to the linked wallet information
When:
Attempts to connect to IMX silently without user interaction.