I'm working with the privacy-focused @platform created by the At Company and I'm wondering what's the fastest method for determining if a user is "logged in". To accomplish this with Firebase Auth, for example, you would simply check if the current user is null:
final loggedIn = FirebaseAuth.instance.currentUser != null;
Is there a similar check I could perform with the @platform?
My current approach is to check for the first at sign in the key chain and verify that it's not null. I feel like I'm missing a check to see if this at sign is actually "authenticated".
String? loggedInAtsign = await atProtocolService.keyChainManager.getAtSign();
bool loggedIn = loggedInAtSign != null;