5
5
* you may not use this file except in compliance with the License.
6
6
* You may obtain a copy of the License at
7
7
*
8
- * http://www.apache.org/licenses/LICENSE2 .0
8
+ * http://www.apache.org/licenses/LICENSE-2 .0
9
9
*
10
10
* Unless required by applicable law or agreed to in writing, software
11
11
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -22,27 +22,27 @@ NS_ASSUME_NONNULL_BEGIN
22
22
23
23
/* * @typedef FIRMultiFactorSessionCallback
24
24
@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 .
26
26
@param session The multi factor session returned, if any.
27
27
@param error The error which occurred, if any.
28
28
*/
29
29
typedef void (^FIRMultiFactorSessionCallback)(FIRMultiFactorSession *_Nullable session,
30
30
NSError *_Nullable error)
31
31
NS_SWIFT_UNAVAILABLE(" Use Swift's closure syntax instead." )
32
- API_UNAVAILABLE(macos, tvos, watchos);
32
+ API_UNAVAILABLE(tvos, watchos);
33
33
34
34
/* *
35
35
@brief The string identifier for using phone as a second factor.
36
- This constant is available on iOS only .
36
+ This constant is available on iOS and macOS .
37
37
*/
38
38
extern NSString *const _Nonnull FIRPhoneMultiFactorID NS_SWIFT_NAME (PhoneMultiFactorID)
39
- API_UNAVAILABLE(macos, tvos, watchos);
39
+ API_UNAVAILABLE(tvos, watchos);
40
40
41
41
/* *
42
42
@brief The string identifier for using TOTP as a second factor.
43
- This constant is available on iOS only .
43
+ This constant is available on iOS and macOS .
44
44
*/
45
45
extern NSString *const _Nonnull FIRTOTPMultiFactorID NS_SWIFT_NAME (TOTPMultiFactorID)
46
- API_UNAVAILABLE(macos, tvos, watchos);
46
+ API_UNAVAILABLE(tvos, watchos);
47
47
48
48
NS_ASSUME_NONNULL_END
0 commit comments