[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-01-23 UTC."],[],[],null,["firebase::auth::AuthStateListener\n\n\n**This is an abstract class.**\n\n\n`#include \u003cauth.h\u003e`\n\nListener called when there is a change in the authentication state.\n\nSummary\n\nOverride base class method to handle authentication state changes. Methods are invoked asynchronously and may be invoked on other threads.\n\nPublic functions \n\nOnAuthStateChanged \n\n```c++\nvirtual void OnAuthStateChanged(\n Auth *auth\n)=0\n``` \nCalled when the authentication state of `auth` changes.\n\n\n- Right after the listener has been registered\n- When a user is signed in\n- When the current user is signed out\n- When the current user changes\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\\~AuthStateListener \n\n```c++\nvirtual ~AuthStateListener()\n``` \n\n| **Note:** : Destruction of the listener automatically calls RemoveAuthStateListener() from the Auths this listener is registered with, if those Auths have not yet been destroyed.\n\n\u003cbr /\u003e"]]