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(
225
225
*
226
226
* _This flag is set to `false` by default._
227
227
*
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
231
231
* protection. Due to their shorter TTL over standard App Check tokens, they still provide a
232
232
* security benefit. Migrating to limited-use tokens sooner minimizes disruption when support
233
233
* for replay protection is added.
@@ -240,9 +240,7 @@ internal constructor(
240
240
useLimitedUseAppCheckTokens : Boolean = false,
241
241
): FirebaseAI {
242
242
val multiResourceComponent = app[FirebaseAIMultiResourceComponent ::class .java]
243
- return multiResourceComponent.get(
244
- InstanceKey (backend, useLimitedUseAppCheckTokens)
245
- )
243
+ return multiResourceComponent.get(InstanceKey (backend, useLimitedUseAppCheckTokens))
246
244
}
247
245
248
246
/* * The [FirebaseAI] instance for the provided [FirebaseApp] using the Google AI Backend. */
You can’t perform that action at this time.
0 commit comments