handleGoogleNativeLegacyAuthenticateResult

abstract suspend fun handleGoogleNativeLegacyAuthenticateResult(context: Context, resultCode: Int, data: Intent)

Handle the Google authentication result.

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

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

resultCode

The result code of the Google authentication process

data

The Intent object that contains the result of the Google authentication process