File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
appcheck/firebase-appcheck/src/main/java/com/google/firebase/appcheck Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 20
20
/**
21
21
* Interface for a provider that generates {@link AppCheckToken}s. This provider can be called at
22
22
* any time by any Firebase library that depends (optionally or otherwise) on {@link
23
- * AppCheckToken}s. This provider should be responsible for determining if a new token can be
24
- * created at the time of the call and returning that new token if it can be .
23
+ * AppCheckToken}s. This provider is responsible for determining if it can create a new token at the
24
+ * time of the call and returning that new token if it can.
25
25
*/
26
26
public interface AppCheckProvider {
27
27
Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ public static FirebaseAppCheck getInstance(@NonNull FirebaseApp firebaseApp) {
37
37
}
38
38
39
39
/**
40
- * Installs the given {@link AppCheckProviderFactory}, overwriting any that previously was
40
+ * Installs the given {@link AppCheckProviderFactory}, overwriting any that were previously
41
41
* associated with this FirebaseAppCheck instance. Any {@link AppCheckTokenListener}s attached to
42
- * this FirebaseAppCheck instance will be transferred from any existing factory to the newly
42
+ * this FirebaseAppCheck instance will be transferred from existing factories to the newly
43
43
* installed one.
44
44
*
45
45
* <p>Automatic token refreshing will only occur if the global {@code
@@ -52,9 +52,9 @@ public static FirebaseAppCheck getInstance(@NonNull FirebaseApp firebaseApp) {
52
52
public abstract void installAppCheckProviderFactory (@ NonNull AppCheckProviderFactory factory );
53
53
54
54
/**
55
- * Installs the given {@link AppCheckProviderFactory}, overwriting any that previously was
55
+ * Installs the given {@link AppCheckProviderFactory}, overwriting any that were previously
56
56
* associated with this FirebaseAppCheck instance. Any {@link AppCheckTokenListener}s attached to
57
- * this FirebaseAppCheck instance will be transferred from any existing factory to the newly
57
+ * this FirebaseAppCheck instance will be transferred from existing factories to the newly
58
58
* installed one.
59
59
*
60
60
* <p>Automatic token refreshing will only occur if the {@code isTokenAutoRefreshEnabled} field is
You can’t perform that action at this time.
0 commit comments