FirebaseAuth Framework Reference

UserInfo

@objc(FIRUserInfo)publicprotocolUserInfo:NSObjectProtocol

Represents user data returned from an identity provider.

  • The provider identifier.

    Declaration

    Swift

    varproviderID:String{get}
  • The provider’s user ID for the user.

    Declaration

    Swift

    varuid:String{get}
  • The name of the user.

    Declaration

    Swift

    vardisplayName:String?{get}
  • The URL of the user’s profile photo.

    Declaration

    Swift

    varphotoURL:URL?{get}
  • The user’s email address.

    Declaration

    Swift

    varemail:String?{get}
  • A phone number associated with the user.

    This property is only available for users authenticated via phone number auth.

    Declaration

    Swift

    varphoneNumber:String?{get}

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 2025-03-11 UTC.