Skip to content

Commit 60b4b41

Browse files
committed
Formatting
1 parent c99e74e commit 60b4b41

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

firebase-ai/src/main/kotlin/com/google/firebase/ai/FirebaseAI.kt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff 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. */

0 commit comments

Comments
 (0)