Firebase Authentication¶
Non-Visible component| Category | Requires | Version |
|---|---|---|
| API 21, Android 5.0 Lollipop | 3 |
Overview¶
A non-visible component that lets users sign in using authentication services provided by Firebase.
Permissions
Events¶
Current User Failed¶
Triggers when the current Firebase User failed to load
Current User Success¶
Triggers when the current Firebase User was successful loaded
| Params | |
|---|---|
| user ID | Text |
| name | Text |
| Text | |
| phone Number | Text |
| profile Picture | Text |
Got Id Token¶
Triggers when the 'Get Id Token' got a result. If there was a error it returns a empty text.
| Params | |
|---|---|
| id Token | Text |
Login Failed¶
Triggers when the Firebase Login failed
| Params | |
|---|---|
| provider | Text |
Login Success¶
Triggers when the Firebase Login was successful
| Params | |
|---|---|
| provider | Text |
| user ID | Text |
| name | Text |
| Text | |
| phone Number | Text |
| profile Picture | Text |
Reset Password Email Done¶
Triggers when the 'Send Reset Password Email' got a result. Returns true if the reset email was send.
| Params | |
|---|---|
| success | Boolean |
Sign Up Failed¶
Triggers when the Firebase Sign Up failed
| Params | |
|---|---|
| provider | Text |
| message | Text |
Sign Up Success¶
Triggers when the Firebase Sign Up failed
| Params | |
|---|---|
| provider | Text |
| user ID | Text |
| name | Text |
| Text | |
| phone Number | Text |
| profile Picture | Text |
User Update Failed¶
Triggers when updating of the user failed
| Params | |
|---|---|
| type | Text |
User Update Success¶
Triggers when updating of the user was successful
| Params | |
|---|---|
| type | Text |
Methods¶
Email Password Login¶
Try to let the user sign in with Email and Password
| Params | |
|---|---|
| Text | |
| password | Text |
Email Password Sign Up¶
Create a new user by Email and Password
| Params | |
|---|---|
| Text | |
| password | Text |
Get Current User¶
Try to get the user that is signed in
Get Id Token¶
Get the id token from the current user.
Google Sign In¶
Try to let the user sign in with Google
Is Signed In¶
Returns: Boolean
Check if the user is signed in
Logout¶
Log the current user out
Phone Number Sign In¶
Try to let the user sign in with a Phone Number
| Params | |
|---|---|
| phone Number | Text |
Send Reset Password Email¶
Get the id token from the current user.
| Params | |
|---|---|
| Text |
Update Email¶
Try to update the email of the current user (The user must have been recently signed in)
| Params | |
|---|---|
| Text |
Update Phone Number¶
Try to update the phone number of the current user (The user must have been recently signed in)
| Params | |
|---|---|
| phone Number | Text |
Update Profile¶
Try to update the profile of the current user (The user must have been recently signed in)
| Params | |
|---|---|
| name | Text |
| profile Picture | Text |
Verify Email¶
Verify the Email
Verify Phone Code¶
Verify the SMS code
| Params | |
|---|---|
| code | Text |