docs: def revoke_oauth_credential(self):
          """Revoke the session's OAuth 2.0 credentials."""
          if self.session.token_type == auth.SERVER_TOKEN_TYPE:
              return
  
          credential = self.session.oauth2credential
          revoke_access_token(credential)