• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Token generation in Firebase Code

Q&A Forum › Category: ESP32 › Token generation in Firebase Code
0 Vote Up Vote Down
Prakash asked 4 years ago

I did not understand what is Token Generation and the purpose of these code snippets in the code for  Firebase
// Assign the callback function for the long running token generation task */
config.token_status_callback = tokenStatusCallback; //see addons/TokenHelper.h
// Assign the maximum retry of token generation
config.max_token_generation_retry = 5;
Firebase_Token – Pastebin.com

Question Tags: Firebase
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
You don’t need to modify those snippets.
Those are needed to generate tokens.
The token is what allows us to identify the user and provide access to the firebase project and services.
Learn more:

  • https://firebase.google.com/docs/auth/admin/verify-id-tokens#retrieve_id_tokens_on_clients
  • https://firebase.google.com/docs/auth/admin/create-custom-tokens

Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.