File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
FirebaseFacebookAuthUI/Sources Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,9 @@ - (nullable NSString *)providerID {
136
136
return FIRFacebookAuthProviderID;
137
137
}
138
138
139
+ /* * @fn accessToken:
140
+ @brief The access token provided by Facebook's login flow.
141
+ */
139
142
- (nullable NSString *)accessToken {
140
143
if (self.authUI .isEmulatorEnabled ) {
141
144
return nil ;
@@ -144,10 +147,13 @@ - (nullable NSString *)accessToken {
144
147
}
145
148
146
149
/* * @fn idToken:
147
- @brief Facebook doesn't provide User Id Token during sign in flow
150
+ @brief The ID token provided by Facebook's login flow.
148
151
*/
149
152
- (nullable NSString *)idToken {
150
- return nil ;
153
+ if (self.authUI .isEmulatorEnabled ) {
154
+ return nil ;
155
+ }
156
+ return FBSDKAuthenticationToken.currentAuthenticationToken .tokenString ;
151
157
}
152
158
153
159
- (NSString *)shortName {
You can’t perform that action at this time.
0 commit comments