FirebaseAuth Framework Reference

AdditionalUserInfo

class AdditionalUserInfo : NSObject

Represents additional user data returned from an identity provider.

  • This class should not be initialized manually. AdditionalUserInfo can be retrieved from from an instance of AuthDataResult.

  • The provider identifier.

    Declaration

    Swift

    var providerID: String { get }
  • Dictionary containing the additional IdP specific information.

    Declaration

    Swift

    var profile: [String : NSObject]? { get }
  • username The name of the user.

    Declaration

    Swift

    var username: String? { get }
  • Indicates whether or not the current user was signed in for the first time.

    Declaration

    Swift

    var isNewUser: Bool { get }