Sign In With Custom Token

Use the signInWithCustomToken method to allow users to sign in to the application using a custom authentication token.

Method

final userCredential = await FirebaseApp.firebaseAuth?.signInWithCustomToken(token);

Parameters

  • token (String): The custom authentication token provided by your server for signing in.

Return

  • UserCredential?: Returns a UserCredential object containing the user's sign-in information.

This method enables users to sign in to the application using a custom token, typically generated by your backend server for authentication.

Last updated