FIRAuthDataResult


@interface FIRAuthDataResult : 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.

  • This class should not be initialized manually. FIRAuthDataResult instance is returned as part of FIRAuthDataResultCallback .

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • The signed in user.

    Declaration

    Swift

    var user: FIRUser { get }

    Objective-C

    @property (readonly, nonatomic) FIRUser *_Nonnull user;
  • If available contains the additional IdP specific information about signed in user.

    Declaration

    Swift

    var additionalUserInfo: FIRAdditionalUserInfo? { get }

    Objective-C

    @property (readonly, nonatomic, nullable)
        FIRAdditionalUserInfo *additionalUserInfo;