videosphere
    Preparing search index...

    Function revokeStoredGoogleAuthForUser

    • Drops locally stored Google sign-in credentials from consideration before switching the account to password auth.

      Does not call Google's revoke endpoint. VideoSphere's sign-in, YouTube, and Drive OAuth clients share one Cloud project / consent screen; revoking a sign-in token can invalidate YouTube and Drive refresh tokens for the same user. Local googleRefreshToken is removed by revertGoogleAuthToPassword. Users can remove VideoSphere from Google Account → Third-party access if they want a full remote revoke.

      Parameters

      • userId: string

        Auth user id.

      Returns Promise<void>

      Resolves when the check finishes (including no-op cases).