diff options
Diffstat (limited to 'Firebase/Auth/Source/FIRUser.m')
-rw-r--r-- | Firebase/Auth/Source/FIRUser.m | 11 |
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 |