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

    Swift

    var providerID: String { get }

    Objective-C

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

    Declaration

    Swift

    var profile: [String : NSObject]? { get }

    Objective-C

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

    Declaration

    Swift

    var username: String? { get }

    Objective-C

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

    Declaration

    Swift

    var isNewUser: Bool { get }

    Objective-C

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