Guest User

Untitled

a guest
Nov 15th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. var uid = "some-uid";
  2.  
  3. admin.auth().createCustomToken(uid)
  4. .then(function(customToken) {
  5. // Send token back to client
  6. })
  7. .catch(function(error) {
  8. console.log("Error creating custom token:", error);
  9. });
Add Comment
Please, Sign In to add comment