AuthenticationState
You can directly use an instance of this class.
AuthState
Class to hold a temporary authentication state for the user. Only used to be able to retrieve the user ID rather quickly since asyncstorage and database calls are asynchronous.
Constructor Summary
| Public Constructor | ||
| public |
Creates an instance of AuthenticationState |
|
Member Summary
| Public Members | ||
| public |
|
|
Method Summary
| Public Methods | ||
| public |
Returns the current user's id. |
|
| public |
setCurrentUserID(id: string) Sets the current user id. |
|
Reference
Source
