logout

abstract suspend fun logout(context: Context)

Logout the user from the application.

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

emit: AuthenticationState.Initial - 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