File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
firebase-ai/src/main/kotlin/com/google/firebase/ai Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -225,9 +225,9 @@ internal constructor(
225225 *
226226 * _This flag is set to `false` by default._
227227 *
228- * **Important:** Replay protection is not currently supported for the FirebaseAI backend.
229- * While this feature is being developed, you can still migrate to using limited-use tokens.
230- * Because limited-use tokens are backwards compatible, you can still use them without replay
228+ * **Important:** Replay protection is not currently supported for the FirebaseAI backend. While
229+ * this feature is being developed, you can still migrate to using limited-use tokens. Because
230+ * limited-use tokens are backwards compatible, you can still use them without replay
231231 * protection. Due to their shorter TTL over standard App Check tokens, they still provide a
232232 * security benefit. Migrating to limited-use tokens sooner minimizes disruption when support
233233 * for replay protection is added.
@@ -240,9 +240,7 @@ internal constructor(
240240 useLimitedUseAppCheckTokens : Boolean = false,
241241 ): FirebaseAI {
242242 val multiResourceComponent = app[FirebaseAIMultiResourceComponent ::class .java]
243- return multiResourceComponent.get(
244- InstanceKey (backend, useLimitedUseAppCheckTokens)
245- )
243+ return multiResourceComponent.get(InstanceKey (backend, useLimitedUseAppCheckTokens))
246244 }
247245
248246 /* * The [FirebaseAI] instance for the provided [FirebaseApp] using the Google AI Backend. */
You can’t perform that action at this time.
0 commit comments