UserInfo
@objc(FIRUserInfo)
public protocol UserInfo : NSObjectProtocol
Represents user data returned from an identity provider.
-
The provider identifier.
Declaration
Swift
var providerID: String { get }
-
The provider’s user ID for the user.
Declaration
Swift
var uid: String { get }
-
The name of the user.
Declaration
Swift
var displayName: String? { get }
-
The URL of the user’s profile photo.
Declaration
Swift
var photoURL: URL? { get }
-
The user’s email address.
Declaration
Swift
var email: String? { get }
-
A phone number associated with the user.
This property is only available for users authenticated via phone number auth.
Declaration
Swift
var phoneNumber: String? { get }