Skip to content

Commit b67bc10

Browse files
deprecate Microsoft and Yahoo Auth Provider ID (#2517)
1 parent 7358e90 commit b67bc10

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Firebase/Auth/Source/Public/FIROAuthProvider.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@
2323

2424
NS_ASSUME_NONNULL_BEGIN
2525

26-
2726
/**
2827
@brief A string constant identifying the Microsoft identity provider.
2928
*/
30-
extern NSString *const FIRMicrosoftAuthProviderID NS_SWIFT_NAME(MicrosoftAuthProviderID);
29+
extern NSString *const FIRMicrosoftAuthProviderID NS_SWIFT_NAME(MicrosoftAuthProviderID)
30+
DEPRECATED_MSG_ATTRIBUTE("Please use \"microsoft.com\" instead.");
3131

3232
/**
3333
@brief A string constant identifying the Yahoo identity provider.
3434
*/
35-
extern NSString *const FIRYahooAuthProviderID NS_SWIFT_NAME(YahooAuthProviderID);
36-
35+
extern NSString *const FIRYahooAuthProviderID NS_SWIFT_NAME(YahooAuthProviderID)
36+
DEPRECATED_MSG_ATTRIBUTE("Please use \"yahoo.com\" instead.");
3737

3838
/** @class FIROAuthProvider
3939
@brief A concrete implementation of `FIRAuthProvider` for generic OAuth Providers.

0 commit comments

Comments
 (0)