ReferenceAsk
?

auth.logout

Clear the current session.
auth.logout() Promise<void>

Ends the session and fires onAuthStateChanged with null.

Usage
await auth.logout();