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,26 @@ 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
- 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);
33
32
34
33
/* *
35
34
@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 .
37
36
*/
38
37
extern NSString *const _Nonnull FIRPhoneMultiFactorID NS_SWIFT_NAME (PhoneMultiFactorID)
39
- API_UNAVAILABLE(macos, tvos, watchos);
38
+ API_UNAVAILABLE(tvos, watchos);
40
39
41
40
/* *
42
41
@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 .
44
43
*/
45
44
extern NSString *const _Nonnull FIRTOTPMultiFactorID NS_SWIFT_NAME (TOTPMultiFactorID)
46
- API_UNAVAILABLE(macos, tvos, watchos);
45
+ API_UNAVAILABLE(tvos, watchos);
47
46
48
47
NS_ASSUME_NONNULL_END
0 commit comments