getInstance
fun getInstance(config: AuthConfig, context: Context, authComponent: AuthComponent? = null): TidalAuth
Provides a global access point to the TidalAuth instance, ensuring that only one instance is created and used throughout the application lifecycle. If the instance has not been created yet, it initializes the TidalAuth instance with the provided configuration parameters.
Return
The single instance of TidalAuth that can be used to perform authentication and authorization operations.