Skip to content

Commit 6a35797

Browse files
committed
Review
1 parent d0a584f commit 6a35797

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

FirebaseAuth/Sources/Swift/Backend/IdentityToolkitRequest.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ private let kHttpProtocol = "http:"
2020
private let kEmulatorHostAndPrefixFormat = "%@/%@"
2121

2222
#if compiler(>=6)
23-
/// Host for server API calls.
23+
/// Host for server API calls. This should be changed via
24+
/// `IdentityToolkitRequest.setHost(_ host:)` for testing purposes only.
2425
private nonisolated(unsafe) var gAPIHost = "www.googleapis.com"
2526
#else
26-
/// Host for server API calls.
27+
/// Host for server API calls. This should be changed via
28+
/// `IdentityToolkitRequest.setHost(_ host:)` for testing purposes only.
2729
private var gAPIHost = "www.googleapis.com"
2830
#endif // compiler(>=6)
2931

FirebaseAuth/Sources/Swift/Backend/RPC/SecureTokenRequest.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,12 @@ private let kRefreshTokenKey = "refreshToken"
5555
private let kCodeKey = "code"
5656

5757
#if compiler(>=6)
58-
/// Host for server API calls.
58+
/// Host for server API calls. This should be changed via
59+
/// `SecureTokenRequest.setHost(_ host:)` for testing purposes only.
5960
private nonisolated(unsafe) var gAPIHost = "securetoken.googleapis.com"
6061
#else
61-
/// Host for server API calls.
62+
/// Host for server API calls. This should be changed via
63+
/// `SecureTokenRequest.setHost(_ host:)` for testing purposes only.
6264
private var gAPIHost = "securetoken.googleapis.com"
6365
#endif // compiler(>=6)
6466

0 commit comments

Comments
 (0)