title: How can i detect if user is signed in anonumously with firebase auth?
body: <p>I am using firebase auth for my login system and detect if user is signed in anonumously, how could i do it?
  I know that with facebook is</p>
  
  <pre><code>for (UserInfo user: FirebaseAuth.getInstance().getCurrentUser().getProviderData()) { if (user.getProviderId().equals("facebook.com")) { System.out.println("User is signed in with Facebook"); } }
  </code></pre>
  
  <p>But since there is no url to check I don't know if this is possible.
  I would appreciate any help</p>