initializeAuthentication

abstract suspend fun initializeAuthentication(context: Context)

Initialize the authentication process. This method will initialize the authentication process and emit the state of the authentication process.

emit: AuthenticationState.Loading - The application is in the process of loading the authentication state

emit: AuthenticationState.Unauthenticated - The user is not authenticated to access the application

emit: AuthenticationState.Error - An error occurred during the authentication process

Parameters

context

The context of the application