Skip to content

Commit

Permalink
Review
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 committed Nov 12, 2024
1 parent d0a584f commit 6a35797
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ private let kHttpProtocol = "http:"
private let kEmulatorHostAndPrefixFormat = "%@/%@"

#if compiler(>=6)
/// Host for server API calls.
/// Host for server API calls. This should be changed via
/// `IdentityToolkitRequest.setHost(_ host:)` for testing purposes only.
private nonisolated(unsafe) var gAPIHost = "www.googleapis.com"
#else
/// Host for server API calls.
/// Host for server API calls. This should be changed via
/// `IdentityToolkitRequest.setHost(_ host:)` for testing purposes only.
private var gAPIHost = "www.googleapis.com"
#endif // compiler(>=6)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,12 @@ private let kRefreshTokenKey = "refreshToken"
private let kCodeKey = "code"

#if compiler(>=6)
/// Host for server API calls.
/// Host for server API calls. This should be changed via
/// `SecureTokenRequest.setHost(_ host:)` for testing purposes only.
private nonisolated(unsafe) var gAPIHost = "securetoken.googleapis.com"
#else
/// Host for server API calls.
/// Host for server API calls. This should be changed via
/// `SecureTokenRequest.setHost(_ host:)` for testing purposes only.
private var gAPIHost = "securetoken.googleapis.com"
#endif // compiler(>=6)

Expand Down

0 comments on commit 6a35797

Please sign in to comment.