Connection
Facilitates connections to the Rainbow Cloud Services. This module enables your application to authenticate users using their credentials and monitor the connection state with the Rainbow Cloud Services. Developers can utilize this module for establishing user sign-in procedures and managing the real-time state of connectivity with the Rainbow Services.
Types
Enumerates the states of the SDK's connection with Rainbow Cloud Services.
Enumerates error codes with their corresponding integer values.
Interface defining callbacks for handling various connection-related events and errors within the SDK.
Interface representing callbacks for sign-in operations within the connection class.
Functions
Enables you to retrieve the authentication method linked to a user.
Registers an implementation of IConnectionListener to receive callbacks when the SDK's connection state changes.
If the user is using AuthenticationType.PASSWORDLESS then he will have to request a code generation to be able to login with signInWithPasswordLessCode.
Manually resets the image cache and database.
Initiates a sign-in process using the provided login credentials.
Initiates a sign-in process using the provided login credentials and an optional custom host URL.
Initiates a sign-in process using Multi-Factor Authentication (MFA) generated code.
Initiates a sign-in process using Multi-Factor Authentication (MFA) verification code.
Initiates a sign-in using the provided OpenID Connect (OIDC) token.
Initiates a sign-in using the provided OpenID Connect (OIDC) token and an optional host URL.
Initiates a sign-in process using password less generated code.
Initiates a sign-in process using the provided authentication token.
Initiates a sign-in process using the provided authentication token and an optional custom host URL.
Unregisters a previously registered IConnectionListener, stopping callbacks for SDK's connection state changes.