Support NSSecureCoding for auth credentials (#2242)

This commit is contained in:
Chuan Ren authored and GitHub committed 2019-01-10 16:45:38 -08:00
1 parent ab962ce244
commit a3dfe083bf
18 files changed
+182 -11

No files matched your search

+2 -2
View File
@@ -2310,11 +2310,11 @@ static NSDictionary<NSString *, NSString *> *parseURL(NSString *urlString) {
}
/** @fn getAppTokenWithForce:
@brief Gets the token from @c FIRApp , optionally a refreshed one.
@brief Gets the token from @c FIRAuth , optionally a refreshed one.
@param force Whether the refresh is forced or not.
*/
- (void)getAppTokenWithForce:(BOOL)force {
[[FIRApp defaultApp] getTokenForcingRefresh:force withCallback:[self tokenCallback]];
[[FIRAuth auth] getTokenForcingRefresh:force withCallback:[self tokenCallback]];
}
/** @fn setDisplayName