Skip to content

Commit 7352a43

Browse files
Auth Javadoc edits (#540)
* Javadoc edits * AbstractFirebaseAuth docstring edits * Update src/main/java/com/google/firebase/auth/UserRecord.java
1 parent 2c2a2ca commit 7352a43

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/main/java/com/google/firebase/auth/AbstractFirebaseAuth.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -555,9 +555,9 @@ protected UserRecord execute() throws FirebaseAuthException {
555555
}
556556

557557
/**
558-
* Gets the user data for the user corresponding to a given provider id.
558+
* Gets the user data for the user corresponding to a given provider ID.
559559
*
560-
* @param providerId Identifier for the given federated provider, for example,
560+
* @param providerId Identifier for the given federated provider: for example,
561561
* "google.com" for the Google provider.
562562
* @param uid The user identifier with the given provider.
563563
* @return A {@link UserRecord} instance.
@@ -571,9 +571,9 @@ public UserRecord getUserByProviderUid(
571571
}
572572

573573
/**
574-
* Gets the user data for the user corresponding to a given provider id.
574+
* Gets the user data for the user corresponding to a given provider ID.
575575
*
576-
* @param providerId Identifer for the given federated provider, for example,
576+
* @param providerId Identifer for the given federated provider: for example,
577577
* "google.com" for the Google provider.
578578
* @param uid The user identifier with the given provider.
579579
* @return An {@code ApiFuture} which will complete successfully with a {@link UserRecord}

src/main/java/com/google/firebase/auth/UserRecord.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,8 +576,8 @@ public UpdateRequest setCustomClaims(Map<String,Object> customClaims) {
576576
*
577577
* <p>Linking a provider to an existing user account does not invalidate the
578578
* refresh token of that account. In other words, the existing account
579-
* would continue to be able to access resources, despite not having used
580-
* the newly linked provider to log in. If you wish to force the user to
579+
* continues to be able to access resources, despite not having used
580+
* the newly linked provider to sign in. If you wish to force the user to
581581
* authenticate with this new provider, you need to (a) revoke their
582582
* refresh token (see
583583
* https://firebase.google.com/docs/auth/admin/manage-sessions#revoke_refresh_tokens),

0 commit comments

Comments
 (0)