login method
Validates a Firebase ID token and either logs in the associated user or creates a new user account if the Firebase account ID is not yet known.
If a new user is created an associated UserProfile is also created.
Implementation
Future<AuthSuccess> login(
final Session session, {
required final String idToken,
}) async {
return firebaseIdp.login(
session,
idToken: idToken,
);
}