     }
 }
 
-// MARK: - Deprecated
-
-extension GoogleSignInInteractor {
-    fileprivate struct Auth {
-        // There are needed sensitive scopes to have ability to work properly
-        // Make sure they are presented in your app. Then send request on verification
-        static let scope1 = "https://www.googleapis.com/auth/youtube"
-        static let scope2 = "https://www.googleapis.com/auth/youtube.readonly"
-        static let scope3 = "https://www.googleapis.com/auth/youtube.force-ssl"
-        static let scopes = [scope1, scope2, scope3]
-    }
-}
-
 // MARK: - Google Sign In Handler
 
 extension GoogleSignInInteractor {

// MARK: - Check/Add the Scopes

extension GoogleSignInInteractor {

    private func sendRequestToAddNeededScopes(for user: GIDGoogleUser) {
        // guard let email = user.profile?.email else { return }
        DispatchQueue.global().async {
            GIDSignIn.sharedInstance.addScopes(Auth.scopes, presenting: self.presenter)
            // GIDSignIn.sharedInstance.loginHint = email
            self.signIn()
        }
    }
}

            } catch SignInError.userIsUndefined {
                self.rxSignInResult.onNext(.failure(.systemMessage(401, "The user has not signed in before or he has since signed out")))
            } catch SignInError.permissionsError {
                self.rxSignInResult.onNext(.failure(.message("Please add scopes to have ability to manage your YouTube videos. The app will not work properly")))
            } catch {
                fatalError("Unexpected exception")
