def _supports_oauth2(auth_type: AuthType) -> bool:
        """Check if the auth type supports OAuth2."""
        return auth_type in (
            AuthType.oauth2,
            AuthType.oauth2_with_refresh,
            AuthType.oauth2_with_refresh_rotating,
        )
Check if the auth type supports OAuth2.
backend/airweave/platform/auth/services.py