Classes

The following classes are available globally.

  • Manages information regarding action codes.

    Declaration

    Swift

    class FIRActionCodeInfo : NSObject

    Objective-C

    @interface FIRActionCodeInfo : NSObject
  • Manages authentication for Firebase apps. This class is thread-safe.

    Declaration

    Swift

    class FIRAuth : NSObject

    Objective-C

    @interface FIRAuth : NSObject
  • Represents a credential.

    Declaration

    Swift

    class FIRAuthCredential : NSObject

    Objective-C

    @interface FIRAuthCredential : NSObject
  • Error Codes common to all API Methods:

    • FIRAuthErrorCodeNetworkError
    • FIRAuthErrorCodeUserNotFound
    • FIRAuthErrorCodeUserTokenExpired
    • FIRAuthErrorCodeTooManyRequests
    • FIRAuthErrorCodeInvalidAPIKey
    • FIRAuthErrorCodeAppNotAuthorized
    • FIRAuthErrorCodeKeychainError
    • FIRAuthErrorCodeInternalError
    Common error codes for FIRUser operations:
    • FIRAuthErrorCodeInvalidUserToken
    • FIRAuthErrorCodeUserDisabled

    Declaration

    Swift

    class FIRAuthErrors

    Objective-C

    @interface FIRAuthErrors
  • A concrete implementation of FIRAuthProvider for Email & Password Sign In.

    Declaration

    Swift

    class FIREmailPasswordAuthProvider : NSObject

    Objective-C

    @interface FIREmailPasswordAuthProvider : NSObject
  • Utility class for constructing Facebook credentials.

    Declaration

    Swift

    class FIRFacebookAuthProvider : NSObject

    Objective-C

    @interface FIRFacebookAuthProvider : NSObject
  • Utility class for constructing GitHub credentials.

    Declaration

    Swift

    class FIRGitHubAuthProvider : NSObject

    Objective-C

    @interface FIRGitHubAuthProvider : NSObject
  • Utility class for constructing Google Sign In credentials.

    Declaration

    Swift

    class FIRGoogleAuthProvider : NSObject

    Objective-C

    @interface FIRGoogleAuthProvider : NSObject
  • Utility class for constructing Twitter credentials.

    Declaration

    Swift

    class FIRTwitterAuthProvider : NSObject

    Objective-C

    @interface FIRTwitterAuthProvider : NSObject
  • Represents a user. This class is thread-safe.

    Declaration

    Swift

    class FIRUser : NSObject, FIRUserInfo

    Objective-C

    @interface FIRUser : NSObject <FIRUserInfo>
  • Represents an object capable of updating a user’s profile data. Properties are marked as being part of a profile update when they are set. Setting a property value to nil is not the same as leaving the property unassigned.

    Declaration

    Swift

    class FIRUserProfileChangeRequest : NSObject

    Objective-C

    @interface FIRUserProfileChangeRequest : NSObject