Skip to content

Commit b1fb232

Browse files
committed
Updated examples.
1 parent 866520a commit b1fb232

File tree

3 files changed

+411
-410
lines changed

3 files changed

+411
-410
lines changed

auth/email/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ private function register(email:String, password:String):void
4343
var myObject:Object = new Object();
4444
myObject.email = email;
4545
myObject.password = password;
46+
myObject.returnSecureToken = true;
4647
4748
var header:URLRequestHeader = new URLRequestHeader("Content-Type", "application/json");
4849
@@ -78,9 +79,8 @@ The user will be automatically registered in the Auth section from your Firebase
7879

7980
For an Anonymous approach you don't need to specify anything in the request body. You will still get a response similar to the above just without an Email Address.
8081

81-
The `idToken` received from this response can be used as an `authToken` for the Firebase Database, Firebase Storage and Firebase Auth requests.
82-
83-
Once this Sign Up token has expired you must refresh it (see bottom of this page).
82+
The `idToken` received from this response is used to perform further account management requests.
83+
The `refreshToken` is used to get an `access_token` for Auth requests. For more information see the bottom of this page.
8484

8585
## Verifying Credentials (Sign In)
8686

0 commit comments

Comments
 (0)