FirebaseAuth Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
FIRAuthDataResult
@interface FIRAuthDataResult : NSObject
Helper object that contains the result of a successful sign-in, link and reauthenticate
action. It contains references to a User
instance and a AdditionalUserInfo
instance.
-
This class should not be initialized manually. AuthDataResult
instance is
returned as part of AuthDataResultCallback
.
Declaration
Objective-C
- (nonnull instancetype)init;
-
Declaration
Objective-C
@property (nonatomic, readonly) FIRUser *_Nonnull user;
-
If available contains the additional IdP specific information about signed in user.
-
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-05-04 UTC.
[null,null,["Last updated 2022-05-04 UTC."],[],[],null,["FIRAuthDataResult \n\n\n @interface FIRAuthDataResult : NSObject\n\nHelper object that contains the result of a successful sign-in, link and reauthenticate\naction. It contains references to a `User` instance and a `AdditionalUserInfo` instance.\n- `\n ``\n ``\n `\n\n [-init](#/c:objc(cs)FIRAuthDataResult(im)init)`\n ` \n This class should not be initialized manually. `AuthDataResult` instance is\n returned as part of `AuthDataResultCallback`. \n\n Declaration \n Objective-C \n\n - (nonnull instancetype)init;\n\n- `\n ``\n ``\n `\n\n [user](#/c:objc(cs)FIRAuthDataResult(py)user)`\n ` \n The signed in user. \n\n Declaration \n Objective-C \n\n @property (nonatomic, readonly) ../Classes/FIRUser.html *_Nonnull user;\n\n- `\n ``\n ``\n `\n\n [additionalUserInfo](#/c:objc(cs)FIRAuthDataResult(py)additionalUserInfo)`\n ` \n If available contains the additional IdP specific information about signed in user. \n\n Declaration \n Objective-C \n\n @property (nonatomic, readonly, nullable) ../Classes/FIRAdditionalUserInfo.html *additionalUserInfo;\n\n- `\n ``\n ``\n `\n\n [credential](#/c:objc(cs)FIRAuthDataResult(py)credential)`\n ` \n This property will be non-nil after a successful headful-lite sign-in via\n `signIn(with:uiDelegate:completion:)`. May be used to obtain the accessToken and/or IDToken\n pertaining to a recently signed-in user. \n\n Declaration \n Objective-C \n\n @property (nonatomic, readonly, nullable) ../Classes/FIRAuthCredential.html *credential;"]]