FirebaseAuth Framework Reference

FIRAuthDataResult

@interfaceFIRAuthDataResult:NSObject

Helper object that contains the result of a successful sign-in, link and reauthenticate action. It contains references to aUser instance and aAdditionalUserInfo instance.

  • This class should not be initialized manually.AuthDataResult instance is returned as part ofAuthDataResultCallback.

    Declaration

    Objective-C

    -(nonnullinstancetype)init;
  • The signed in user.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    @property(nonatomic,readonly,nullable)FIRAdditionalUserInfo*additionalUserInfo;
  • This property will be non-nil after a successful headful-lite sign-in viasignIn(with:uiDelegate:completion:). May be used to obtain the accessToken and/or IDToken pertaining to a recently signed-in user.

    Declaration

    Objective-C

    @property(nonatomic,readonly,nullable)FIRAuthCredential*credential;

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 2022-05-04 UTC.