8000 Merge branch 'master' into links · ClarkDing/firebase-admin-python@5f5aa81 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5f5aa81

Browse files
committed
Merge branch 'master' into links
2 parents 07525f0 + b9a0f1b commit 5f5aa81

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

firebase_admin/auth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def revoke_refresh_tokens(uid, app=None):
118118
While this revokes all sessions for a specified user and disables any new ID tokens for
119119
existing sessions from getting minted, existing ID tokens may remain active until their
120120
natural expiration (one hour). To verify that ID tokens are revoked, use
121-
`verify_id_token(idToken, check_revoked=True)`.
121+
``verify_id_token(idToken, check_revoked=True)``.
122122
"""
123123
user_manager = _get_auth_service(app).user_manager
124124
user_manager.update_user(uid, valid_since=int(time.time()))
@@ -273,7 +273,7 @@ def update_user(uid, **kwargs):
273273
custom_claims: A dictionary or a JSON string contining the custom claims to be set on the
274274
user account (optional).
275275
valid_since: An integer signifying the seconds since the epoch. This field is set by
276-
`revoke_refresh_tokens` and it is discouraged to set this field directly.
276+
``revoke_refresh_tokens`` and it is discouraged to set this field directly.
277277
278278
Returns:
279279
UserRecord: An updated UserRecord instance for the user.

firebase_admin/db.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,8 @@ def delete(self):
284284
def transaction(self, transaction_update):
285285
"""Atomically modifies the data at this location.
286286
287-
Unlike a normal `set()`, which just overwrites the data regardless of its previous state,
288-
`transaction()` is used to modify the existing value to a new value, ensuring there are
287+
Unlike a normal ``set()``, which just overwrites the data regardless of its previous state,
288+
``transaction()`` is used to modify the existing value to a new value, ensuring there are
289289
no conflicts with other clients simultaneously writing to the same location.
290290
291291
This is accomplished by passing an update function which is used to transform the current

0 commit comments

Comments
 (0)
0