FIRAdditionalUserInfo


@interface FIRAdditionalUserInfo : NSObject

Represents additional user data returned from an identity provider.

  • This class should not be initialized manually. FIRAdditionalUserInfo can be retrieved from from an instance of FIRAuthDataResult.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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