GoogleSignInController.onCurrentUserChanged() Method
Registers a callback to be called when the current user changes.
Signature
onCurrentUserChanged(callback: () => void): () => void;
Parameters
Parameter | Type | Description |
---|---|---|
callback | () => void | The callback to be called. |
(Returns) | () => void | A function that unregisters the callback. |