Classes

The following classes are available globally.

  • Used to set and retrieve settings related to handling action codes.

    Declaration

    Swift

    class ActionCodeSettings : NSObject
  • Represents additional user data returned from an identity provider.

    Declaration

    Swift

    class AdditionalUserInfo : NSObject
  • Manages information regarding action codes.

    Declaration

    Swift

    class ActionCodeInfo : NSObject
  • Manages authentication for Firebase apps. This class is thread-safe.

    Declaration

    Swift

    class Auth : NSObject
  • Represents a credential.

    Declaration

    Swift

    class AuthCredential : NSObject
  • Helper object that contains the result of a successful sign-in, link and reauthenticate action. It contains references to a FIRUser instance and a FIRAdditionalUserInfo instance.

    Declaration

    Swift

    class AuthDataResult : 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 AuthErrors
  • Determines settings related to an auth object.

    Declaration

    Swift

    class AuthSettings : NSObject
  • A data class containing the ID token JWT string and other properties associated with the token including the decoded payload claims.

    Declaration

    Swift

    class AuthTokenResult : NSObject
  • A concrete implementation of FIRAuthProvider for Email & Password Sign In.

    Declaration

    Swift

    class EmailAuthProvider : NSObject
  • Utility class for constructing Facebook credentials.

    Declaration

    Swift

    class FacebookAuthProvider : NSObject
  • A concrete implementation of FIRAuthProvider for Game Center Sign In.

    Declaration

    Swift

    class GameCenterAuthProvider : NSObject
  • Utility class for constructing GitHub credentials.

    Declaration

    Swift

    class GitHubAuthProvider : NSObject
  • Utility class for constructing Google Sign In credentials.

    Declaration

    Swift

    class GoogleAuthProvider : NSObject
  • Internal implementation of FIRAuthCredential for generic credentials.

    Declaration

    Swift

    class OAuthCredential : AuthCredential, NSSecureCoding
  • A concrete implementation of FIRAuthProvider for phone auth providers.

    Declaration

    Swift

    class PhoneAuthPro