is Logged In
Checks whether there is an active authenticated session by inspecting the persisted access token.
A non-blank token means the member has signed in and the token has not been cleared by logout. This does not validate the token against the server - observe sessionState for server-side expiry (SessionState.SESSION_EXPIRED).
Best practice: prefer observing sessionState for reactive UI updates over polling isLoggedIn().
Android (Kotlin)
if (AFCore.authentication().isLoggedIn()) {
// show authenticated content
}Content copied to clipboard
iOS (Swift)
if AFCore.shared.authentication().isLoggedIn() {
// show authenticated content
}Content copied to clipboard
Return
true if a non-blank access token exists in storage.