aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Auth/Source/FIRUser.m
diff options
context:
space:
mode:
authorGravatar Zsika Phillip <protocol86@users.noreply.github.com>2018-04-26 06:38:54 -0700
committerGravatar Paul Beusterien <paulbeusterien@google.com>2018-04-26 06:38:54 -0700
commit2aed30333913efaa4dd6ab748c81fca12ceb829c (patch)
tree5c6516509209490ef228e8b375f5892591077dd0 /Firebase/Auth/Source/FIRUser.m
parentbd85f550931f89c82ebf77d53cbff049bfef9be8 (diff)
Removes deprecated getToken APIs (#1188)
Diffstat (limited to 'Firebase/Auth/Source/FIRUser.m')
-rw-r--r--Firebase/Auth/Source/FIRUser.m11
1 files changed, 1 insertions, 10 deletions
diff --git a/Firebase/Auth/Source/FIRUser.m b/Firebase/Auth/Source/FIRUser.m
index ea48267..04aa861 100644
--- a/Firebase/Auth/Source/FIRUser.m
+++ b/Firebase/Auth/Source/FIRUser.m
@@ -776,15 +776,11 @@ static void callInMainThreadWithAuthDataResultAndError(
}
- (void)getIDTokenWithCompletion:(nullable FIRAuthTokenCallback)completion {
- // |getTokenForcingRefresh:completion:| is also a public API so there is no need to dispatch to
+ // |getIDTokenForcingRefresh:completion:| is also a public API so there is no need to dispatch to
// global work queue here.
[self getIDTokenForcingRefresh:NO completion:completion];
}
-- (void)getTokenWithCompletion:(nullable FIRAuthTokenCallback)completion {
- [self getIDTokenWithCompletion:completion];
-}
-
- (void)getIDTokenForcingRefresh:(BOOL)forceRefresh
completion:(nullable FIRAuthTokenCallback)completion {
[self getIDTokenResultForcingRefresh:forceRefresh
@@ -898,11 +894,6 @@ static void callInMainThreadWithAuthDataResultAndError(
return result;
}
-- (void)getTokenForcingRefresh:(BOOL)forceRefresh
- completion:(nullable FIRAuthTokenCallback)completion {
- [self getIDTokenForcingRefresh:forceRefresh completion:completion];
-}
-
/** @fn internalGetTokenForcingRefresh:callback:
@brief Retrieves the Firebase authentication token, possibly refreshing it if it has expired.
@param callback The block to invoke when the token is available. Invoked asynchronously on the