FirebaseAuth Framework Reference

FIRUserInfo

@protocol FIRUserInfo <NSObject>

Represents user data returned from an identity provider.

  • The provider identifier.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull providerID;
  • uid

    The provider’s user ID for the user.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull uid;
  • 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;