[null,null,["Last updated 2024-01-23 UTC."],[],[],null,["firebase::auth::IdTokenListener\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 ID token.\n\nSummary\n\nOverride base class method to handle ID token changes. Methods are invoked asynchronously and may be invoked on other threads.\n\nPublic functions \n\nOnIdTokenChanged \n\n```c++\nvirtual void OnIdTokenChanged(\n Auth *auth\n)=0\n``` \nCalled when there is a change in the current user's token.\n\n\n- Right after the listener has been registered\n- When a user signs in\n- When the current user signs out\n- When the current user changes\n- When there is a change in the current user's token\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\\~IdTokenListener \n\n```c++\nvirtual ~IdTokenListener()\n``` \n\n| **Note:** : Destruction of the listener automatically calls RemoveIdTokenListener() from the Auths this listener is registered with, if those Auths have not yet been destroyed.\n\n\u003cbr /\u003e"]]