FirebaseAuth Framework Reference

FIRAdditionalUserInfo


@interface FIRAdditionalUserInfo : NSObject

Represents additional user data returned from an identity provider.

  • This class should not be initialized manually. AdditionalUserInfo can be retrieved from from an instance of AuthDataResult.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • The provider identifier.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull providerID;
  • Dictionary containing the additional IdP specific information.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSDictionary<NSString *, NSObject *> *profile;
  • username The name of the user.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *username;
  • Indicates whether or not the current user was signed in for the first time.

    Declaration

    Objective-C

    @property (nonatomic, readonly, getter=isNewUser) BOOL newUser;