aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Auth/Source/RPCs/FIRVerifyCustomTokenResponse.m
diff options
context:
space:
mode:
authorGravatar Zsika Phillip <protocol86@users.noreply.github.com>2017-11-27 14:17:05 -0800
committerGravatar GitHub <noreply@github.com>2017-11-27 14:17:05 -0800
commit771b0f7a6574578bd1c7d1d3c333f26173f33e92 (patch)
tree41bf8e3f124059d5b13112be7a5dec69e7d1ccd3 /Firebase/Auth/Source/RPCs/FIRVerifyCustomTokenResponse.m
parent8c4cd9d5413e7f458001016e5faace2b610a69ce (diff)
Adds Auth Result to Sign In with Custom token (#489)
* Adds Auth Result to Sign In with Custom token * Addresses comomments
Diffstat (limited to 'Firebase/Auth/Source/RPCs/FIRVerifyCustomTokenResponse.m')
-rw-r--r--Firebase/Auth/Source/RPCs/FIRVerifyCustomTokenResponse.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Firebase/Auth/Source/RPCs/FIRVerifyCustomTokenResponse.m b/Firebase/Auth/Source/RPCs/FIRVerifyCustomTokenResponse.m
index 12dc203..8a87141 100644
--- a/Firebase/Auth/Source/RPCs/FIRVerifyCustomTokenResponse.m
+++ b/Firebase/Auth/Source/RPCs/FIRVerifyCustomTokenResponse.m
@@ -26,6 +26,7 @@
_approximateExpirationDate = [dictionary[@"expiresIn"] isKindOfClass:[NSString class]] ?
[NSDate dateWithTimeIntervalSinceNow:[dictionary[@"expiresIn"] doubleValue]] : nil;
_refreshToken = [dictionary[@"refreshToken"] copy];
+ _isNewUser = [dictionary[@"isNewUser"] boolValue];
return YES;
}