55 * you may not use this file except in compliance with the License.
66 * You may obtain a copy of the License at
77 *
8- * http://www.apache.org/licenses/LICENSE2 .0
8+ * http://www.apache.org/licenses/LICENSE-2 .0
99 *
1010 * Unless required by applicable law or agreed to in writing, software
1111 * distributed under the License is distributed on an "AS IS" BASIS,
@@ -22,27 +22,26 @@ NS_ASSUME_NONNULL_BEGIN
2222
2323/* * @typedef FIRMultiFactorSessionCallback
2424 @brief The callback that triggered when a developer calls `getSessionWithCompletion`.
25- This type is available on iOS only .
25+ This type is available on iOS and macOS .
2626 @param session The multi factor session returned, if any.
2727 @param error The error which occurred, if any.
2828*/
2929typedef void (^FIRMultiFactorSessionCallback)(FIRMultiFactorSession *_Nullable session,
3030 NSError *_Nullable error)
31- NS_SWIFT_UNAVAILABLE(" Use Swift's closure syntax instead." )
32- API_UNAVAILABLE(macos, tvos, watchos);
31+ NS_SWIFT_UNAVAILABLE(" Use Swift's closure syntax instead." ) API_UNAVAILABLE(tvos, watchos);
3332
3433/* *
3534 @brief The string identifier for using phone as a second factor.
36- This constant is available on iOS only .
35+ This constant is available on iOS and macOS .
3736*/
3837extern NSString *const _Nonnull FIRPhoneMultiFactorID NS_SWIFT_NAME (PhoneMultiFactorID)
39- API_UNAVAILABLE(macos, tvos, watchos);
38+ API_UNAVAILABLE(tvos, watchos);
4039
4140/* *
4241 @brief The string identifier for using TOTP as a second factor.
43- This constant is available on iOS only .
42+ This constant is available on iOS and macOS .
4443*/
4544extern NSString *const _Nonnull FIRTOTPMultiFactorID NS_SWIFT_NAME (TOTPMultiFactorID)
46- API_UNAVAILABLE(macos, tvos, watchos);
45+ API_UNAVAILABLE(tvos, watchos);
4746
4847NS_ASSUME_NONNULL_END
0 commit comments