AuthDataResult

class AuthDataResult : NSObject

Helper object that contains the result of a successful sign-in, link and reauthenticate action. It contains references to a FIRUser instance and a FIRAdditionalUserInfo instance.

  • This class should not be initialized manually. FIRAuthDataResult instance is returned as part of FIRAuthDataResultCallback.

  • The signed in user.

    Declaration

    Swift

    var user: FIRUser { get }
  • If available contains the additional IdP specific information about signed in user.

    Declaration

    Swift

    var additionalUserInfo: FIRAdditionalUserInfo? { get }