How to check if user has valid Auth Session Firebase iOS?
<p>I wanna check if the user has still a valid session, before I present the Home View controller of my app. I use the latest Firebase API. I think if I use the legacy, I'll be able to know this.</p>

<p>Here's what I did so far:</p>

<ul>
<li><p>I posted my question on Slack community of Firebase, no one is answering. I found this one, but this is for Android: <a href="https://groups.google.com/forum/?hl=el#!topic/firebase-talk/4HdhDvVRqHc" rel="noreferrer">https://groups.google.com/forum/?hl=el#!topic/firebase-talk/4HdhDvVRqHc</a></p></li>
<li><p>I tried reading the docs of Firebase for iOS, but I can't seem to comprehend it: <a href="https://firebase.google.com/docs/reference/ios/firebaseauth/interface_f_i_r_auth" rel="noreferrer">https://firebase.google.com/docs/reference/ios/firebaseauth/interface_f_i_r_auth</a></p></li>
</ul>

<p>I tried typing in Xcode like this:</p>

<pre><code>FIRApp().currentUser()
FIRUser().getCurrentUser()
</code></pre>

<p>But I can't seem to find that getCurrentUser function.</p>