FirebaseAuth Framework Reference

AuthDataResult

@available(iOS13,tvOS13,macOS10.15,watchOS7,*)@objc(FIRAuthDataResult)openclassAuthDataResult:NSObject
extensionAuthDataResult:NSSecureCoding

Helper object that contains the result of a successful sign-in, link and reauthenticateaction.

It contains references to aUser instance and anAdditionalUserInfo instance.

  • The signed in user.

    Declaration

    Swift

    @objcpublicletuser:User
  • If available, contains the additional IdP specific information about signed in user.

    Declaration

    Swift

    @objcpublicletadditionalUserInfo:AdditionalUserInfo?
  • This property will be non-nil after a successful headful-lite sign-in viasignIn(with:uiDelegate:completion:).

    May be used to obtain the accessToken and/or IDTokenpertaining to a recently signed-in user.

    Declaration

    Swift

    @objcpublicletcredential:OAuthCredential?
  • Undocumented

    Declaration

    Swift

    publicstaticletsupportsSecureCoding:Bool
  • Undocumented

    Declaration

    Swift

    publicfuncencode(withcoder:NSCoder)
  • Undocumented

    Declaration

    Swift

    publicrequiredinit?(coder:NSCoder)

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.