devsite/tools/jazzy/templates

FirebaseAuth Framework Reference

AuthDataResult

@available(iOS 13, tvOS 13, macOS 10.15, watchOS 7, *)
@objc(FIRAuthDataResult)
open class AuthDataResult : NSObject
extension AuthDataResult: NSSecureCoding

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

It contains references to a User instance and an AdditionalUserInfo instance.

  • The signed in user.

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    public let additionalUserInfo: AdditionalUserInfo?
  • This property will be non-nil after a successful headful-lite sign-in via signIn(with:uiDelegate:completion:).

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

    Declaration

    Swift

    @objc
    public let credential: OAuthCredential?
  • Undocumented

    Declaration

    Swift

    public static var supportsSecureCoding: Bool
  • Undocumented

    Declaration

    Swift

    public func encode(with coder: NSCoder)
  • Undocumented

    Declaration

    Swift

    public required init?(coder: NSCoder)