FirebaseAuth Framework Reference

FIRUserInfo

@protocolFIRUserInfo<NSObject>

Represents user data returned from an identity provider.

  • The provider identifier.

    Declaration

    Objective-C

    @property(nonatomic,copy,readonly)NSString*_NonnullproviderID;
  • The provider’s user ID for the user.

    Declaration

    Objective-C

    @property(nonatomic,copy,readonly)NSString*_Nonnulluid;
  • The name of the user.

    Declaration

    Objective-C

    @property(nonatomic,copy,readonly,nullable)NSString*displayName;
  • The URL of the user’s profile photo.

    Declaration

    Objective-C

    @property(nonatomic,copy,readonly,nullable)NSURL*photoURL;
  • The user’s email address.

    Declaration

    Objective-C

    @property(nonatomic,copy,readonly,nullable)NSString*email;
  • A phone number associated with the user.This property is only available for users authenticated via phone number auth.

    Declaration

    Objective-C

    @property(nonatomic,readonly,nullable)NSString*phoneNumber;

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 2021-02-11 UTC.