FirebaseAuth Framework Reference Stay organized with collections Save and categorize content based on your preferences.
Classes
The following classes are available globally.
Used to set and retrieve settings related to handling action codes.
Declaration
Objective-C
@interfaceFIRActionCodeSettings:NSObjectRepresents additional user data returned from an identity provider.
Declaration
Objective-C
@interfaceFIRAdditionalUserInfo:NSObjectManages information regarding action codes.
Declaration
Objective-C
@interfaceFIRActionCodeInfo:NSObjectThis class will allow developers to easily extract information about out of band links.
Declaration
Objective-C
@interfaceFIRActionCodeURL:NSObjectManages authentication for Firebase apps.This class is thread-safe.
Declaration
Objective-C
@interfaceFIRAuth:NSObjectRepresents a credential.
Declaration
Objective-C
@interfaceFIRAuthCredential:NSObjectHelper object that contains the result of a successful sign-in, link and reauthenticate action. It contains references to a
Userinstance and aAdditionalUserInfoinstance.Declaration
Objective-C
@interfaceFIRAuthDataResult:NSObjectError Codes common to all API Methods:
+`AuthErrorCodeNetworkError`+`AuthErrorCodeUserNotFound`+`AuthErrorCodeUserTokenExpired`+`AuthErrorCodeTooManyRequests`+`AuthErrorCodeInvalidAPIKey`+`AuthErrorCodeAppNotAuthorized`+`AuthErrorCodeKeychainError`+`AuthErrorCodeInternalError`Common error codes for
Useroperations:+`AuthErrorCodeInvalidUserToken`+`AuthErrorCodeUserDisabled`Declaration
Objective-C
@interfaceFIRAuthErrorsDetermines settings related to an auth object.
Declaration
Objective-C
@interfaceFIRAuthSettings:NSObject<NSCopying>A data class containing the ID token JWT string and other properties associated with thetoken including the decoded payload claims.
Declaration
Objective-C
@interfaceFIRAuthTokenResult:NSObjectA concrete implementation of
AuthProviderfor Email & Password Sign In.Declaration
Objective-C
@interfaceFIREmailAuthProvider:NSObjectUtility class for constructing Facebook credentials.
Declaration
Objective-C
@interfaceFIRFacebookAuthProvider:NSObjectA concrete implementation of
AuthProviderfor Game Center Sign In. Not available on watchOS.Declaration
Objective-C
@interfaceFIRGameCenterAuthProvider:NSObjectUtility class for constructing GitHub credentials.
Declaration
Objective-C
@interfaceFIRGitHubAuthProvider:NSObjectUtility class for constructing Google Sign In credentials.
Declaration
Objective-C
@interfaceFIRGoogleAuthProvider:NSObjectThe interface defining the multi factor related properties and operations pertaining to a user. This class is available on iOS only.
Declaration
Objective-C
@interfaceFIRMultiFactor:NSObjectThe base class for asserting ownership of a second factor. This is equivalent to the AuthCredential class. This class is available on iOS only.
Declaration
Objective-C
@interfaceFIRMultiFactorAssertion:NSObjectSafe public structure used to represent a second factor entity from a client perspective. This class is available on iOS only.
Declaration
Objective-C
@interfaceFIRMultiFactorInfo:NSObjectThe data structure used to help developers resolve 2nd factor requirements on users that have opted in to 2 factor authentication. This class is available on iOS only.
Declaration
Objective-C
@interfaceFIRMultiFactorResolver:NSObjectOpaque object that identifies the current session to enroll a second factor or to complete sign in when previously enrolled. This class is available on iOS only.
Declaration
Objective-C
@interfaceFIRMultiFactorSession:NSObjectInternal implementation of FIRAuthCredential for generic credentials.
Declaration
Objective-C
@interfaceFIROAuthCredential:FIRAuthCredential<NSSecureCoding>A concrete implementation of
AuthProviderfor generic OAuth Providers.Declaration
Objective-C
@interfaceFIROAuthProvider:NSObject<FIRFederatedAuthProvider>Implementation of FIRAuthCredential for Phone Auth credentials. This class is available on iOS only.
Declaration
Objective-C
@interfaceFIRPhoneAuthCredential:FIRAuthCredential<NSSecureCoding>A concrete implementation of
AuthProviderfor phone auth providers. This class is available on iOS only.Declaration
Objective-C
@interfaceFIRPhoneAuthProvider:NSObjectThe subclass of base class FIRMultiFactorAssertion, used to assert ownership of a phone second factor. This class is available on iOS only.
Declaration
Objective-C
@interfaceFIRPhoneMultiFactorAssertion:FIRMultiFactorAssertionThe data structure used to help initialize an assertion for a second factor entity to the Firebase Auth/CICP server. Depending on the type of second factor, this will help generate the assertion. This class is available on iOS only.
Declaration
Objective-C
@interfaceFIRPhoneMultiFactorGenerator:NSObjectExtends the MultiFactorInfo class for phone number second factors. The identifier of this second factor is “phone”. This class is available on iOS only.
Declaration
Objective-C
@interfaceFIRPhoneMultiFactorInfo:FIRMultiFactorInfoThe subclass of base class MultiFactorAssertion, used to assert ownership of a TOTP(Time-based One Time Password) second factor.This class is available on iOS only.
Declaration
Objective-C
@interfaceFIRTOTPMultiFactorAssertion:FIRMultiFactorAssertionThe data structure used to help initialize an assertion for a second factor entity to theFirebase Auth/CICP server. Depending on the type of second factor, this will help generatethe assertion.This class is available on iOS only.
Declaration
Objective-C
@interfaceFIRTOTPMultiFactorGenerator:NSObjectDeclaration
Objective-C
@interfaceFIRTOTPSecret:NSObjectUtility class for constructing Twitter credentials.
Declaration
Objective-C
@interfaceFIRTwitterAuthProvider:NSObjectRepresents a user. Firebase Auth does not attempt to validate users when loading them from the keychain. Invalidated users (such as those whose passwords have been changed on another client) are automatically logged out when an auth-dependent operation is attempted or when the ID token is automatically refreshed.This class is thread-safe.
Declaration
Objective-C
@interfaceFIRUser: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
Objective-C
@interfaceFIRUserProfileChangeRequest:NSObjectA data class representing the metadata corresponding to a Firebase user.
Declaration
Objective-C
@interfaceFIRUserMetadata:NSObject
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-07-12 UTC.