Open RajatGaonkar opened 4 years ago
Most Python web frameworks have methods to check for this. Flask has Flask-Login and Django has its default thing.
I was designing an app using kivy. That Doesn't have this option. Whereas this feature is available in JS
On Fri, Sep 4, 2020, 8:23 AM Martin Chaperot-Merino < notifications@github.com> wrote:
Most Python web frameworks have methods to check for this. Flask has Flask-Login and Django has its default thing.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/thisbejim/Pyrebase/issues/358#issuecomment-686869677, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQF7WUVLOVTJGF6LXL3E73LSEBJBPANCNFSM4QBIH3JA .
auth.get_account_info(user['idToken'])
Not sure how you'll use it though but that dictionary contains a current user last seen (login time) held by firebase
there is no option to get the current user so that we can check if the user is logged in or not at the app startup, which is provided in java API