Skip to content

Commit 2369c18

Browse files
committed
Improve and add more token management functions and examples to support external id and access tokens.
1 parent 00d3f1d commit 2369c18

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Firebase.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,8 +589,8 @@ void FIREBASE_CLASS::mSetAuthToken(FirebaseConfig *config, MB_StringPtr authToke
589589

590590
if (!config)
591591
return;
592-
593-
this->reset(config);
592+
593+
this->reset(config);
594594

595595
bool refresh = false;
596596

src/Firebase.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ class Firebase_ESP_Client
173173
/** Reset stored config and auth credentials.
174174
*
175175
* @param config The pointer to FirebaseConfig data.
176-
*
176+
*
177177
*/
178178
void reset(FirebaseConfig *config);
179179

@@ -489,7 +489,7 @@ class FIREBASE_CLASS
489489
*/
490490
bool isTokenExpired();
491491

492-
/** Force the token to expire immediately and refresh.
492+
/** Force the token to expire immediately and refresh.
493493
*
494494
* @param config The pointer to FirebaseConfig data.
495495
*/
@@ -498,7 +498,7 @@ class FIREBASE_CLASS
498498
/** Reset stored config authentiocation credentials.
499499
*
500500
* @param config The pointer to FirebaseConfig data.
501-
*
501+
*
502502
*/
503503
void reset(FirebaseConfig *config);
504504

0 commit comments

Comments
 (0)