authenticateWithGoogleNativeLegacy

abstract suspend fun authenticateWithGoogleNativeLegacy(context: Context, authenticatorId: String, googleAuthenticateResultLauncher: ActivityResultLauncher<Intent>)

Authenticate the user with the Google authenticator using the legacy one tap method.

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

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

authenticatorId

The authenticator id of the selected authenticator

googleAuthenticateResultLauncher

The result launcher for the Google authentication process