-
-
Notifications
You must be signed in to change notification settings - Fork 5
Authentication Get Started
The contents of this page are based on the original Firebase Documentation
You can use Firebase Authentication to allow users to sign in to your app using one or more sign-in methods, including email address and password sign-in, and federated identity providers such as Google Sign-in and Facebook Login. This tutorial gets you started with Firebase Authentication by showing you how to add email address and password sign-in to your app.
import com.tuarua.firebase.AuthANE;
private var auth:AuthANE;
auth = AuthANE.auth;
Create a form that allows new users to register with your app using their email address and a password. When a user completes the form, validate the email address and password provided by the user, then pass them to the createUserWithEmailAndPassword() method:
auth.createUserWithEmailAndPassword("[email protected]", "password", onNewUser);
auth.signIn(new EmailAuthCredential("[email protected]", "password"), onSignedIn);
var user:FirebaseUser = auth.currentUser;
trace(user.displayName);
trace(user.email);
trace(user.photoUrl);
Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.
Project setup
Analytics
Authentication
Dynamic Links
Google Sign In
Firestore
- Configuring the ANE
- Get Started
- Add and Manage Data
- Query Data
- Get Data
- Get Realtime Updates
- Perform Simple and Compound Queries
- Order and Limit Data
- Paginate Data
Messaging
One Signal
Performance
Remote Config
Storage
- Configuring the ANE
- Get Started
- Create a Reference
- Upload Files
- Download Files
- Use File Metadata
- Delete Files
Crashlytics
Vision
- Detect faces
- Scan barcodes
- Label images
- Recognize landmarks
- Natural Language
- Custom Models
External Links