Constants
The following constants are available globally.
-
The name of the
NSNotificationCenternotification which is posted when the auth state changes (for example, a new token has been produced, a user signs in or signs out). The object parameter of the notification is the senderFIRAuthinstance.Declaration
Swift
static let FIRAuthStateDidChange: NSNotification.NameObjective-C
extern NSString *const _Nonnull FIRAuthStateDidChangeNotification
-
The Firebase Auth error domain.
Declaration
Swift
let FIRAuthErrorDomain: StringObjective-C
extern NSString *const FIRAuthErrorDomain -
The name of the key for the
error_name
string in the NSError userinfo dictionary.Declaration
Swift
let FIRAuthErrorNameKey: StringObjective-C
extern NSString *const FIRAuthErrorNameKey
-
A string constant identifying the email & password identity provider.
Declaration
Swift
let FIREmailPasswordAuthProviderID: StringObjective-C
extern NSString *const _Nonnull FIREmailPasswordAuthProviderID
-
A string constant identifying the Facebook identity provider.
Declaration
Swift
let FIRFacebookAuthProviderID: StringObjective-C
extern NSString *const _Nonnull FIRFacebookAuthProviderID
-
A string constant identifying the GitHub identity provider.
Declaration
Swift
let FIRGitHubAuthProviderID: StringObjective-C
extern NSString *const _Nonnull FIRGitHubAuthProviderID
-
A string constant identifying the Google identity provider.
Declaration
Swift
let FIRGoogleAuthProviderID: StringObjective-C
extern NSString *const _Nonnull FIRGoogleAuthProviderID
-
A string constant identifying the Twitter identity provider.
Declaration
Swift
let FIRTwitterAuthProviderID: StringObjective-C
extern NSString *const _Nonnull FIRTwitterAuthProviderID
-
Version number for FirebaseAuth.
Declaration
Swift
let FirebaseAuthVersionNumber: DoubleObjective-C
extern const double FirebaseAuthVersionNumber -
Version string for FirebaseAuth.
Declaration
Swift
let FirebaseAuthVersionString: UnsafePointerObjective-C
extern const unsigned char *const FirebaseAuthVersionString

